Skip to content

KVM: arm64: vgic-v3: Even more locking fun

Oliver Upton kvmarm 2 versions Applied

Status from this message: Applied to fixes, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyApplied
  2. v11 patch 1 replySuperseded

Changes in v2 from the cover letter

- Make iter_(un)mark_lpis() use of the LPI xarray also disable IRQs (Zenghui)
- Fix failure path to drop xa_lock before calling xa_release() in vgic_add_lpi() (Zenghui)

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2KVM: arm64: vgic-v3: Reinstate IRQ lock ordering for LPI xarrayarch/arm64/kvm/vgic/vgic-debug.c arch/arm64/kvm/vgic/vgic-init.c arch/arm64/kvm/vgic/vgic-its.c +1 more+32 -160 replies
2/2KVM: arm64: vgic-v3: Release reserved slot outside of lpi_xa's lockarch/arm64/kvm/vgic/vgic-its.c+5 -80 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/2] KVM: arm64: vgic-v3: Even more locking fun

v1 => v2:
- Make iter_(un)mark_lpis() use of the LPI xarray also disable IRQs (Zenghui)
- Fix failure path to drop xa_lock before calling xa_release() in vgic_add_lpi() (Zenghui)

Oliver Upton (2):
KVM: arm64: vgic-v3: Reinstate IRQ lock ordering for LPI xarray
KVM: arm64: vgic-v3: Release reserved slot outside of lpi_xa's lock

 arch/arm64/kvm/vgic/vgic-debug.c | 16 ++++++++++++----
 arch/arm64/kvm/vgic/vgic-init.c  |  2 +-
 arch/arm64/kvm/vgic/vgic-its.c   | 18 ++++++++----------
 arch/arm64/kvm/vgic/vgic.c       | 23 +++++++++++++++--------
 4 files changed, 36 insertions(+), 23 deletions(-)

base-commit: 6146a0f1dfae5d37442a9ddcba012add260bceb0

Signature · 1 line
2.47.3