[PULL 00/20] s390x patches

Thomas Huth posted 20 patches 2 years, 7 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
hw/s390x/css.c                                |  38 ++++-
hw/s390x/s390-pci-bus.c                       |  10 +-
hw/s390x/s390-pci-inst.c                      |   8 +-
hw/s390x/s390-skeys-kvm.c                     |   4 +-
hw/s390x/s390-skeys.c                         | 206 +++++++++++++++++---------
hw/s390x/s390-virtio-ccw.c                    |   5 +
hw/s390x/sclp.c                               |   2 +-
hw/vfio/ccw.c                                 |   4 +-
include/hw/s390x/css.h                        |   3 +-
include/hw/s390x/s390-pci-bus.h               |   5 +-
include/hw/s390x/storage-keys.h               |  65 +++++++-
target/s390x/gen-features.c                   |   8 +-
target/s390x/helper.h                         |   6 +-
target/s390x/ioinst.c                         |   2 +-
target/s390x/mmu_helper.c                     |  70 ++++++---
target/s390x/s390x-internal.h                 |   3 +
target/s390x/tcg/excp_helper.c                |  13 --
target/s390x/tcg/mem_helper.c                 |  53 +++++--
target/s390x/tcg/misc_helper.c                |  15 +-
tests/tcg/s390x/Makefile.target               |  17 ++-
tests/tcg/s390x/gdbstub/test-signals-s390x.py |  76 ++++++++++
tests/tcg/s390x/signals-s390x.c               | 165 +++++++++++++++++++++
22 files changed, 627 insertions(+), 151 deletions(-)
create mode 100644 tests/tcg/s390x/gdbstub/test-signals-s390x.py
create mode 100644 tests/tcg/s390x/signals-s390x.c
[PULL 00/20] s390x patches
Posted by Thomas Huth 2 years, 7 months ago
 Hi Peter!

The following changes since commit 935efca6c246c108253b0e4e51cc87648fc7ca10:

  Merge remote-tracking branch 'remotes/thuth-gitlab/tags/pull-request-2021-09-06' into staging (2021-09-06 12:38:07 +0100)

are available in the Git repository at:

  https://gitlab.com/thuth/qemu.git tags/s390x-pull-request-2021-09-07

for you to fetch changes up to 30e398f796d882d829162a16ab7c920f7422da3b:

  s390x/cpumodel: Add more feature to gen16 default model (2021-09-07 13:36:43 +0200)

(Cornelia is currently on vacation, so I'm doing the s390x patches this time)

----------------------------------------------------------------
* Some CSS related fixes
* Storage key related fixes
* Test SIGILL and SIGSEGV handling in usermode emulation
* Fix SETPREFIX instruction
* Replace PAGE_SIZE, PAGE_SHIFT and PAGE_MASK to fix Alpine compilation
* Add more feature to gen16 default model

----------------------------------------------------------------
Christian Borntraeger (1):
      s390x/cpumodel: Add more feature to gen16 default model

Cornelia Huck (2):
      vfio-ccw: forward halt/clear errors
      css: fix actl handling for unit exceptions

David Hildenbrand (15):
      s390x/tcg: fix and optimize SPX (SET PREFIX)
      s390x/ioinst: Fix wrong MSCH alignment check on little endian
      s390x/tcg: wrap address for RRBE
      s390x/tcg: fix ignoring bit 63 when setting the storage key in SSKE
      s390x/tcg: convert real to absolute address for RRBE, SSKE and ISKE
      s390x/tcg: check for addressing exceptions for RRBE, SSKE and ISKE
      s390x/mmu_helper: no need to pass access type to mmu_translate_asce()
      s390x/mmu_helper: fixup mmu_translate() documentation
      s390x/mmu_helper: move address validation into mmu_translate*()
      s390x/mmu_helper: avoid setting the storage key if nothing changed
      hw/s390x/s390-skeys: use memory mapping to detect which storage keys to migrate
      hw/s390x/s390-skeys: use memory mapping to detect which storage keys to dump
      hw/s390x/s390-skeys: check if an address is valid before dumping the key
      hw/s390x/s390-skeys: rename skeys_enabled to skeys_are_enabled
      hw/s390x/s390-skeys: lazy storage key enablement under TCG

Ilya Leoshkevich (1):
      tests/tcg/s390x: Test SIGILL and SIGSEGV handling

Thomas Huth (1):
      s390x: Replace PAGE_SIZE, PAGE_SHIFT and PAGE_MASK

 hw/s390x/css.c                                |  38 ++++-
 hw/s390x/s390-pci-bus.c                       |  10 +-
 hw/s390x/s390-pci-inst.c                      |   8 +-
 hw/s390x/s390-skeys-kvm.c                     |   4 +-
 hw/s390x/s390-skeys.c                         | 206 +++++++++++++++++---------
 hw/s390x/s390-virtio-ccw.c                    |   5 +
 hw/s390x/sclp.c                               |   2 +-
 hw/vfio/ccw.c                                 |   4 +-
 include/hw/s390x/css.h                        |   3 +-
 include/hw/s390x/s390-pci-bus.h               |   5 +-
 include/hw/s390x/storage-keys.h               |  65 +++++++-
 target/s390x/gen-features.c                   |   8 +-
 target/s390x/helper.h                         |   6 +-
 target/s390x/ioinst.c                         |   2 +-
 target/s390x/mmu_helper.c                     |  70 ++++++---
 target/s390x/s390x-internal.h                 |   3 +
 target/s390x/tcg/excp_helper.c                |  13 --
 target/s390x/tcg/mem_helper.c                 |  53 +++++--
 target/s390x/tcg/misc_helper.c                |  15 +-
 tests/tcg/s390x/Makefile.target               |  17 ++-
 tests/tcg/s390x/gdbstub/test-signals-s390x.py |  76 ++++++++++
 tests/tcg/s390x/signals-s390x.c               | 165 +++++++++++++++++++++
 22 files changed, 627 insertions(+), 151 deletions(-)
 create mode 100644 tests/tcg/s390x/gdbstub/test-signals-s390x.py
 create mode 100644 tests/tcg/s390x/signals-s390x.c


Re: [PULL 00/20] s390x patches
Posted by Peter Maydell 2 years, 7 months ago
On Tue, 7 Sept 2021 at 14:15, Thomas Huth <thuth@redhat.com> wrote:
>
>  Hi Peter!
>
> The following changes since commit 935efca6c246c108253b0e4e51cc87648fc7ca10:
>
>   Merge remote-tracking branch 'remotes/thuth-gitlab/tags/pull-request-2021-09-06' into staging (2021-09-06 12:38:07 +0100)
>
> are available in the Git repository at:
>
>   https://gitlab.com/thuth/qemu.git tags/s390x-pull-request-2021-09-07
>
> for you to fetch changes up to 30e398f796d882d829162a16ab7c920f7422da3b:
>
>   s390x/cpumodel: Add more feature to gen16 default model (2021-09-07 13:36:43 +0200)
>
> (Cornelia is currently on vacation, so I'm doing the s390x patches this time)
>
> ----------------------------------------------------------------
> * Some CSS related fixes
> * Storage key related fixes
> * Test SIGILL and SIGSEGV handling in usermode emulation
> * Fix SETPREFIX instruction
> * Replace PAGE_SIZE, PAGE_SHIFT and PAGE_MASK to fix Alpine compilation
> * Add more feature to gen16 default model


Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/6.2
for any user-visible changes.

-- PMM