KVM: s390: add new variants of UV CALL
authorJanosch Frank <frankja@linux.ibm.com>
Thu, 21 Nov 2019 10:23:00 +0000 (05:23 -0500)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 27 Feb 2020 18:47:10 +0000 (19:47 +0100)
commit6933316fe011d5875b360ea8b7404a6612846740
tree19454c8e8373ac0f8646aadfde1ce66725691b3b
parent3e6c556899d02e04d3d65f0e12adfbe05a557832
KVM: s390: add new variants of UV CALL

This adds two new helper functions for doing UV CALLs.

The first variant handles UV CALLs that might have longer busy
conditions or just need longer when doing partial completion. We should
schedule when necessary.

The second variant handles UV CALLs that only need the handle but have
no payload (e.g. destroying a VM). We can provide a simple wrapper for
those.

Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: David Hildenbrand <david@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