qemu-e2k/target-s390x
Christian Borntraeger 393ad2a4a1 s390x/kvm: Fixup interrupt type for non-adapter I/O interrupts
The current algorithm for I/O interrupts would result in a wrong
interrupt type for subchannel numbers fffe and ffff. In addition
a non adapter interrupt might look like an adapter interrupt for
any subchannel number that has the 0x0400 bit set.

No kernel has ever used the type outside logging - and the logging
was wrong all the time. For everything else the kernel used the
interrupt parameters.

Let's use the KVM_S390_INT_IO macro as for adapter interrupts.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
2016-06-14 14:00:05 +02:00
..
arch_dump.c
cc_helper.c
cpu-qom.h
cpu.c
cpu.h
fpu_helper.c
gdbstub.c
helper.c
helper.h
insn-data.def
insn-format.def
int_helper.c
interrupt.c
ioinst.c
kvm.c s390x/kvm: Fixup interrupt type for non-adapter I/O interrupts 2016-06-14 14:00:05 +02:00
machine.c
Makefile.objs
mem_helper.c
misc_helper.c
mmu_helper.c
translate.c