[PATCH] kvm: arm64: nvhe: Save the SPE context early

Marc Zyngier maz at kernel.org
Tue Mar 2 18:57:11 GMT 2021


On Tue, 2 Mar 2021 12:03:45 +0000, Suzuki K Poulose wrote:
> The nVHE KVM hyp drains and disables the SPE buffer, before
> entering the guest, as the EL1&0 translation regime
> is going to be loaded with that of the guest.
> 
> But this operation is performed way too late, because :
>   - The owning translation regime of the SPE buffer
>     is transferred to EL2. (MDCR_EL2_E2PB == 0)
>   - The guest Stage1 is loaded.
> 
> [...]

Applied to kvmarm-master/fixes, thanks!

[1/1] kvm: arm64: nvhe: Save the SPE context early
      commit: cfe1e2b6949785e90e84918295f2be1b6fd152b6

Cheers,

	M.
-- 
Without deviation from the norm, progress is not possible.





More information about the linux-arm-kernel mailing list