Re: [PATCH v12 0/3] s390x: KVM: CPU Topology

From: Janosch Frank
Date: Wed Jul 13 2022 - 05:03:06 EST


On 7/11/22 10:41, Pierre Morel wrote:
Hi all,

This new spin suppress the check for real cpu migration and
modify the checking of valid function code inside the interception
of the STSI instruction.

The series provides:
0- Modification of the ipte lock handling to use KVM instead of the
vcpu as an argument because ipte lock work on SCA which is uniq
per KVM structure and common to all vCPUs.
1- interception of the STSI instruction forwarding the CPU topology
2- interpretation of the PTF instruction
3- a KVM capability for the userland hypervisor to ask KVM to
setup PTF interpretation.
4- KVM ioctl to get and set the MTCR bit of the SCA in order to
migrate this bit during a migration.

Please rebase before sending the next version