[PULL 00/16] s390x fixes

Thomas Huth posted 16 patches 9 months, 1 week ago
Failed in applying to current master (apply log)
Maintainers: Song Gao <gaosong@loongson.cn>, Xiaojuan Yang <yangxiaojuan@loongson.cn>, Richard Henderson <richard.henderson@linaro.org>, David Hildenbrand <david@redhat.com>, Ilya Leoshkevich <iii@linux.ibm.com>, Thomas Huth <thuth@redhat.com>, Halil Pasic <pasic@linux.ibm.com>, Christian Borntraeger <borntraeger@linux.ibm.com>, Eric Farman <farman@linux.ibm.com>, Cleber Rosa <crosa@redhat.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Wainer dos Santos Moschetta <wainersm@redhat.com>, Beraldo Leal <bleal@redhat.com>
target/loongarch/cpu.h                             |  1 +
target/loongarch/helper.h                          |  1 +
tests/tcg/s390x/vx.h                               |  2 +
target/s390x/tcg/insn-data.h.inc                   |  2 +-
target/loongarch/csr_helper.c                      |  9 ++++
target/s390x/tcg/excp_helper.c                     |  2 +-
target/s390x/tcg/fpu_helper.c                      |  3 +-
target/s390x/tcg/mem_helper.c                      |  5 ++
target/s390x/tcg/translate.c                       | 16 ++++++-
tests/tcg/s390x/cgebra.c                           | 32 +++++++++++++
tests/tcg/s390x/clgebr.c                           | 32 +++++++++++++
tests/tcg/s390x/vcksm.c                            | 31 ++++++++++++
target/loongarch/insn_trans/trans_privileged.c.inc |  8 +---
target/s390x/tcg/translate_vx.c.inc                |  2 +-
tests/avocado/machine_s390_ccw_virtio.py           | 51 ++++++++++----------
tests/avocado/migration.py                         | 18 -------
tests/tcg/s390x/Makefile.softmmu-target            |  5 ++
tests/tcg/s390x/Makefile.target                    |  6 +++
tests/tcg/s390x/cksm.S                             | 29 +++++++++++
tests/tcg/s390x/clm.S                              | 29 +++++++++++
tests/tcg/s390x/icm.S                              | 32 +++++++++++++
tests/tcg/s390x/mc.S                               | 56 ++++++++++++++++++++++
tests/tcg/s390x/stpq.S                             | 20 ++++++++
23 files changed, 337 insertions(+), 55 deletions(-)
create mode 100644 tests/tcg/s390x/cgebra.c
create mode 100644 tests/tcg/s390x/clgebr.c
create mode 100644 tests/tcg/s390x/vcksm.c
create mode 100644 tests/tcg/s390x/cksm.S
create mode 100644 tests/tcg/s390x/clm.S
create mode 100644 tests/tcg/s390x/icm.S
create mode 100644 tests/tcg/s390x/mc.S
create mode 100644 tests/tcg/s390x/stpq.S
[PULL 00/16] s390x fixes
Posted by Thomas Huth 9 months, 1 week ago
The following changes since commit 885fc169f09f5915ce037263d20a59eb226d473d:

  Merge tag 'pull-riscv-to-apply-20230723-3' of https://github.com/alistair23/qemu into staging (2023-07-24 11:34:35 +0100)

are available in the Git repository at:

  https://gitlab.com/thuth/qemu.git tags/pull-request-2023-07-24

for you to fetch changes up to bd39b7b5f34c2f6b9272bf281ee0324cb07fc3ee:

  tests/avocado/machine_s390_ccw_virtio: Skip the flaky virtio-gpu test by default (2023-07-24 18:44:48 +0200)

----------------------------------------------------------------
* Fix emulation of s390x instructions: CKSM, CLM, ICM, MC, CLGEBR(A)
* Remove useless and non-working s390x migration avocado tests
* Fix loongarch CSRRD CPUID instruction when running on s390x hosts
* Disable flaky s390x virtio-gpu test by default

----------------------------------------------------------------
Ilya Leoshkevich (13):
      target/s390x: Make CKSM raise an exception if R2 is odd
      target/s390x: Fix CLM with M3=0
      target/s390x: Fix CONVERT TO LOGICAL/FIXED with out-of-range inputs
      target/s390x: Fix ICM with M3=0
      target/s390x: Make MC raise specification exception when class >= 16
      target/s390x: Fix assertion failure in VFMIN/VFMAX with type 13
      tests/tcg/s390x: Test CKSM
      tests/tcg/s390x: Test CLGEBR and CGEBRA
      tests/tcg/s390x: Test CLM
      tests/tcg/s390x: Test ICM
      tests/tcg/s390x: Test MC
      tests/tcg/s390x: Test STPQ
      tests/tcg/s390x: Test VCKSM

Thomas Huth (3):
      tests/avocado/migration: Remove the malfunctioning s390x tests
      target/loongarch: Fix the CSRRD CPUID instruction on big endian hosts
      tests/avocado/machine_s390_ccw_virtio: Skip the flaky virtio-gpu test by default

 target/loongarch/cpu.h                             |  1 +
 target/loongarch/helper.h                          |  1 +
 tests/tcg/s390x/vx.h                               |  2 +
 target/s390x/tcg/insn-data.h.inc                   |  2 +-
 target/loongarch/csr_helper.c                      |  9 ++++
 target/s390x/tcg/excp_helper.c                     |  2 +-
 target/s390x/tcg/fpu_helper.c                      |  3 +-
 target/s390x/tcg/mem_helper.c                      |  5 ++
 target/s390x/tcg/translate.c                       | 16 ++++++-
 tests/tcg/s390x/cgebra.c                           | 32 +++++++++++++
 tests/tcg/s390x/clgebr.c                           | 32 +++++++++++++
 tests/tcg/s390x/vcksm.c                            | 31 ++++++++++++
 target/loongarch/insn_trans/trans_privileged.c.inc |  8 +---
 target/s390x/tcg/translate_vx.c.inc                |  2 +-
 tests/avocado/machine_s390_ccw_virtio.py           | 51 ++++++++++----------
 tests/avocado/migration.py                         | 18 -------
 tests/tcg/s390x/Makefile.softmmu-target            |  5 ++
 tests/tcg/s390x/Makefile.target                    |  6 +++
 tests/tcg/s390x/cksm.S                             | 29 +++++++++++
 tests/tcg/s390x/clm.S                              | 29 +++++++++++
 tests/tcg/s390x/icm.S                              | 32 +++++++++++++
 tests/tcg/s390x/mc.S                               | 56 ++++++++++++++++++++++
 tests/tcg/s390x/stpq.S                             | 20 ++++++++
 23 files changed, 337 insertions(+), 55 deletions(-)
 create mode 100644 tests/tcg/s390x/cgebra.c
 create mode 100644 tests/tcg/s390x/clgebr.c
 create mode 100644 tests/tcg/s390x/vcksm.c
 create mode 100644 tests/tcg/s390x/cksm.S
 create mode 100644 tests/tcg/s390x/clm.S
 create mode 100644 tests/tcg/s390x/icm.S
 create mode 100644 tests/tcg/s390x/mc.S
 create mode 100644 tests/tcg/s390x/stpq.S
Re: [PULL 00/16] s390x fixes
Posted by Peter Maydell 9 months, 1 week ago
On Mon, 24 Jul 2023 at 17:53, Thomas Huth <thuth@redhat.com> wrote:
>
> The following changes since commit
885fc169f09f5915ce037263d20a59eb226d473d:
>
>   Merge tag 'pull-riscv-to-apply-20230723-3' of
https://github.com/alistair23/qemu into staging (2023-07-24 11:34:35 +0100)
>
> are available in the Git repository at:
>
>   https://gitlab.com/thuth/qemu.git tags/pull-request-2023-07-24
>
> for you to fetch changes up to bd39b7b5f34c2f6b9272bf281ee0324cb07fc3ee:
>
>   tests/avocado/machine_s390_ccw_virtio: Skip the flaky virtio-gpu test
by default (2023-07-24 18:44:48 +0200)
>
> ----------------------------------------------------------------
> * Fix emulation of s390x instructions: CKSM, CLM, ICM, MC, CLGEBR(A)
> * Remove useless and non-working s390x migration avocado tests
> * Fix loongarch CSRRD CPUID instruction when running on s390x hosts
> * Disable flaky s390x virtio-gpu test by default
>


Applied, thanks.

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

-- PMM