[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [Qemu-devel] [PATCH 1/3] tcg: Support MMU protection regi
From: |
Peter Maydell |
Subject: |
Re: [Qemu-arm] [Qemu-devel] [PATCH 1/3] tcg: Support MMU protection regions smaller than TARGET_PAGE_SIZE |
Date: |
Sat, 30 Jun 2018 21:10:02 +0100 |
On 30 June 2018 at 21:08, Peter Maydell <address@hidden> wrote:
> On 30 June 2018 at 20:42, Max Filippov <address@hidden> wrote:
>> On Sat, Jun 30, 2018 at 12:20 PM, Max Filippov <address@hidden> 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
...oh, no, wait, you've hit the other bug I sent a fix for:
http://patchwork.ozlabs.org/patch/937029/
thanks
-- PMM
[Qemu-arm] [PATCH 3/3] target/arm: Handle small regions in get_phys_addr_pmsav8(), Peter Maydell, 2018/06/20
[Qemu-arm] [PATCH 2/3] target/arm: Set page (region) size in get_phys_addr_pmsav7(), Peter Maydell, 2018/06/20
Re: [Qemu-arm] [PATCH 0/3] Support M-profile MPU regions smaller than 1K, Richard Henderson, 2018/06/20