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

Max Filippov posted 2 patches 7 years, 2 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20180829011652.4466-1-jcmvbkbc@gmail.com
Test docker-clang@ubuntu failed
Test checkpatch passed
There is a newer version of this series
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
[Qemu-devel] [PATCH v2 0/2] target/xtensa: convert to do_transaction_failed
Posted by Max Filippov 7 years, 2 months ago
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