KVM: s390: protvirt: UV calls in support of diag308 0, 1
authorJanosch Frank <frankja@linux.ibm.com>
Thu, 9 May 2019 11:07:21 +0000 (13:07 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 27 Feb 2020 18:47:12 +0000 (19:47 +0100)
commite0d2773d487c2a41c99d9e256d51cc0a859aa9ab
treee1545dbd59ebc480b19668bd934461091823f1af
parentea5c68c39023b76b2dc88043ff76c60f44d4e296
KVM: s390: protvirt: UV calls in support of diag308 0, 1

diag 308 subcode 0 and 1 require several KVM and Ultravisor interactions.
Specific to these "soft" reboots are

* The "unshare all" UVC
* The "prepare for reset" UVC

Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Acked-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
[borntraeger@de.ibm.com: patch merging, splitting, fixing]
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/include/asm/uv.h
arch/s390/kvm/kvm-s390.c
include/uapi/linux/kvm.h