[PATCH] KVM: arm64: Don't blindly set set PSTATE.PAN on guest exit

Oliver Upton oupton at kernel.org
Sat Jan 10 02:22:43 PST 2026


On Wed, 07 Jan 2026 12:46:00 +0000, Marc Zyngier wrote:
> We set PSTATE.PAN to 1 on exiting from a guest if PAN support has
> been compiled in and that it exists on the HW. However, this is not
> necessarily correct.
> 
> In a nVHE configuration, there is no notion of PAN at EL2, so setting
> PSTATE.PAN to anything is pointless.
> 
> [...]

Applied to fixes, thanks!

[1/1] KVM: arm64: Don't blindly set set PSTATE.PAN on guest exit
      https://git.kernel.org/kvmarm/kvmarm/c/86364832ba6f

--
Best,
Oliver



More information about the linux-arm-kernel mailing list