Re: [PATCH v4 17/34] KVM: arm64: Elevate hypervisor mappings creation at EL2

2021-03-11 Thread Will Deacon
On Wed, Mar 10, 2021 at 05:57:34PM +, Quentin Perret wrote: > Previous commits have introduced infrastructure to enable the EL2 code > to manage its own stage 1 mappings. However, this was preliminary work, > and none of it is currently in use. > > Put all of this together by elevating the

[PATCH v4 17/34] KVM: arm64: Elevate hypervisor mappings creation at EL2

2021-03-10 Thread Quentin Perret
Previous commits have introduced infrastructure to enable the EL2 code to manage its own stage 1 mappings. However, this was preliminary work, and none of it is currently in use. Put all of this together by elevating the mapping creation at EL2 when memory protection is enabled. In this case, the