linux/drivers/tty/hvc
Konrad Rzeszutek Wilk 5842f57685 xen/hvc: Check HVM_PARAM_CONSOLE_[EVTCHN|PFN] for correctness.
We need to make sure that those parameters are setup to be correct.
As such the value of 0 is deemed invalid and we find that we
bail out. The hypervisor sets by default all of them to be zero
and when the hypercall is done does a simple:

 a.value = d->arch.hvm_domain.params[a.index];

Which means that if the Xen toolstack forgot to setup the proper
HVM_PARAM_CONSOLE_EVTCHN (or the PFN one), we would get the
default value of 0 and use that.

CC: stable@kernel.org
Fixes-Oracle-Bug: 14091238
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
2012-05-24 14:23:01 -04:00
..
hvc_beat.c serial: Kill off NO_IRQ 2012-01-26 17:14:50 -08:00
hvc_bfin_jtag.c hvc: add Blackfin JTAG console support 2011-02-17 11:12:40 -08:00
hvc_console.c TTY: remove re-assignments to tty_driver members 2012-03-08 11:37:58 -08:00
hvc_console.h powerpc/pseries: Re-implement HVSI as part of hvc_vio 2011-06-29 17:48:35 +10:00
hvc_dcc.c tty: hvc_dcc: Fix duplicate character inputs 2011-11-15 12:02:13 -08:00
hvc_irq.c TTY: irq: Remove IRQF_DISABLED 2011-09-22 16:08:57 -07:00
hvc_iucv.c Fix common misspellings 2011-03-31 11:26:23 -03:00
hvc_opal.c powerpc: fix building hvc_opal.c 2011-11-06 22:21:18 -08:00
hvc_rtas.c serial: Kill off NO_IRQ 2012-01-26 17:14:50 -08:00
hvc_tile.c
hvc_udbg.c Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2012-03-21 18:55:10 -07:00
hvc_vio.c powerpc+sparc/vio: Modernize driver registration 2012-03-28 11:33:24 +11:00
hvc_xen.c xen/hvc: Check HVM_PARAM_CONSOLE_[EVTCHN|PFN] for correctness. 2012-05-24 14:23:01 -04:00
hvcs.c powerpc+sparc/vio: Modernize driver registration 2012-03-28 11:33:24 +11:00
hvsi_lib.c powerpc/powernv: Support for OPAL console 2011-09-20 16:09:54 +10:00
hvsi.c TTY: remove unneeded tty->index checks 2012-03-08 11:42:21 -08:00
Kconfig Features: 2012-03-22 20:16:14 -07:00
Makefile tty: powerpc: remove hvc_iseries 2012-03-09 10:35:17 +11:00