* [Qemu-devel] EL2\EL3 support for Aarch64
@ 2017-05-18 16:18 Sergey Smolov
2017-05-19 13:29 ` Alex Bennée
0 siblings, 1 reply; 3+ messages in thread
From: Sergey Smolov @ 2017-05-18 16:18 UTC (permalink / raw)
To: QEMU Developers
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?
Thanks in advance!
--
Sincerely yours,
Sergey Smolov
Institute for System Programming of the Russian Academy of Sciences
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] EL2\EL3 support for Aarch64
2017-05-18 16:18 [Qemu-devel] EL2\EL3 support for Aarch64 Sergey Smolov
@ 2017-05-19 13:29 ` Alex Bennée
2017-05-30 10:21 ` Peter Maydell
0 siblings, 1 reply; 3+ messages in thread
From: Alex Bennée @ 2017-05-19 13:29 UTC (permalink / raw)
To: Sergey Smolov; +Cc: QEMU Developers
Sergey Smolov <smolov@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).
>
> Thanks in advance!
--
Alex Bennée
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] EL2\EL3 support for Aarch64
2017-05-19 13:29 ` Alex Bennée
@ 2017-05-30 10:21 ` Peter Maydell
0 siblings, 0 replies; 3+ messages in thread
From: Peter Maydell @ 2017-05-30 10:21 UTC (permalink / raw)
To: Alex Bennée; +Cc: Sergey Smolov, QEMU Developers
On 19 May 2017 at 14:29, Alex Bennée <alex.bennee@linaro.org> wrote:
>
> Sergey Smolov <smolov@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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-05-30 10:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-18 16:18 [Qemu-devel] EL2\EL3 support for Aarch64 Sergey Smolov
2017-05-19 13:29 ` Alex Bennée
2017-05-30 10:21 ` Peter Maydell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).