[PATCH v5 04/21] arm64: Provide an 'upgrade to VHE' stub hypercall

2021-01-26 Thread Marc Zyngier
As we are about to change the way a VHE system boots, let's provide the core helper, in the form of a stub hypercall that enables VHE and replicates the full EL1 context at EL2, thanks to EL1 and VHE-EL2 being extremely similar. On exception return, the kernel carries on at EL2. Fancy! Nothing

Re: [PATCH v5 04/21] arm64: Provide an 'upgrade to VHE' stub hypercall

2021-01-26 Thread Catalin Marinas
On Mon, Jan 25, 2021 at 10:50:02AM +, Marc Zyngier wrote: > As we are about to change the way a VHE system boots, let's > provide the core helper, in the form of a stub hypercall that > enables VHE and replicates the full EL1 context at EL2, thanks > to EL1 and VHE-EL2 being extremely similar.