KVM: s390: protvirt: Support cmd 5 operation state
authorJanosch Frank <frankja@linux.ibm.com>
Mon, 2 Sep 2019 06:34:44 +0000 (08:34 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 27 Feb 2020 18:47:12 +0000 (19:47 +0100)
commit7c36a3fcf444ced8efc3da106cc7215227d60fde
tree226ae754b66032ac211beee8f4d6dfec8864caac
parentfe28c7868f68b82e4517efb1dc3c22e2297df340
KVM: s390: protvirt: Support cmd 5 operation state

Code 5 for the set cpu state UV call tells the UV to load a PSW from
the SE header (first IPL) or from guest location 0x0 (diag 308 subcode
0/1). Also it sets the cpu into operating state afterwards, so we can
start it.

Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-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