On 15/05/16 22:53, Max Filippov wrote: > On Sun, May 15, 2016 at 10:38:46PM +0300, Sergey Fedorov wrote: >> On 15/05/16 21:58, Max Filippov wrote: >>> I've noticed that the commit 5b053a4a28278 (tcg: Clean up direct block >>> chaining safety checks) has broken tearget-xtensa test cross_page_tb >>> from the tests/tcg/xtensa/test_mmu.S. The test runs a TB that spans two >>> adjacent pages, then unmaps the second page and runs it again. It >>> expects an instruction fetch exception on the second run, but with the >>> said commit doesn't get it. Reverting that commit fixes the test. >>> Any suggestions? >> That's too strange. How do I run the test? > I've minimized the test case, the source and the binary are available > here: > http://jcmvbkbc.spb.ru/~jcmvbkbc/tmp/201605152245/ > > You can run it as > qemu-system-xtensa -M sim -cpu dc232b -nographic -semihosting -kernel > ./test_mmu.tst >
Thank you for this. I'll try it tomorrow and figure out what's going wrong. Kind regards, Sergey