KVM: s390: vsie: support STFLE interpretation
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Thu, 26 Nov 2015 13:11:19 +0000 (14:11 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 21 Jun 2016 07:43:36 +0000 (09:43 +0200)
commit66b630d5b7f2d3afb5e8eddad3e8326091375f1a
tree2528899473291c5673bcb75baa7590b17fe3d0ac
parent4ceafa9027b0c2671ab731c7d95896a5b3c2dc0b
KVM: s390: vsie: support STFLE interpretation

Issuing STFLE is extremely rare. Instead of copying 2k on every
VSIE call, let's do this lazily, when a guest 3 tries to execute
STFLE. We can setup the block and retry.

Unfortunately, we can't directly forward that facility list, as
we only have a 31 bit address for the facility list designation.
So let's use a DMA allocation for our vsie_page instead for now.

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