On 19 May 2017 at 14:29, Alex Bennée <alex.ben...@linaro.org> wrote:
>
> Sergey Smolov <smo...@ispras.ru> writes:
>
>> Hello, List!
>>
>> Could you tell me, what is the current state for EL2\EL3 (Aarch64)?
>> Whether they are fully supported, or not?
>> Am I need to use any command line options to enable them for Aarch64
>> assembler programs simulation?
>
> Sure you can use both. To enable EL2 support:
>
>   qemu-system-aarch64 ${QEMU_OPTS} \
>     -machine gic-version=3 \
>     -machine virtualization=true
>
> To boot in secure mode you'll need to use -bios and boot a secure
> firmware (like OPTEE for example).

You also need -machine secure=true to turn on EL3 in the virt board.

NB that EL2 is currently only supported (1) for AArch64 EL2 and
(2) with GICv3, not for AArch32 EL2 or with GICv2.

thanks
-- PMM

Reply via email to