[PATCH] KVM: arm64: GICv3: Don't advertise ICH_HCR_EL2.En==1 when no vgic is configured
Mark Brown
broonie at kernel.org
Fri Nov 14 07:04:07 PST 2025
On Fri, Nov 14, 2025 at 09:35:41AM +0000, Marc Zyngier wrote:
> Configuring GICv3 to deal with the lack of GIC in the guest relies
> on not setting ICH_HCR_EL2.En in the shadow register, as this is
> an indication of the fact that we want to trap all system registers
> to report an UNDEF in the guest.
>
> Make sure we leave vgic_hcr untouched in this case.
This resolves the issues I was seeing with no-vgic-v3:
Tested-by: Mark Brown <broonie at kernel.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20251114/c2a492ff/attachment.sig>
More information about the linux-arm-kernel
mailing list