]> git.karo-electronics.de Git - linux-beck.git/commit
KVM: s390: Introduce switching code
authorEugene (jno) Dvurechenski <jno@linux.vnet.ibm.com>
Wed, 22 Apr 2015 16:08:39 +0000 (18:08 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 30 Nov 2015 11:47:08 +0000 (12:47 +0100)
commit5e0443152367ab9fef597a41a4e09a32df2bf887
tree143843125470e817394a2854c380baf9030c56e8
parent7d43bafcff17c7fb07270999d3cf002f1ed6bd3f
KVM: s390: Introduce switching code

This patch adds code that performs transparent switch to Extended
SCA on addition of 65th VCPU in a VM. Disposal of ESCA is added too.
The entier ESCA functionality, however, is still not enabled.
The enablement will be provided in a separate patch.

This patch also uses read/write lock protection of SCA and its subfields for
possible disposal at the BSCA-to-ESCA transition. While only Basic SCA needs such
a protection (for the swap), any SCA access is now guarded.

Signed-off-by: Eugene (jno) Dvurechenski <jno@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/include/asm/kvm_host.h
arch/s390/kvm/gaccess.c
arch/s390/kvm/interrupt.c
arch/s390/kvm/kvm-s390.c