]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: Check for PSTATE when handling DIAGNOSE
authorThomas Huth <thuth@linux.vnet.ibm.com>
Thu, 20 Jun 2013 15:22:02 +0000 (17:22 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 20 Jun 2013 21:31:59 +0000 (23:31 +0200)
commit74e7bfd11c71dc135d34029020b5701fa1e5fb47
treea2743482703df5d2a4e29b31bf74ae119328d8cf
parenta551d7dbac3a9d1330da2df36c881cd467d5ad11
KVM: s390: Check for PSTATE when handling DIAGNOSE

DIAGNOSE is a privileged instruction and thus we must make sure that we are
in supervisor mode before taking any other actions.

Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/s390/kvm/diag.c