]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf3763e3fb31d0ec6ef424016c1bb48b0ad790699
tree2528899473291c5673bcb75baa7590b17fe3d0ac
parent51e6c6ff382049c0c00898c4ce1708857730740e
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