kernel-ark/arch/s390
Dominik Dingel ff1f3cb4b3 KVM: s390: ioeventfd: ignore leftmost bits
The diagnose 500 subcode 3 contains the 32 bit subchannel id in bits 32-63
(counting from the left). As for other I/O instructions, bits 0-31 should be
ignored and thus not be passed to kvm_io_bus_write_cookie().

This fixes a bug where the guest passed non-zero bits 0-31 which the
host tried to interpret, leading to ioeventfd notification failures.

Cc: stable@vger.kernel.org
Signed-off-by: Dominik Dingel <dingel@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
2013-12-11 19:05:41 +01:00
..
appldata s390: convert use of typedef ctl_table to struct ctl_table 2013-10-28 08:36:25 +01:00
boot s390/boot: Install bzImage as default kernel image 2013-11-15 14:08:36 +01:00
configs s390: add a couple of useful defconfigs 2013-10-24 17:17:14 +02:00
crypto s390/crypto: fix aes_s390 crypto module unload problem 2013-10-24 17:17:10 +02:00
hypfs
include KVM: s390: SIGP START has to report BUSY while stopping a CPU 2013-12-11 19:05:21 +01:00
kernel Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux 2013-11-19 11:43:21 -08:00
kvm KVM: s390: ioeventfd: ignore leftmost bits 2013-12-11 19:05:41 +01:00
lib s390/uaccess: always run the kernel in home space 2013-10-24 17:16:57 +02:00
math-emu s390: fix save and restore of the floating-point-control register 2013-10-24 17:17:11 +02:00
mm s390: handle pgtable_page_ctor() fail 2013-11-15 09:32:18 +09:00
net s390/bpf,jit: fix prolog oddity 2013-10-24 17:16:59 +02:00
oprofile
pci s390/pci: implement hotplug notifications 2013-11-15 14:08:42 +01:00
defconfig Update default configuration 2013-10-24 17:17:15 +02:00
Kbuild
Kconfig kernel: remove CONFIG_USE_GENERIC_SMP_HELPERS 2013-11-15 09:32:22 +09:00
Kconfig.debug
Makefile s390: allow to set gcc -mtune flag 2013-10-31 09:54:01 +01:00