[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/7] target-arm: Implement MDCR_EL3 and SDCR
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH 2/7] target-arm: Implement MDCR_EL3 and SDCR |
Date: |
Mon, 8 Feb 2016 13:11:14 +0000 |
On 6 February 2016 at 18:42, Sergey Fedorov <address@hidden> wrote:
> On 03.02.2016 16:38, Peter Maydell wrote:
>> --- a/target-arm/helper.c
>> +++ b/target-arm/helper.c
>> @@ -364,6 +364,23 @@ static CPAccessResult
>> access_el3_aa32ns_aa64any(CPUARMState *env,
>> return CP_ACCESS_OK;
>> }
>>
>> +/* Some secure-only AArch32 registers trap to EL3 if used from
>> + * Secure EL1 (but are just ordinary UNDEF in other non-EL3 contexts).
>> + * We assume that the .access field is set to PL1_RW.
>> + */
>
> Maybe we should also make a note that there is no secure EL1 if EL3 is
> using AArch32 as it is done for ats_access()?
I added a line to the comment:
* Note that an access from Secure EL1 can only happen if EL3 is AArch64.
thanks
-- PMM
Re: [Qemu-devel] [PATCH 5/7] target-arm: Add isread parameter to CPAccessFns, Edgar E. Iglesias, 2016/02/06
Re: [Qemu-devel] [PATCH 5/7] target-arm: Add isread parameter to CPAccessFns, Sergey Fedorov, 2016/02/06
[Qemu-devel] [PATCH 6/7] target-arm: Implement NSACR trapping behaviour, Peter Maydell, 2016/02/03