[PULL 00/25] s390x patches

Thomas Huth posted 25 patches 1 year, 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20231018130716.286638-1-thuth@redhat.com
Maintainers: Nina Schoetterl-Glausch <nsg@linux.ibm.com>, Thomas Huth <thuth@redhat.com>, Eduardo Habkost <eduardo@habkost.net>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Yanan Wang <wangyanan55@huawei.com>, Paolo Bonzini <pbonzini@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, David Hildenbrand <david@redhat.com>, Ilya Leoshkevich <iii@linux.ibm.com>, Halil Pasic <pasic@linux.ibm.com>, Christian Borntraeger <borntraeger@linux.ibm.com>, Eric Farman <farman@linux.ibm.com>, Eric Blake <eblake@redhat.com>, Markus Armbruster <armbru@redhat.com>, Michael Roth <michael.roth@amd.com>, Cleber Rosa <crosa@redhat.com>, Wainer dos Santos Moschetta <wainersm@redhat.com>, Beraldo Leal <bleal@redhat.com>, Juan Quintela <quintela@redhat.com>, Peter Xu <peterx@redhat.com>, Fabiano Rosas <farosas@suse.de>, Leonardo Bras <leobras@redhat.com>, Laurent Vivier <lvivier@redhat.com>
There is a newer version of this series
MAINTAINERS                         |  11 +
docs/devel/index-internals.rst      |   1 +
docs/devel/s390-cpu-topology.rst    | 170 +++++++++++++
docs/system/s390x/cpu-topology.rst  | 244 +++++++++++++++++++
docs/system/target-s390x.rst        |   1 +
qapi/machine-common.json            |  21 ++
qapi/machine-target.json            | 121 ++++++++++
qapi/machine.json                   |  85 +++++--
qapi/qapi-schema.json               |   1 +
include/hw/boards.h                 |  10 +-
include/hw/qdev-properties-system.h |   4 +
include/hw/s390x/cpu-topology.h     |  78 ++++++
include/hw/s390x/s390-virtio-ccw.h  |   6 +
include/hw/s390x/sclp.h             |   4 +-
target/s390x/cpu.h                  |  82 +++++++
target/s390x/kvm/kvm_s390x.h        |   1 +
hw/core/machine-hmp-cmds.c          |   6 +
hw/core/machine-smp.c               |  48 +++-
hw/core/machine.c                   |   4 +
hw/core/qdev-properties-system.c    |  13 +
hw/s390x/cpu-topology.c             | 469 ++++++++++++++++++++++++++++++++++++
hw/s390x/s390-virtio-ccw.c          |  29 ++-
hw/s390x/sclp.c                     |   5 +
hw/s390x/sclpquiesce.c              |   8 +-
system/vl.c                         |   6 +
target/s390x/cpu-sysemu.c           |  13 +
target/s390x/cpu.c                  |  16 ++
target/s390x/cpu_models.c           |   1 +
target/s390x/kvm/kvm.c              | 166 ++++++-------
target/s390x/kvm/stsi-topology.c    | 334 +++++++++++++++++++++++++
tests/qtest/migration-test.c        |   4 +-
hw/s390x/meson.build                |   1 +
qapi/meson.build                    |   1 +
qemu-options.hx                     |   7 +-
target/s390x/kvm/meson.build        |   3 +-
tests/avocado/s390_topology.py      | 439 +++++++++++++++++++++++++++++++++
36 files changed, 2284 insertions(+), 129 deletions(-)
create mode 100644 docs/devel/s390-cpu-topology.rst
create mode 100644 docs/system/s390x/cpu-topology.rst
create mode 100644 qapi/machine-common.json
create mode 100644 include/hw/s390x/cpu-topology.h
create mode 100644 hw/s390x/cpu-topology.c
create mode 100644 target/s390x/kvm/stsi-topology.c
create mode 100644 tests/avocado/s390_topology.py
[PULL 00/25] s390x patches
Posted by Thomas Huth 1 year, 1 month ago
 Hi Stefan!

The following changes since commit ec6f9f135d5e5596ab0258da2ddd048f1fd8c359:

  Merge tag 'migration-20231017-pull-request' of https://gitlab.com/juan.quintela/qemu into staging (2023-10-17 10:06:21 -0400)

are available in the Git repository at:

  https://gitlab.com/thuth/qemu.git tags/pull-request-2023-10-18

for you to fetch changes up to 1a1bd94d4274d30fad9e0faf19591a4336f5c22a:

  tests/qtest/migration-test: Disable the analyze-migration.py test on s390x (2023-10-18 14:59:48 +0200)

----------------------------------------------------------------
* s390x CPU topology support
* Clean up global variable shadowing in s390x code
* Simplify the KVM register synchronization code
* Disable the analyze-migration.py test on s390x

----------------------------------------------------------------
Nina Schoetterl-Glausch (1):
      qapi: machine.json: change docs regarding CPU topology

Philippe Mathieu-Daudé (1):
      hw/s390x: Clean up global variable shadowing in quiesce_powerdown_req()

Pierre Morel (20):
      CPU topology: extend with s390 specifics
      s390x/cpu topology: add topology entries on CPU hotplug
      target/s390x/cpu topology: handle STSI(15) and build the SYSIB
      s390x/sclp: reporting the maximum nested topology entries
      s390x/cpu topology: resetting the Topology-Change-Report
      s390x/cpu topology: interception of PTF instruction
      target/s390x/cpu topology: activate CPU topology
      qapi/s390x/cpu topology: set-cpu-topology qmp command
      machine: adding s390 topology to query-cpu-fast
      machine: adding s390 topology to info hotpluggable-cpus
      qapi/s390x/cpu topology: CPU_POLARIZATION_CHANGE QAPI event
      qapi/s390x/cpu topology: add query-s390x-cpu-polarization command
      docs/s390x/cpu topology: document s390x cpu topology
      tests/avocado: s390x cpu topology core
      tests/avocado: s390x cpu topology polarization
      tests/avocado: s390x cpu topology entitlement tests
      tests/avocado: s390x cpu topology test dedicated CPU
      tests/avocado: s390x cpu topology test socket full
      tests/avocado: s390x cpu topology dedicated errors
      tests/avocado: s390x cpu topology bad move

Thomas Huth (3):
      target/s390x/kvm: Turn KVM_CAP_SYNC_REGS into a hard requirement
      target/s390x/kvm: Simplify the GPRs, ACRs, CRs and prefix synchronization code
      tests/qtest/migration-test: Disable the analyze-migration.py test on s390x

 MAINTAINERS                         |  11 +
 docs/devel/index-internals.rst      |   1 +
 docs/devel/s390-cpu-topology.rst    | 170 +++++++++++++
 docs/system/s390x/cpu-topology.rst  | 244 +++++++++++++++++++
 docs/system/target-s390x.rst        |   1 +
 qapi/machine-common.json            |  21 ++
 qapi/machine-target.json            | 121 ++++++++++
 qapi/machine.json                   |  85 +++++--
 qapi/qapi-schema.json               |   1 +
 include/hw/boards.h                 |  10 +-
 include/hw/qdev-properties-system.h |   4 +
 include/hw/s390x/cpu-topology.h     |  78 ++++++
 include/hw/s390x/s390-virtio-ccw.h  |   6 +
 include/hw/s390x/sclp.h             |   4 +-
 target/s390x/cpu.h                  |  82 +++++++
 target/s390x/kvm/kvm_s390x.h        |   1 +
 hw/core/machine-hmp-cmds.c          |   6 +
 hw/core/machine-smp.c               |  48 +++-
 hw/core/machine.c                   |   4 +
 hw/core/qdev-properties-system.c    |  13 +
 hw/s390x/cpu-topology.c             | 469 ++++++++++++++++++++++++++++++++++++
 hw/s390x/s390-virtio-ccw.c          |  29 ++-
 hw/s390x/sclp.c                     |   5 +
 hw/s390x/sclpquiesce.c              |   8 +-
 system/vl.c                         |   6 +
 target/s390x/cpu-sysemu.c           |  13 +
 target/s390x/cpu.c                  |  16 ++
 target/s390x/cpu_models.c           |   1 +
 target/s390x/kvm/kvm.c              | 166 ++++++-------
 target/s390x/kvm/stsi-topology.c    | 334 +++++++++++++++++++++++++
 tests/qtest/migration-test.c        |   4 +-
 hw/s390x/meson.build                |   1 +
 qapi/meson.build                    |   1 +
 qemu-options.hx                     |   7 +-
 target/s390x/kvm/meson.build        |   3 +-
 tests/avocado/s390_topology.py      | 439 +++++++++++++++++++++++++++++++++
 36 files changed, 2284 insertions(+), 129 deletions(-)
 create mode 100644 docs/devel/s390-cpu-topology.rst
 create mode 100644 docs/system/s390x/cpu-topology.rst
 create mode 100644 qapi/machine-common.json
 create mode 100644 include/hw/s390x/cpu-topology.h
 create mode 100644 hw/s390x/cpu-topology.c
 create mode 100644 target/s390x/kvm/stsi-topology.c
 create mode 100644 tests/avocado/s390_topology.py