Re: [PATCH v21 03/20] target/s390x/cpu topology: handle STSI(15) and build the SYSIB

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

 




On 7/25/23 17:41, Nina Schoetterl-Glausch wrote:
On Fri, 2023-06-30 at 11:17 +0200, Pierre Morel wrote:
On interception of STSI(15.1.x) the System Information Block
(SYSIB) is built from the list of pre-ordered topology entries.

Signed-off-by: Pierre Morel <pmorel@xxxxxxxxxxxxx>
---
  MAINTAINERS                      |   1 +
  qapi/machine-target.json         |  14 ++
  include/hw/s390x/cpu-topology.h  |  25 +++
  include/hw/s390x/sclp.h          |   1 +
  target/s390x/cpu.h               |  76 ++++++++
  hw/s390x/cpu-topology.c          |   4 +-
  target/s390x/kvm/kvm.c           |   5 +-
  target/s390x/kvm/stsi-topology.c | 310 +++++++++++++++++++++++++++++++
  target/s390x/kvm/meson.build     |   3 +-
  9 files changed, 436 insertions(+), 3 deletions(-)
  create mode 100644 target/s390x/kvm/stsi-topology.c
[...]

  typedef struct S390Topology {
      uint8_t *cores_per_socket;
+    bool polarization;
You don't use this as a bool and since it's no longer called
vertical_polarization, it's not longer entirely clear what the value
means so I think this should be a CpuS390Polarization.
That also makes the assignment in patch 12 clearer since it assigns the
same type.

[...]


right, I make the change

Thanks

Pierre





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux