KVM: s390: vsie: speed up VCPU external calls
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Tue, 7 Jul 2015 18:39:35 +0000 (20:39 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 21 Jun 2016 07:43:46 +0000 (09:43 +0200)
commitb917ae573f5b3f7fee8cfb0d42d74bd8641f6401
treef582eb7dc28567929d6a54185a53fac1036341bf
parent94a15de8fb2667791d66c49610676ea2add90034
KVM: s390: vsie: speed up VCPU external calls

Whenever a SIGP external call is injected via the SIGP external call
interpretation facility, the VCPU is not kicked. When a VCPU is currently
in the VSIE, the external call might not be processed immediately.

Therefore we have to provoke partial execution exceptions, which leads to a
kick of the VCPU and therefore also kick out of VSIE. This is done by
simulating the WAIT state. This bit has no other side effects.

Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/vsie.c