]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: Reworked SIGP RESTART order
authorThomas Huth <thuth@linux.vnet.ibm.com>
Wed, 27 Nov 2013 10:47:10 +0000 (11:47 +0100)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Wed, 11 Dec 2013 18:04:58 +0000 (19:04 +0100)
commite9c589e2632f156c558fe2fe0d8984550248c68a
tree3aeef11204eb6555301f5ce6062431a982d9c4e4
parent732c7c842bdbb5c3140d241e44687b09014a87b9
KVM: s390: Reworked SIGP RESTART order

When SIGP RESTART detected an illegal CPU address, there is no need to
drop to userspace, we can return CC3 to the guest directly instead.
Also renamed __sigp_restart() to sigp_check_callable() (since this
is a better description of what the function is really doing) and
moved a string specific to RESTART to the calling place instead, so
that this function gets usable by other SIGP orders, too.

Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
arch/s390/kvm/sigp.c