qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v21 06/20] s390x/cpu topology: interception of PTF instructio


From: Thomas Huth
Subject: Re: [PATCH v21 06/20] s390x/cpu topology: interception of PTF instruction
Date: Tue, 4 Jul 2023 14:16:13 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0

On 30/06/2023 11.17, Pierre Morel wrote:
When the host supports the CPU topology facility, the PTF
instruction with function code 2 is interpreted by the SIE,
provided that the userland hypervisor activates the interpretation
by using the KVM_CAP_S390_CPU_TOPOLOGY KVM extension.

The PTF instructions with function code 0 and 1 are intercepted
and must be emulated by the userland hypervisor.

During RESET all CPU of the configuration are placed in
horizontal polarity.

Signed-off-by: Pierre Morel <pmorel@linux.ibm.com>
Reviewed-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com>
---
  include/hw/s390x/s390-virtio-ccw.h |  6 ++++
  hw/s390x/cpu-topology.c            | 54 ++++++++++++++++++++++++++++++
  target/s390x/kvm/kvm.c             | 11 ++++++
  3 files changed, 71 insertions(+)


Reviewed-by: Thomas Huth <thuth@redhat.com>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]