On Fri, 7 Feb 2020 at 10:52, James Morse <james.mo...@arm.com> wrote: > Is there an established pattern for how Qemu 'gets' things that are done in > secure-world? > For PSCI the kernel does it, but this obviously doesn't scale to something > like OP-TEE.
The answer broadly is "it doesn't get them", the same way that a real hardware implementation that provides only EL1 and EL0 has no way to get them. Ideally there would be an architecturally provided way to run a virtualized EL3 in the guest so it could run (a QEMU-aware flavour of) firmware... thanks -- PMM