OSDN Git Service

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)
commitf5ecfee94493475783074e86ded10a0499d779fc
tree996d75fb3e60b1c3230ee472148703f87a938605
parent24fe0195bc19306b2769b43b3e22bd35bd6fb061
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