[PATCH] KVM: arm64: Handle host stage-2 faults from 32-bit EL0

Marc Zyngier maz at kernel.org
Thu Apr 28 12:59:20 PDT 2022


On Wed, 27 Apr 2022 18:13:32 +0100, Will Deacon wrote:
> When pKVM is enabled, host memory accesses are translated by an identity
> mapping at stage-2, which is populated lazily in response to synchronous
> exceptions from 64-bit EL1 and EL0.
> 
> Extend this handling to cover exceptions originating from 32-bit EL0 as
> well. Although these are very unlikely to occur in practice, as the
> kernel typically ensures that user pages are initialised before mapping
> them in, drivers could still map previously untouched device pages into
> userspace and expect things to work rather than panic the system.

Applied to fixes, thanks!

[1/1] KVM: arm64: Handle host stage-2 faults from 32-bit EL0
      commit: 2a50fc5fd09798cc154b587acd4f4ee261ea19be

Cheers,

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





More information about the linux-arm-kernel mailing list