]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: vsie: support transactional execution
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Wed, 25 Nov 2015 10:13:32 +0000 (11:13 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 21 Jun 2016 07:43:37 +0000 (09:43 +0200)
commitd65687f61f07bc0bb02046400f71787bd486c428
tree9cc1cce48f14d90406ac9e652aede6c6dc94ae23
parentb111664113bf3e0dd0f61930c977855e5c0afc0e
KVM: s390: vsie: support transactional execution

As soon as guest 2 is allowed to use transactional execution (indicated via
STFLE), he can also enable it for guest 3.

Active transactional execution requires also the second prefix page to be
mapped. If that page cannot be mapped, a validity icpt has to be presented
to the guest.

We have to take care of tx being toggled on/off, otherwise we might get
wrong prefix validity icpt.

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