[PATCH 0/2] KVM: arm64: Fix HCRX_EL2.GCSEn handling

Oliver Upton oliver.upton at linux.dev
Wed May 7 00:56:48 PDT 2025


On Wed, 30 Apr 2025 11:59:14 +0100, Marc Zyngier wrote:
> Will points out[1] that GCS is completely busted on the host if we
> ever run a guest, as HCRX_EL2 gets set to a fixed value on vcpu exit,
> value that doesn't include the GCSEn bit. This is likely to kaboom on
> a nVHE/hVHE setup.
> 
> Obviously, nobody ever tested this.
> 
> [...]

Applied to fixes, thanks!

[1/2] KVM: arm64: Properly save/restore HCRX_EL2
      https://git.kernel.org/kvmarm/kvmarm/c/ffea7c73d181
[2/2] KVM: arm64: Kill HCRX_HOST_FLAGS
      https://git.kernel.org/kvmarm/kvmarm/c/ef296ee98bb1

--
Best,
Oliver



More information about the linux-arm-kernel mailing list