tests/tcg/xtensa: add test for failed memory transactions
commit3ee01413be6cd99a6014f49f06de709597fedf25
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 20 Aug 2018 03:21:50 +0000 (19 20:21 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 17 Sep 2018 18:09:04 +0000 (17 11:09 -0700)
tree307a0950196ff1e68c7437198ffcbd1be1902b61
parent76b7dd641fad4ab8c35f647cffe0fd47c4302b72
tests/tcg/xtensa: add test for failed memory transactions

Failed memory transactions should raise exceptions 14 (for fetch) or 15
(for load/store) with XEA2.

Memory accesses that result in TLB miss followed by an attempt to load
PTE from physical memory which fails should raise InstTLBMiss or
LoadStoreTLBMiss with XEA2.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
tests/tcg/xtensa/Makefile
tests/tcg/xtensa/test_phys_mem.S [new file with mode: 0644]