kernel-fxtec-pro1x/arch/s390/kvm
Christian Borntraeger 3cd612998f KVM: s390: Fix program check on interrupt delivery handling
The current interrupt handling on s390 misbehaves on an error case. On s390
each cpu has the prefix area (lowcore) for interrupt delivery. This memory
must always be available. If we fail to access the prefix area for a guest
on interrupt delivery the configuration is completely unusable. There is no
point in sending another program interrupt to an inaccessible lowcore.
Furthermore, we should not bug the host kernel, because this can be triggered
by userspace. I think the guest kernel itself can not trigger the problem, as
SET PREFIX and SIGNAL PROCESSOR SET PREFIX both check that the memory is
available and sane. As this is a userspace bug (e.g. setting the wrong guest
offset, unmapping guest memory) we should kill the userspace process instead
of BUGing the host kernel.
In the long term we probably should notify the userspace process about this
problem.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
2008-07-27 11:36:05 +03:00
..
diag.c KVM: s390: use yield instead of schedule to implement diag 0x44 2008-06-06 21:08:26 +03:00
gaccess.h KVM: s390: Change guestaddr type in gaccess 2008-07-27 11:35:57 +03:00
intercept.c [S390] s390-kvm: leave sie context on work. Removes preemption requirement 2008-05-07 09:23:01 +02:00
interrupt.c KVM: s390: Fix program check on interrupt delivery handling 2008-07-27 11:36:05 +03:00
Kconfig [S390] s390-kvm: leave sie context on work. Removes preemption requirement 2008-05-07 09:23:01 +02:00
kvm-s390.c KVM: s390: Advertise KVM_CAP_USER_MEMORY 2008-07-27 11:35:40 +03:00
kvm-s390.h KVM: s390: intercepts for diagnose instructions 2008-04-27 12:00:46 +03:00
Makefile KVM: s390: intercepts for diagnose instructions 2008-04-27 12:00:46 +03:00
priv.c KVM: s390: rename private structures 2008-07-20 12:42:37 +03:00
sie64a.S
sigp.c KVM: s390: Change guestaddr type in gaccess 2008-07-27 11:35:57 +03:00