]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: Multiple Epoch Facility support
authorCollin L. Walling <walling@linux.vnet.ibm.com>
Tue, 26 Jul 2016 19:29:44 +0000 (15:29 -0400)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 29 Aug 2017 13:15:54 +0000 (15:15 +0200)
commit81274e7131c3b39d258f6a6473d603c3c67a39a8
tree3930f3b5b7b71e39dd8117c87704392b7badc840
parent133395e34597f196474166458a3311b7fa6e0fae
KVM: s390: Multiple Epoch Facility support

Allow for the enablement of MEF and the support for the extended
epoch in SIE and VSIE for the extended guest TOD-Clock.

A new interface is used for getting/setting a guest's extended TOD-Clock
that uses a single ioctl invocation, KVM_S390_VM_TOD_EXT.  Since the
host time is a moving target that might see an epoch switch or STP sync
checks we need an atomic ioctl and cannot use the exisiting two
interfaces. The old method of getting and setting the guest TOD-Clock is
still retained and is used when the old ioctls are called.

Signed-off-by: Collin L. Walling <walling@linux.vnet.ibm.com>
Reviewed-by: Janosch Frank <frankja@linux.vnet.ibm.com>
Reviewed-by: Claudio Imbrenda <imbrenda@linux.vnet.ibm.com>
Reviewed-by: Jason J. Herne <jjherne@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Documentation/virtual/kvm/devices/vm.txt
arch/s390/include/asm/kvm_host.h
arch/s390/include/uapi/asm/kvm.h
arch/s390/kvm/kvm-s390.c
arch/s390/kvm/kvm-s390.h
arch/s390/kvm/vsie.c
arch/s390/tools/gen_facilities.c