[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] target-arm: Fix arm_el_is_aa64() function to su
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH] target-arm: Fix arm_el_is_aa64() function to support EL2 and EL3 |
Date: |
Wed, 2 Sep 2015 11:36:11 +0100 |
On 2 September 2015 at 07:31, Sergey Sorokin <address@hidden> wrote:
>
> 01.09.2015, 19:26, "Peter Maydell" <address@hidden>:
>> On 17 July 2015 at 17:01, Sergey Sorokin <address@hidden> wrote:
>>> Function arm_el_is_aa64() was fixed to support EL2 and EL3.
>>> It is needed for a future support of EL2 and/or EL3,
>>> and 32 bit EL1 support for ARMv8 cpu.
>>> ARM_FEATURE_AARCH64 flag means that the highest exception level is
>>> in Aarch64 state. The state of lower exception levels is controlled
>>> by the HCR_EL2.RW, SCR_EL3.RW and SCR_EL3.NS bits.
>>> If EL2 or EL3 is not permitted by the appropriate ARM_FEATURE flag,
>>> then the function arm_el_is_aa64() aborts on the attempt to get
>>> the bittness of this EL.
>>
>> Hi; are you planning to submit a version 2 of this patch?
> Yes. Sorry, a lot of work. I'll try to send it today.
No huge hurry (there are a lot of other parts that need
fixing for 64-bit EL2/EL3 to work anyway).
thanks
-- PMM