]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: force bp isolation for VSIE
authorChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 13 Feb 2018 13:55:49 +0000 (13:55 +0000)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 14 Feb 2018 12:00:59 +0000 (12:00 +0000)
commit04ca5c9a089e80e9eca5a47cae4fbd81ab6bc487
treea69b8cce61488d7c8cae797e95f518e0eaca5719
parentbdfdab20a366991506920d06d821e7aacb2e37ac
KVM: s390: force bp isolation for VSIE

If the guest runs with bp isolation when doing a SIE instruction,
we must also run the nested guest with bp isolation when emulating
that SIE instruction.
This is done by activating BPBC in the lpar, which acts as an override
for lower level guests.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Janosch Frank <frankja@linux.vnet.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/vsie.c