Skip to content

target/xtensa: convert to do_transaction_failed

Max Filippov qemu-devel 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v11 patch 3 repliesSuperseded

Changes in v2 from the cover letter

- 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.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2target/xtensa: convert to do_transaction_failedtarget/xtensa/cpu.c target/xtensa/cpu.h target/xtensa/helper.c +1 more+31 -120 replies
2/2tests/tcg/xtensa: add test for failed memory transactionstests/tcg/xtensa/Makefile tests/tcg/xtensa/test_phys_mem.S+125 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/2] target/xtensa: convert to do_transaction_failed

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
Signature · 1 line
2.11.0