Marc Zyngier f359182291 arm64: Provide an 'upgrade to VHE' stub hypercall
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 calls this new hypercall yet, so no functional change.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Acked-by: David Brazdil <dbrazdil@google.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20210208095732.3267263-5-maz@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
2021-02-08 12:51:26 +00:00
..
2020-09-07 15:00:52 +01:00
2020-12-20 10:44:05 -08:00
2020-12-22 12:55:07 -08:00
2020-12-02 19:49:11 +00:00
2019-11-06 14:17:35 +00:00
2020-09-17 16:37:28 +01:00
2020-12-20 10:44:05 -08:00
2020-02-18 18:10:49 +00:00
2020-12-15 23:58:04 -08:00
2020-09-11 16:33:43 +01:00
2020-10-23 11:17:56 -07:00
2020-12-19 11:18:38 -08:00
2020-07-24 13:15:20 +01:00