[PATCH 00/14] target/hexagon: fix packet execution and fault handling

Marco Liebel posted 14 patches 5 days, 9 hours ago
There is a newer version of this series
target/hexagon/cpu.c                 |  39 +++++++--
target/hexagon/cpu.h                 |  12 +++
target/hexagon/gen_tcg_func_table.py |   6 ++
target/hexagon/gen_tcg_funcs.py      |  41 +++++++++
target/hexagon/genptr.c              |  30 ++++++-
target/hexagon/genptr.h              |   3 +
target/hexagon/helper.h              |   8 +-
target/hexagon/hex_common.py         |  22 +++++
target/hexagon/op_helper.c           | 119 +++++++++++++++++++++++++--
target/hexagon/reg_fields_def.h.inc  |   2 +
target/hexagon/translate.c           |  75 +++++++++++++++--
target/hexagon/translate.h           |  12 ++-
tests/tcg/hexagon/meson.build        |   2 +
tests/tcg/hexagon/packet_user.c      |  82 ++++++++++++++++++
14 files changed, 426 insertions(+), 27 deletions(-)
create mode 100644 tests/tcg/hexagon/packet_user.c
[PATCH 00/14] target/hexagon: fix packet execution and fault handling
Posted by Marco Liebel 5 days, 9 hours ago

Marco Liebel (14):
  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: check packet alignment before TLB probes
  target/hexagon: validate both stores before packet commit
  target/hexagon: probe VMEMU upper transactions before lower ones

 target/hexagon/cpu.c                 |  39 +++++++--
 target/hexagon/cpu.h                 |  12 +++
 target/hexagon/gen_tcg_func_table.py |   6 ++
 target/hexagon/gen_tcg_funcs.py      |  41 +++++++++
 target/hexagon/genptr.c              |  30 ++++++-
 target/hexagon/genptr.h              |   3 +
 target/hexagon/helper.h              |   8 +-
 target/hexagon/hex_common.py         |  22 +++++
 target/hexagon/op_helper.c           | 119 +++++++++++++++++++++++++--
 target/hexagon/reg_fields_def.h.inc  |   2 +
 target/hexagon/translate.c           |  75 +++++++++++++++--
 target/hexagon/translate.h           |  12 ++-
 tests/tcg/hexagon/meson.build        |   2 +
 tests/tcg/hexagon/packet_user.c      |  82 ++++++++++++++++++
 14 files changed, 426 insertions(+), 27 deletions(-)
 create mode 100644 tests/tcg/hexagon/packet_user.c

-- 
2.43.0