[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] target-arm: A64: Correct handling of UXN bit.
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH] target-arm: A64: Correct handling of UXN bit. |
Date: |
Mon, 9 Jun 2014 14:40:59 +0100 |
On 8 June 2014 14:53, Ian Campbell <address@hidden> wrote:
> In v8 page tables bit 54 in the PTE is UXN in the EL0/EL1 translation regimes
> and XN elsewhere. In v7 the bit is always XN. Since we only emulate EL0/EL1 we
> can just treat this bit as UXN whenever we are in v8 mode.
>
> Also correctly extract the upper attributes from the PTE entry, the v8 version
> tried to avoid extracting the CONTIG bit and ended up with the upper bits
> being
> off-by-one. Instead behave the same as v7 and extract (but ignore) the CONTIG
> bit.
>
> This fixes "Bad mode in Synchronous Abort handler detected, code 0x8400000f"
> seen when modprobing modules under Linux.
>
> Signed-off-by: Ian Campbell <address@hidden>
> Cc: Peter Maydell <address@hidden>
> Cc: Claudio Fontana <address@hidden>
> Cc: Rob Herring <address@hidden>
Thanks, applied to target-arm.next.
To those interested in EL2/EL3 support: what's the
plan for telling the get_phys_addr() functions which
translation regime they should be operating in?
(since that is what indicates whether this bit is UXN or XN,
as well as having various other effects).
thanks
-- PMM
- [Qemu-devel] AArch64 QEMU System emulation: issue with TTBR0, Claudio Fontana, 2014/06/02
- Re: [Qemu-devel] AArch64 QEMU System emulation: issue with TTBR0, Claudio Fontana, 2014/06/02
- Re: [Qemu-devel] AArch64 QEMU System emulation: issue with TTBR0, Peter Maydell, 2014/06/02
- Re: [Qemu-devel] AArch64 QEMU System emulation: issue with TTBR0, Claudio Fontana, 2014/06/03
- Re: [Qemu-devel] AArch64 QEMU System emulation: issue with TTBR0, Ian Campbell, 2014/06/08
- Re: [Qemu-devel] AArch64 QEMU System emulation: issue with TTBR0, Peter Maydell, 2014/06/08
- Re: [Qemu-devel] AArch64 QEMU System emulation: issue with TTBR0, Ian Campbell, 2014/06/08
- Re: [Qemu-devel] AArch64 QEMU System emulation: issue with TTBR0, Ian Campbell, 2014/06/08
- [Qemu-devel] [PATCH] target-arm: A64: Correct handling of UXN bit., Ian Campbell, 2014/06/08
- Re: [Qemu-devel] [PATCH] target-arm: A64: Correct handling of UXN bit.,
Peter Maydell <=
- Re: [Qemu-devel] [PATCH] target-arm: A64: Correct handling of UXN bit., Edgar E. Iglesias, 2014/06/09
- Re: [Qemu-devel] [PATCH] target-arm: A64: Correct handling of UXN bit., Claudio Fontana, 2014/06/10
Re: [Qemu-devel] AArch64 QEMU System emulation: issue with TTBR0, Rob Herring, 2014/06/03