Hello,
this series converts target/xtensa to use do_transaction_failed callback
and adds a test that checks various types of access to the physically
unmapped addresses.
Changes v1->v2:
- change ldl_phys to address_space_ldl in get_pte and check transaction
for success;
- add tests that attempt TLB autorefill from the physically unmapped
addresses.
Max Filippov (2):
target/xtensa: convert to do_transaction_failed
tests/tcg/xtensa: add test for failed memory transactions
target/xtensa/cpu.c | 2 +-
target/xtensa/cpu.h | 7 ++-
target/xtensa/helper.c | 22 ++++++-
target/xtensa/op_helper.c | 12 ++--
tests/tcg/xtensa/Makefile | 1 +
tests/tcg/xtensa/test_phys_mem.S | 124 +++++++++++++++++++++++++++++++++++++++
6 files changed, 156 insertions(+), 12 deletions(-)
create mode 100644 tests/tcg/xtensa/test_phys_mem.S
--
2.11.0