On Thu, Aug 29, 2024 at 12:22:52AM +0100, Mark Brown wrote: > On Tue, Aug 27, 2024 at 04:25:11PM +0100, Marc Zyngier wrote: > > In order to be consistent, we shouldn't advertise a GICv3 when none > > is actually usable by the guest. > > > > Wipe the feature when these conditions apply, and allow the field > > to be written from userspace. > > > > This now allows us to rewrite the kvm_has_gicv3 helper() in terms > > of kvm_has_feat(), given that it is always evaluated at runtime. > > This patch, which is in -next, is causing the set_id_regs tests to fail > on a variety of platforms including synquacer (it looks to be everything > with GICv3 which wouldn't be surprising but I didn't confirm): Mind taking this for a spin? Seems to do the trick on my end. https://lore.kernel.org/kvmarm/20240829004622.3058639-1-oliver.upton@xxxxxxxxx/ -- Thanks, Oliver