This series is intended for QEMU 11.2.
Changes in v2:
Removed v1 patches 1 (C4 predicate reads) and 7 (packet lookahead).
Brian is carrying them here:
https://patchew.org/QEMU/20261119201603.2377989-1-brian.cain@oss.qualcomm.com/
Apply those fixes before running the full packet regression suite.
Patches 3, 7, 9-12: Use TCG instead of added runtime helpers to reduce
memory-check overhead.
Marco Liebel (13):
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: 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 | 85 +++++++++++++++++++++---
target/hexagon/translate.h | 11 ++-
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 | 61 +++++++++++++++++
19 files changed, 485 insertions(+), 26 deletions(-)
create mode 100644 tests/functional/hexagon/test_packets.py
create mode 100644 tests/tcg/hexagon/packet_user.c
--
2.43.0