[PATCH v7 0/4] s390x: Add partial z15 support and tests

David Miller posted 4 patches 2 years, 2 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220223223117.66660-1-dmiller423@gmail.com
Test checkpatch failed
Maintainers: Christian Borntraeger <borntraeger@linux.ibm.com>, Cornelia Huck <cohuck@redhat.com>, Halil Pasic <pasic@linux.ibm.com>, Thomas Huth <thuth@redhat.com>, David Hildenbrand <david@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, Eric Farman <farman@linux.ibm.com>
hw/s390x/s390-virtio-ccw.c      |  3 ++
target/s390x/cpu_models.c       |  6 ++--
target/s390x/gen-features.c     |  6 +++-
target/s390x/helper.h           |  1 +
target/s390x/tcg/insn-data.def  | 30 +++++++++++++++--
target/s390x/tcg/mem_helper.c   | 20 +++++++++++
target/s390x/tcg/translate.c    | 60 +++++++++++++++++++++++++++++++--
tests/tcg/s390x/Makefile.target |  5 ++-
tests/tcg/s390x/mie3-compl.c    | 56 ++++++++++++++++++++++++++++++
tests/tcg/s390x/mie3-mvcrl.c    | 31 +++++++++++++++++
tests/tcg/s390x/mie3-sel.c      | 42 +++++++++++++++++++++++
11 files changed, 250 insertions(+), 10 deletions(-)
create mode 100644 tests/tcg/s390x/mie3-compl.c
create mode 100644 tests/tcg/s390x/mie3-mvcrl.c
create mode 100644 tests/tcg/s390x/mie3-sel.c
[PATCH v7 0/4] s390x: Add partial z15 support and tests
Posted by David Miller 2 years, 2 months ago
Add partial support for s390x z15 ga1 and specific tests for mie3 


v6 -> v7:
* Modified SELFHR insn-data + test to ensure high 32bits are copied.
* Changed m3 mask test value for popcnt to fix mie3 variant.

v5 -> v6:
* Swap operands for sel* instructions
* Use .insn in tests for z15 arch instructions

v4 -> v5:
* Readd missing tests/tcg/s390x/mie3-*.c to patch

v3 -> v4:
* Change popcnt encoding RRE -> RRF_c
* Remove redundant code op_sel -> op_loc
* Cleanup for checkpatch.pl
* Readded mie3-* to Makefile.target

v2 -> v3:
* Moved tests to separate patch.
* Combined patches into series.

David Miller (4):
  s390x/tcg: Implement Miscellaneous-Instruction-Extensions Facility 3
    for the s390x
   * Reviewed-by: David Hildenbrand <david@redhat.com>
  s390x/cpumodel: Bump up QEMU model to a stripped-down IBM z15 GA1
   * Reviewed-by: David Hildenbrand <david@redhat.com>
  tests/tcg/s390x: Tests for Miscellaneous-Instruction-Extensions
    Facility 3
  tests/tcg/s390x: changed to using .insn for tests requiring z15
   * Reviewed-by: Thomas Huth <thuth@redhat.com>

 hw/s390x/s390-virtio-ccw.c      |  3 ++
 target/s390x/cpu_models.c       |  6 ++--
 target/s390x/gen-features.c     |  6 +++-
 target/s390x/helper.h           |  1 +
 target/s390x/tcg/insn-data.def  | 30 +++++++++++++++--
 target/s390x/tcg/mem_helper.c   | 20 +++++++++++
 target/s390x/tcg/translate.c    | 60 +++++++++++++++++++++++++++++++--
 tests/tcg/s390x/Makefile.target |  5 ++-
 tests/tcg/s390x/mie3-compl.c    | 56 ++++++++++++++++++++++++++++++
 tests/tcg/s390x/mie3-mvcrl.c    | 31 +++++++++++++++++
 tests/tcg/s390x/mie3-sel.c      | 42 +++++++++++++++++++++++
 11 files changed, 250 insertions(+), 10 deletions(-)
 create mode 100644 tests/tcg/s390x/mie3-compl.c
 create mode 100644 tests/tcg/s390x/mie3-mvcrl.c
 create mode 100644 tests/tcg/s390x/mie3-sel.c

-- 
2.32.0