KVM: arm64: Avoid serializing LPI get() / put()
Status from this message: Applied to kvmarm/next, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest10 patches 2 repliesApplied
- v310 patches 11 repliesSuperseded
- v223 patches 17 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 15 patches | 13 replies | Superseded |
Changes in v4 from the cover letter
- Actually walk the LPI INTID range in vgic_copy_lpi_list() (Zenghui)
- Ensure xa_lock is taken w/ IRQs disabled, even after purging usage of the lpi_list_lock (Zenghui)
- Document the lock ordering (Marc)
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | KVM: arm64: vgic: Store LPIs in an xarrayarch/ arch/ arch/ +1 more | +24 | 0 replies | |
| 2/10 | KVM: arm64: vgic: Use xarray to find LPI in vgic_get_lpi()arch/ | +5 | 0 replies | |
| 3/10 | KVM: arm64: vgic-v3: Iterate the xarray to find pending LPIsarch/ | +2 | 0 replies | |
| 4/10 | KVM: arm64: vgic-its: Walk the LPI xarray in vgic_copy_lpi_list()arch/ | +8 | 0 replies | |
| 5/10 | KVM: arm64: vgic: Get rid of the LPI linked-listarch/ arch/ arch/ +1 more | +2 | 0 replies | |
| 6/10 | KVM: arm64: vgic: Use atomics to count LPIsarch/ arch/ arch/ +1 more | +6 | 0 replies | |
| 7/10 | KVM: arm64: vgic: Free LPI vgic_irq structs in an RCU-safe mannerarch/ include/ | +2 | 0 replies | |
| 8/10 | KVM: arm64: vgic: Rely on RCU protection in vgic_get_lpi()arch/ arch/ | +15 | 0 replies | |
| 9/10 | KVM: arm64: vgic: Ensure the irq refcount is nonzero when taking a refarch/ arch/ | +10 | 0 replies | |
| 10/10 | KVM: arm64: vgic: Don't acquire the lpi_list_lock in vgic_put_irq()arch/ arch/ arch/ | +11 | 0 replies |
Reviews trailers per patch
None of the 10 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Marc Zyngier |
|---|---|
| Series | R-b |
| 1/10 | |
| 2/10 | |
| 3/10 | |
| 4/10 | |
| 5/10 | |
| 6/10 | |
| 7/10 | |
| 8/10 | |
| 9/10 | |
| 10/10 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 00/10] KVM: arm64: Avoid serializing LPI get() / put()
Addressing a few more goofs that Zenghui was kind enough to point out. Clearly all of the bugs have been found and addressed at this point.
v2: https://lore.kernel.org/kvmarm/[email protected]/
v3: https://lore.kernel.org/kvmarm/[email protected]/
v3 -> v4:
- Actually walk the LPI INTID range in vgic_copy_lpi_list() (Zenghui)
- Ensure xa_lock is taken w/ IRQs disabled, even after purging usage of the lpi_list_lock (Zenghui)
- Document the lock ordering (Marc)
Oliver Upton (10):
KVM: arm64: vgic: Store LPIs in an xarray
KVM: arm64: vgic: Use xarray to find LPI in vgic_get_lpi()
KVM: arm64: vgic-v3: Iterate the xarray to find pending LPIs
KVM: arm64: vgic-its: Walk the LPI xarray in vgic_copy_lpi_list()
KVM: arm64: vgic: Get rid of the LPI linked-list
KVM: arm64: vgic: Use atomics to count LPIs
KVM: arm64: vgic: Free LPI vgic_irq structs in an RCU-safe manner
KVM: arm64: vgic: Rely on RCU protection in vgic_get_lpi()
KVM: arm64: vgic: Ensure the irq refcount is nonzero when taking a ref
KVM: arm64: vgic: Don't acquire the lpi_list_lock in vgic_put_irq()
arch/arm64/kvm/vgic/vgic-debug.c | 2 +- arch/arm64/kvm/vgic/vgic-init.c | 4 ++- arch/arm64/kvm/vgic/vgic-its.c | 55 +++++++++++++++++++---------- arch/arm64/kvm/vgic/vgic-v3.c | 3 +- arch/arm64/kvm/vgic/vgic.c | 60 +++++++++++--------------------- arch/arm64/kvm/vgic/vgic.h | 15 +++++--- include/kvm/arm_vgic.h | 9 ++--- 7 files changed, 79 insertions(+), 69 deletions(-)
base-commit: 6613476e225e090cc9aad49be7fa504e290dd33d
Signature · 1 line
2.44.0.rc0.258.g7320e95886-goog