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)
commitcc92d6dea11cd43842e20cd05c066963de586417
tree3aeef11204eb6555301f5ce6062431a982d9c4e4
parentb13d3580ee47ba3b2814e90b8a9b8241f7a4ba83
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