kernel-ark/arch/s390/kvm
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
..
diag.c KVM: s390: ioeventfd: ignore leftmost bits 2013-12-11 19:05:41 +01:00
gaccess.h KVM: s390: Helper for converting real addresses to absolute 2013-09-24 19:12:20 +02:00
intercept.c KVM: s390: Remove dead "rerun vcpu" code 2013-09-24 19:12:17 +02:00
interrupt.c Here are the 3.13 KVM changes. There was a lot of work on the PPC 2013-11-15 13:51:36 +09:00
Kconfig KVM: s390: Wire up ioeventfd. 2013-03-05 19:12:17 -03:00
kvm-s390.c KVM: s390: Fix clock comparator field for STORE STATUS 2013-11-28 11:08:14 +01:00
kvm-s390.h KVM: s390: Removed kvm_s390_inject_sigp_stop() 2013-11-28 11:08:17 +01:00
Makefile KVM: get rid of $(addprefix ../../../virt/kvm/, ...) in Makefiles 2013-05-19 15:14:00 +03:00
priv.c KVM: s390: Do not set CC3 for EQBS and SQBS 2013-11-28 11:08:12 +01:00
sigp.c KVM: s390: SIGP START has to report BUSY while stopping a CPU 2013-12-11 19:05:21 +01:00
trace-s390.h KVM: s390: Add support for channel I/O instructions. 2013-01-07 19:53:43 -02:00
trace.h KVM: s390: Add SIGP store-status-at-address order 2013-11-28 11:08:16 +01:00