[PATCH 0/3] KVM: arm64: Convert GIC idreg sanitisation to the confic framework

Marc Zyngier maz at kernel.org
Mon Nov 23 11:24:54 PST 2026


Having started adding some sanitisation code in the idreg department
with ID_AA64MMFR3_EL1.S1P[IO]E, I'm back with some more and trying to
wrestle the GIC into submission...

These patches add zero functionality, but aim at setting the basis of
a much larger sanitisation goal, where all idregs are checked for
consistency and the resulting constraints used to enforce the other
sysregs' behaviour.

Patches on top of kvmarm-fixes-7.4-1 (the only one that is currently
in Linus' tree...).

Marc Zyngier (3):
  KVM: arm64: Add enum support to idreg sanitisation
  KVM: arm64: Add GIC idregs sanitisation to common framework
  KVM: arm64: Drop open-coded GIC idreg sanitisation

 arch/arm64/kvm/config.c         | 100 +++++++++++++++++++++++++++++++-
 arch/arm64/kvm/sys_regs.c       |  45 --------------
 arch/arm64/kvm/vgic/vgic-init.c |  31 +---------
 include/kvm/arm_vgic.h          |   1 -
 4 files changed, 100 insertions(+), 77 deletions(-)

-- 
2.47.3




More information about the linux-arm-kernel mailing list