This series is intended for QEMU 11.2.
Changes in v3:
* Restore patches 1 and 7 from v1.
* Add review tags from v1.
Changes in v2:
* Rework memory checks to use TCG instead of added runtime helpers
(patches 4, 9, 11-14, using the restored numbering).
* Add a functional packet regression-test commit (patch 15).
Marco Liebel (15):
target/hexagon: read the old predicate value through C4
target/hexagon: allow writes to V85 USR coprocessor fields
target/hexagon: suppress LR writes from a losing call
target/hexagon: reject HMX operands outside VTCM
target/hexagon: commit coprocessor results before context changes
target/hexagon: distinguish packet-page instruction TLB misses
target/hexagon: bound packet lookahead to the current page
target/hexagon: report the faulting memory slot
target/hexagon: retain both scalar packet fault addresses
target/hexagon: preserve inactive BADVA registers
target/hexagon: probe scalar packet memory in slot priority order
target/hexagon: prioritize packet alignment in the fault path
target/hexagon: validate both stores before packet commit
target/hexagon: probe VMEMU upper transactions before lower ones
tests/functional/hexagon: add packet regression tests
hw/hexagon/hex-subsys.c | 4 ++
include/hw/hexagon/hexagon.h | 2 +
target/hexagon/cpu.c | 76 ++++++++++++++++++--
target/hexagon/cpu.h | 12 ++++
target/hexagon/gen_tcg_func_table.py | 6 ++
target/hexagon/gen_tcg_funcs.py | 38 ++++++++++
target/hexagon/genptr.c | 55 ++++++++++++++-
target/hexagon/genptr.h | 4 ++
target/hexagon/helper.h | 5 +-
target/hexagon/hex_common.py | 22 ++++++
target/hexagon/internal.h | 5 ++
target/hexagon/op_helper.c | 72 +++++++++++++++++--
target/hexagon/reg_fields_def.h.inc | 2 +
target/hexagon/translate.c | 90 +++++++++++++++++++++---
target/hexagon/translate.h | 17 ++++-
tests/functional/hexagon/meson.build | 2 +
tests/functional/hexagon/test_packets.py | 47 +++++++++++++
tests/tcg/hexagon/meson.build | 2 +
tests/tcg/hexagon/packet_user.c | 82 +++++++++++++++++++++
19 files changed, 516 insertions(+), 27 deletions(-)
create mode 100644 tests/functional/hexagon/test_packets.py
create mode 100644 tests/tcg/hexagon/packet_user.c
--
2.43.0