]> 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)
commit976b76b7f156462f8e743996c64d5063a0717b11
treea69b8cce61488d7c8cae797e95f518e0eaca5719
parent5cb30574bcd59cc277d90027a144d1f786c284f9
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