Skip to content

KVM: arm64: Convert GIC idreg sanitisation to the confic framework

Marc Zyngier kvm kvmarm linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3KVM: arm64: Add enum support to idreg sanitisationarch/arm64/kvm/config.c+43 -10 replies
2/3KVM: arm64: Add GIC idregs sanitisation to common frameworkarch/arm64/kvm/config.c+56 -00 replies
3/3KVM: arm64: Drop open-coded GIC idreg sanitisationarch/arm64/kvm/sys_regs.c arch/arm64/kvm/vgic/vgic-init.c include/kvm/arm_vgic.h+1 -760 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.47.3