-
- Downloads
KVM: arm64: vgic-v3: Implement MMIO-based LPI invalidation
Since GICv4.1, it has become legal for an implementation to advertise GICR_{INVLPIR,INVALLR,SYNCR} while having an ITS, allowing for a more efficient invalidation scheme (no guest command queue contention when multiple CPUs are generating invalidations). Provide the invalidation registers as a primitive to their ITS counterpart. Note that we don't advertise them to the guest yet (the architecture allows an implementation to do this). Signed-off-by:Marc Zyngier <maz@kernel.org> Reviewed-by:
Oliver Upton <oupton@google.com> Link: https://lore.kernel.org/r/20220405182327.205520-4-maz@kernel.org
Showing
- arch/arm64/kvm/vgic/vgic-its.c 41 additions, 21 deletionsarch/arm64/kvm/vgic/vgic-its.c
- arch/arm64/kvm/vgic/vgic-mmio-v3.c 66 additions, 0 deletionsarch/arm64/kvm/vgic/vgic-mmio-v3.c
- arch/arm64/kvm/vgic/vgic.h 4 additions, 0 deletionsarch/arm64/kvm/vgic/vgic.h
- include/kvm/arm_vgic.h 1 addition, 0 deletionsinclude/kvm/arm_vgic.h
Loading
Please register or sign in to comment