On 30 June 2018 at 20:42, Max Filippov <jcmvb...@gmail.com> wrote: > On Sat, Jun 30, 2018 at 12:20 PM, Max Filippov <jcmvb...@gmail.com> wrote: >> I'm observing the following failure with xtensa tests: >> >> (qemu) qemu: fatal: Unable to handle guest executing from RAM within a >> small MPU region at 0xd0000804 >> >> Bisection points to this patch. Any idea what happened? > > Ok, I think I've found the issue: the following check in the > get_page_addr_code does not work correctly when -1 is in the > addr_code in the QEMU TLB: > > if (unlikely(env->tlb_table[mmu_idx][index].addr_code & TLB_RECHECK))
Yes, Laurent ran into that and I sent a fix out on Friday: http://patchwork.ozlabs.org/project/qemu-devel/list/?series=52914 -- could you give that patchset a try? thanks -- PMM