summaryrefslogtreecommitdiffstats
path: root/drivers/s390
diff options
context:
space:
mode:
authorThomas Huth <thuth@linux.vnet.ibm.com>2014-01-27 12:06:19 +0100
committerChristian Borntraeger <borntraeger@de.ibm.com>2014-03-04 10:41:02 +0100
commit13b191ae4afc0c29a5cd768f521ede5c72a608cb (patch)
tree9782e29f87e54962a458644cccbada51eb2b786c /drivers/s390
parentKVM: s390: Simplify online vcpus counting for stsi (diff)
downloadlinux-13b191ae4afc0c29a5cd768f521ede5c72a608cb.tar.xz
linux-13b191ae4afc0c29a5cd768f521ede5c72a608cb.zip
KVM: s390: Fixed CC of SIGP SET_PREFIX handler
When SIGP SET_PREFIX is called with an illegal CPU id, it must return the condition code 3 ("not operational") instead of 1. Also fixed the order in which the checks are done - CC3 has a higher priority than CC1. And while we're at it, this patch also get rid of the floating interrupt lock here by using kvm_get_vcpu() to get the local_int struct of the destination CPU. 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>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions