[PATCH-for-11.2 v2 00/12] Hexagon: fix systests + migration

Brian Cain posted 12 patches 2 days, 9 hours ago
docs/system/hexagon/machines.rst            |   3 +
target/hexagon/gen_tcg.h                    |  18 +-
target/hexagon/helper.h                     |   4 +-
target/hexagon/translate.h                  |   6 +-
hw/hexagon/hex-subsys.c                     |  10 +-
hw/hexagon/hexagon_globalreg.c              |   4 +-
hw/hexagon/virt.c                           |  37 +++
target/hexagon/arch.c                       |   9 +-
target/hexagon/cpu_helper.c                 |   1 +
target/hexagon/genptr.c                     |   3 +-
target/hexagon/hexswi.c                     |   1 +
target/hexagon/op_helper.c                  |  46 +++-
target/hexagon/translate.c                  |  28 ++-
tests/qtest/hexagon-config-test.c           |  26 ++
tests/tcg/hexagon/brev.c                    |  25 ++
tests/tcg/hexagon/circ.c                    |  42 ++++
tests/tcg/hexagon/dual_stores.c             |  34 +++
tests/tcg/hexagon/mem_noshuf.c              |  58 ++++-
tests/tcg/hexagon/packet_user.c             |  38 +++
tests/tcg/hexagon/preg_alias.c              |  58 +++++
tests/tcg/hexagon/test_cond_branch.c        |  95 +++++++
tests/tcg/hexagon/usr.c                     |  33 +++
tests/functional/hexagon/meson.build        |   2 +
tests/functional/hexagon/test_arch_tests.py | 114 ++++++++-
tests/functional/hexagon/test_linux.py      |  62 +++++
tests/functional/hexagon/test_systests.py   | 259 +++++++++++++++++++-
tests/tcg/hexagon/meson.build               |   1 +
tests/tcg/hexagon/test_dotnew.S             |  34 ++-
tests/tcg/hexagon/test_packet.S             |  46 +++-
29 files changed, 1057 insertions(+), 40 deletions(-)
create mode 100644 tests/tcg/hexagon/packet_user.c
create mode 100755 tests/functional/hexagon/test_linux.py
[PATCH-for-11.2 v2 00/12] Hexagon: fix systests + migration
Posted by Brian Cain 2 days, 9 hours ago
The systests/arch tarballs were crafted while testing a downstream fork.

Enabling the omitted tests revealed a few remaining bugs in 11.2.  Add
those tests and the associated fixes, plus a couple of fixes from Marco's
recent series.

In v2:
- dropped the 'add Hexagon to the migration framework', 'add a Hexagon
migration state test' commits.  Will target these for 12.0 instead.

v1: https://lore.kernel.org/qemu-devel/20261119201603.2377989-1-brian.cain@oss.qualcomm.com/

Brian Cain (10):
  target/hexagon: fix get_exe_mode assertion in hexagon_stop_thread
  target/hexagon: deliver floating point exceptions after the packet
  target/hexagon: report the faulting packet for stack limit exceptions
  target/hexagon: take exceptions for cache operations
  target/hexagon: raise decode failures at the faulting packet
  hw/hexagon: update the glob-reg vmstate ver
  tests/functional/hexagon: run the rest of the tests
  tests/tcg/hexagon: packet and COF corner cases
  hw/hexagon: honor configured RAM backends
  hw/hexagon: version the virt machine type

Marco Liebel (2):
  target/hexagon: read the old predicate value through C4
  target/hexagon: bound packet lookahead to the current page

 docs/system/hexagon/machines.rst            |   3 +
 target/hexagon/gen_tcg.h                    |  18 +-
 target/hexagon/helper.h                     |   4 +-
 target/hexagon/translate.h                  |   6 +-
 hw/hexagon/hex-subsys.c                     |  10 +-
 hw/hexagon/hexagon_globalreg.c              |   4 +-
 hw/hexagon/virt.c                           |  37 +++
 target/hexagon/arch.c                       |   9 +-
 target/hexagon/cpu_helper.c                 |   1 +
 target/hexagon/genptr.c                     |   3 +-
 target/hexagon/hexswi.c                     |   1 +
 target/hexagon/op_helper.c                  |  46 +++-
 target/hexagon/translate.c                  |  28 ++-
 tests/qtest/hexagon-config-test.c           |  26 ++
 tests/tcg/hexagon/brev.c                    |  25 ++
 tests/tcg/hexagon/circ.c                    |  42 ++++
 tests/tcg/hexagon/dual_stores.c             |  34 +++
 tests/tcg/hexagon/mem_noshuf.c              |  58 ++++-
 tests/tcg/hexagon/packet_user.c             |  38 +++
 tests/tcg/hexagon/preg_alias.c              |  58 +++++
 tests/tcg/hexagon/test_cond_branch.c        |  95 +++++++
 tests/tcg/hexagon/usr.c                     |  33 +++
 tests/functional/hexagon/meson.build        |   2 +
 tests/functional/hexagon/test_arch_tests.py | 114 ++++++++-
 tests/functional/hexagon/test_linux.py      |  62 +++++
 tests/functional/hexagon/test_systests.py   | 259 +++++++++++++++++++-
 tests/tcg/hexagon/meson.build               |   1 +
 tests/tcg/hexagon/test_dotnew.S             |  34 ++-
 tests/tcg/hexagon/test_packet.S             |  46 +++-
 29 files changed, 1057 insertions(+), 40 deletions(-)
 create mode 100644 tests/tcg/hexagon/packet_user.c
 create mode 100755 tests/functional/hexagon/test_linux.py

-- 
2.34.1