linux/arch/s390/kvm
Thomas Huth a3fb577e48 KVM: s390: Improve is_valid_psw()
As a program status word is also invalid (and thus generates an
specification exception) if the instruction address is not even,
we should test this in is_valid_psw(), too. This patch also exports
the function so that it becomes available for other parts of the
S390 KVM code as well.

Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
2014-05-16 14:57:18 +02:00
..
diag.c KVM: s390: introduce kvm_s390_vcpu_{start,stop} 2014-04-29 15:01:54 +02:00
gaccess.c KVM: s390: Add a function for checking the low-address protection 2014-04-29 15:01:52 +02:00
gaccess.h KVM: s390: Add a function for checking the low-address protection 2014-04-29 15:01:52 +02:00
guestdbg.c KVM: s390: return -EFAULT if copy_from_user() fails 2014-05-06 14:57:59 +02:00
intercept.c KVM: s390: Fix external interrupt interception 2014-05-06 14:58:10 +02:00
interrupt.c KVM: s390: Add clock comparator and CPU timer IRQ injection 2014-05-06 14:58:05 +02:00
irq.h KVM: s390: irq routing for adapter interrupts. 2014-03-21 13:43:00 +01:00
Kconfig KVM: s390: irq routing for adapter interrupts. 2014-03-21 13:43:00 +01:00
kvm-s390.c KVM: s390: enable IBS for single running VCPUs 2014-04-29 15:01:54 +02:00
kvm-s390.h KVM: s390: Improve is_valid_psw() 2014-05-16 14:57:18 +02:00
Makefile KVM: s390: hardware support for guest debugging 2014-04-22 13:24:51 +02:00
priv.c KVM: s390: Improve is_valid_psw() 2014-05-16 14:57:18 +02:00
sigp.c KVM: s390: convert __sigp_set_prefix()/handle_set_prefix() 2014-04-22 13:24:42 +02:00
trace-s390.h KVM: s390: enable IBS for single running VCPUs 2014-04-29 15:01:54 +02:00
trace.h KVM: s390: emulate stctl and stctg 2014-04-22 13:24:50 +02:00