Skip to content

KVM: arm64: vgic-v5 fixes for 7.2

Marc Zyngier kvmarm linux-arm-kernel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest18 patches 2 repliesIn review
  2. v118 patches 6 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18KVM: arm64: vgic-v5: Add for_each_visible_v5_ppi() iteratorarch/arm64/kvm/sys_regs.c arch/arm64/kvm/vgic/vgic-v5.c arch/arm64/kvm/vgic/vgic.h+8 -70 replies
2/18KVM: arm64: vgic-v5: Move PPI caps into kvm_vgic_global_statearch/arm64/kvm/vgic/vgic-v5.c include/kvm/arm_vgic.h+6 -60 replies
3/18KVM: arm64: vgic-v5: Remove use of __assign_bit() with a constantarch/arm64/kvm/vgic/vgic-v5.c+7 -91 reply
4/18KVM: arm64: vgic-v5: Drop pointless ARM64_HAS_GICV5_CPUIF checkarch/arm64/kvm/vgic/vgic-v5.c+0 -30 replies
5/18KVM: arm64: vgic: Constify struct irq_ops usagearch/arm64/kvm/arch_timer.c arch/arm64/kvm/vgic/vgic-v5.c arch/arm64/kvm/vgic/vgic.c +1 more+16 -110 replies
6/18KVM: arm64: vgic: Consolidate vgic_allocate_private_irqs_locked()arch/arm64/kvm/vgic/vgic-init.c+18 -270 replies
7/18KVM: arm64: vgic-v5: Drop defensive checks from vgic_v5_ppi_queue_irq_unlock()arch/arm64/kvm/vgic/vgic-v5.c+3 -130 replies
8/18KVM: arm64: vgic: Rationalise per-CPU irq accessorarch/arm64/kvm/vgic/vgic.c+12 -130 replies
9/18KVM: arm64: vgic-v5: Limit support to 64 PPIsarch/arm64/kvm/hyp/vgic-v5-sr.c arch/arm64/kvm/sys_regs.c arch/arm64/kvm/vgic/vgic-kvm-device.c+26 -820 replies
10/18KVM: arm64: vgic-v5: Add missing trap handing for NV triagearch/arm64/kvm/emulate-nested.c+8 -01 reply
11/18KVM: arm64: vgic-v5: Atomically assign bits to PPI DVI bitmaparch/arm64/kvm/vgic/vgic-v5.c+1 -10 replies
12/18KVM: arm64: selftests: Add missing GIC CDEN to no-vgic-v5 selftesttools/testing/selftests/kvm/arm64/no-vgic.c+1 -00 replies
13/18KVM: arm64: selftests: Cleanup unused vars in GICv5 PPI selftesttools/testing/selftests/kvm/arm64/vgic_v5.c+0 -60 replies
14/18KVM: arm64: selftests: Improve error handling for GICv5 PPI selftesttools/testing/selftests/kvm/arm64/vgic_v5.c+3 -10 replies
15/18Documentation: KVM: Fix typos in VGICv5 documentationDocumentation/virt/kvm/devices/arm-vgic-v5.rst+3 -30 replies
16/18Documentation: KVM: Clarify that PMU_V3_IRQ IntID requirements for GICv5Documentation/virt/kvm/devices/vcpu.rst+5 -20 replies
17/18irqchip/gic-v5: Immediately exec priority drop following activatedrivers/irqchip/irq-gic-v5.c+8 -50 replies
18/18KVM: arm64: Fix arch timer interrupts for GICv3-on-GICv5 guestsarch/arm64/kvm/arch_timer.c+7 -100 replies

Reviews trailers per patch

7 of 18 patches have a Reviewed-by or Acked-by.

PatchJoey Gouly
1/18
2/18
3/18R-b
4/18
5/18R-b
6/18R-b
7/18
8/18R-b
9/18R-b
10/18R-b
11/18
12/18R-b
13/18
14/18
15/18
16/18
17/18
18/18

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 00/18] KVM: arm64: vgic-v5 fixes for 7.2

Having completely missed the 7.1 window, this is a repost of this series cleaning-up the vgic-v5 PPI support now targeting 7.2.

Not a lot has changed since v1 [1], only the documentation typo spotted by our eagle-eyed Joey.

[1] https://lore.kernel.org/r/[email protected]

Marc Zyngier (9):
KVM: arm64: vgic-v5: Add for_each_visible_v5_ppi() iterator
KVM: arm64: vgic-v5: Move PPI caps into kvm_vgic_global_state
KVM: arm64: vgic-v5: Remove use of __assign_bit() with a constant
KVM: arm64: vgic-v5: Drop pointless ARM64_HAS_GICV5_CPUIF check
KVM: arm64: vgic: Constify struct irq_ops usage
KVM: arm64: vgic: Consolidate vgic_allocate_private_irqs_locked()
KVM: arm64: vgic-v5: Drop defensive checks from

    vgic_v5_ppi_queue_irq_unlock()

KVM: arm64: vgic: Rationalise per-CPU irq accessor
KVM: arm64: vgic-v5: Limit support to 64 PPIs

Sascha Bischoff (9):
KVM: arm64: vgic-v5: Add missing trap handing for NV triage
KVM: arm64: vgic-v5: Atomically assign bits to PPI DVI bitmap
KVM: arm64: selftests: Add missing GIC CDEN to no-vgic-v5 selftest
KVM: arm64: selftests: Cleanup unused vars in GICv5 PPI selftest
KVM: arm64: selftests: Improve error handling for GICv5 PPI selftest
Documentation: KVM: Fix typos in VGICv5 documentation
Documentation: KVM: Clarify that PMU_V3_IRQ IntID requirements for
GICv5
irqchip/gic-v5: Immediately exec priority drop following activate
KVM: arm64: Fix arch timer interrupts for GICv3-on-GICv5 guests

 .../virt/kvm/devices/arm-vgic-v5.rst          |  6 +-
 Documentation/virt/kvm/devices/vcpu.rst       |  7 +-
 arch/arm64/kvm/arch_timer.c                   | 31 +++----
 arch/arm64/kvm/emulate-nested.c               |  8 ++
 arch/arm64/kvm/hyp/vgic-v5-sr.c               | 82 ++++---------------
 arch/arm64/kvm/sys_regs.c                     | 19 ++---
 arch/arm64/kvm/vgic/vgic-init.c               | 45 ++++------
 arch/arm64/kvm/vgic/vgic-kvm-device.c         |  9 +-
 arch/arm64/kvm/vgic/vgic-v5.c                 | 51 ++++--------
 arch/arm64/kvm/vgic/vgic.c                    | 27 +++---
 arch/arm64/kvm/vgic/vgic.h                    |  3 +
 drivers/irqchip/irq-gic-v5.c                  | 13 +--
 include/kvm/arm_vgic.h                        | 19 +++--
 tools/testing/selftests/kvm/arm64/no-vgic.c   |  1 +
 tools/testing/selftests/kvm/arm64/vgic_v5.c   | 10 +--
 15 files changed, 132 insertions(+), 199 deletions(-)
Signature · 1 line
2.47.3