]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: resetting the Topology-Change-Report
authorPierre Morel <pmorel@linux.ibm.com>
Thu, 14 Jul 2022 19:43:34 +0000 (21:43 +0200)
committerJanosch Frank <frankja@linux.ibm.com>
Wed, 20 Jul 2022 08:57:37 +0000 (10:57 +0200)
commitfe36107dd2fc7fc12f8d3c856c6a77132cb76b47
tree996d75fb3e60b1c3230ee472148703f87a938605
parent60ee0e28fda25ff80a9eae1ed27e443a9ad60b00
KVM: s390: resetting the Topology-Change-Report

During a subsystem reset the Topology-Change-Report is cleared.

Let's give userland the possibility to clear the MTCR in the case
of a subsystem reset.

To migrate the MTCR, we give userland the possibility to
query the MTCR state.

We indicate KVM support for the CPU topology facility with a new
KVM capability: KVM_CAP_S390_CPU_TOPOLOGY.

Signed-off-by: Pierre Morel <pmorel@linux.ibm.com>
Reviewed-by: Janis Schoetterl-Glausch <scgl@linux.ibm.com>
Reviewed-by: Janosch Frank <frankja@linux.ibm.com>
Message-Id: <20220714194334.127812-1-pmorel@linux.ibm.com>
Link: https://lore.kernel.org/all/20220714194334.127812-1-pmorel@linux.ibm.com/
[frankja@linux.ibm.com: Simple conflict resolution in Documentation/virt/kvm/api.rst]
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Documentation/virt/kvm/api.rst
arch/s390/include/uapi/asm/kvm.h
arch/s390/kvm/kvm-s390.c
include/uapi/linux/kvm.h