s390x/cpu topology: resetting the Topology-Change-Report
commit3d6e75f4df67980479cc0912b842202f2093aeeb
authorPierre Morel <pmorel@linux.ibm.com>
Mon, 16 Oct 2023 18:39:10 +0000 (16 20:39 +0200)
committerThomas Huth <thuth@redhat.com>
Fri, 20 Oct 2023 05:16:53 +0000 (20 07:16 +0200)
tree449e0493a89d50da6c18bd0676da5be4ba8a2659
parenta67f05b39106bf3477475297d8508bcb7d8eb0d8
s390x/cpu topology: resetting the Topology-Change-Report

During a subsystem reset the Topology-Change-Report is cleared
by the machine.
Let's ask KVM to clear the Modified Topology Change Report (MTCR)
bit of the SCA in the case of a subsystem reset.

Signed-off-by: Pierre Morel <pmorel@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com>
Co-developed-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com>
Signed-off-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com>
Message-ID: <20231016183925.2384704-7-nsg@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
hw/s390x/cpu-topology.c
hw/s390x/s390-virtio-ccw.c
include/hw/s390x/cpu-topology.h
target/s390x/cpu-sysemu.c
target/s390x/cpu.h
target/s390x/kvm/kvm.c
target/s390x/kvm/kvm_s390x.h