[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [PATCH 3/7] target-arm: Use access_trap_aa32s_el1() for S
From: |
Edgar E. Iglesias |
Subject: |
Re: [Qemu-arm] [PATCH 3/7] target-arm: Use access_trap_aa32s_el1() for SCR and MVBAR |
Date: |
Sat, 6 Feb 2016 17:03:22 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Sat, Feb 06, 2016 at 01:48:19PM +0000, Peter Maydell wrote:
> On 6 February 2016 at 12:17, Edgar E. Iglesias <address@hidden> wrote:
> > It seems to me like if EL3 is running in AArch32, then we shouldn't
> > trap accesses from Secure EL1 but I can't find that logic. Am I missing
> > something?
>
> If EL3 is running in AArch32 then there is no Secure EL1 -- all
> of SVC, IRQ, and the other PL1 modes run at EL3 privilege,
> and arm_current_el() will return 3 in this situation.
Yep, I keep forgetting that for AArch32...
Cheers,
Edgar