linux-stable/arch/s390/kvm
Pierre Morel f5ecfee944 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>
2022-07-20 10:57:37 +02:00
..
diag.c KVM: s390: restore old debugfs names 2021-07-27 16:59:00 -04:00
gaccess.c KVM: s390: Cleanup ipte lock access and SIIF facility checks 2022-07-20 10:57:36 +02:00
gaccess.h KVM: s390: Cleanup ipte lock access and SIIF facility checks 2022-07-20 10:57:36 +02:00
guestdbg.c KVM: s390: Add memcg accounting to KVM allocations 2020-12-10 13:36:05 +01:00
intercept.c KVM: s390: pv: don't present the ecall interrupt twice 2022-07-19 15:48:14 +02:00
interrupt.c KVM: s390: drop unexpected word 'and' in the comments 2022-07-11 11:29:51 +02:00
irq.h KVM: s390: Remove redundant license text 2017-12-06 09:18:42 +01:00
Kconfig KVM: s390: pv: add mmu_notifier 2022-07-19 12:05:57 +00:00
kvm-s390.c KVM: s390: resetting the Topology-Change-Report 2022-07-20 10:57:37 +02:00
kvm-s390.h KVM: s390: pv: Add kvm_s390_cpus_from_pv to kvm-s390.h and add documentation 2022-07-13 14:42:11 +00:00
Makefile KVM: s390: pci: add basic kvm_zdev structure 2022-07-11 09:54:27 +02:00
pci.c KVM: s390: add KVM_S390_ZPCI_OP to manage guest zPCI devices 2022-07-11 09:54:38 +02:00
pci.h KVM: s390/pci: fix include duplicates 2022-07-13 10:10:02 +02:00
priv.c KVM: s390: guest support for topology function 2022-07-20 10:57:36 +02:00
pv.c KVM: s390: pv: destroy the configuration before its memory 2022-07-19 12:06:56 +00:00
sigp.c KVM: s390: pv: don't present the ecall interrupt twice 2022-07-19 15:48:14 +02:00
trace-s390.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
trace.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vsie.c KVM: s390: guest support for topology function 2022-07-20 10:57:36 +02:00