Skip to content

Improve dirty ring warning report

Gavin Shan kvm kvmarm linux-arm-kernel linux-doc lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 2 repliesIn review
  2. v34 patches 5 repliesApplied
  3. v23 patches 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches8 repliesSuperseded

Changes in v4 from the cover letter

* s/vgic3/VGICv3 (Zenghui)
* s/save_tables_in_progress/write_tables_in_progress (Zenghui)

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4KVM: arm64: Include kvm_mmu.h from vgic.harch/arm64/kvm/vgic/vgic-debug.c arch/arm64/kvm/vgic/vgic-init.c arch/arm64/kvm/vgic/vgic-its.c +5 more+1 -72 replies
2/4KVM: arm64: Add helper vgic_write_guest_lock()arch/arm64/kvm/vgic/vgic-its.c arch/arm64/kvm/vgic/vgic.h include/kvm/arm_vgic.h+19 -90 replies
3/4KVM: arm64: Allow no running vcpu on restoring VGICv3 LPI pending statusDocumentation/virt/kvm/api.rst arch/arm64/kvm/vgic/vgic-v3.c+6 -40 replies
4/4KVM: arm64: Allow no running vcpu on saving VGICv3 pending tableDocumentation/virt/kvm/api.rst arch/arm64/kvm/vgic/vgic-v3.c+4 -20 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchOliver Upton
1/4
2/4R-b
3/4R-b
4/4R-b

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

Read the v4 thread

Cover letter [PATCH v4 0/4] Improve dirty ring warning report

It has been known case where no running VCPU context exists when the vgic/its tables are saved. There are other two unknown cases where we don't have the running VCPU context: (a) restore VGICv3 LPI pending status. (b) restoring VGICv3 pending tables.

PATCH[1] includes 'kvm_mmu.h' to 'vgic.h'
PATCH[2] adds unified helper vgic_write_guest_lock()
PATCH[3 - 4] allows no-running-vcpu context for (a) and (b)

v3: https://lore.kernel.org/kvmarm/[email protected]/T/#t
v2: https://lore.kernel.org/kvmarm/[email protected]/T/#t
v1: https://lore.kernel.org/kvmarm/[email protected]/T/#t

Changelog
=========
v4:
* s/vgic3/VGICv3 (Zenghui)
* s/save_tables_in_progress/write_tables_in_progress (Zenghui)
v3:
* Pick Oliver's r-bs
* Include 'kvm_mmu.h' to 'vgic.h' (Oliver)
v2:
* Add unified helper vgic_write_guest_lock() (Oliver)
* Dropped two patches to refactor mark_page_dirty_in_slot() (Sean)

Gavin Shan (4):
KVM: arm64: Include kvm_mmu.h from vgic.h
KVM: arm64: Add helper vgic_write_guest_lock()
KVM: arm64: Allow no running vcpu on restoring VGICv3 LPI pending
status
KVM: arm64: Allow no running vcpu on saving VGICv3 pending table

 Documentation/virt/kvm/api.rst        | 10 +++++++---
 arch/arm64/kvm/vgic/vgic-debug.c      |  1 -
 arch/arm64/kvm/vgic/vgic-init.c       |  1 -
 arch/arm64/kvm/vgic/vgic-its.c        | 14 +++++---------
 arch/arm64/kvm/vgic/vgic-kvm-device.c |  1 -
 arch/arm64/kvm/vgic/vgic-mmio-v3.c    |  1 -
 arch/arm64/kvm/vgic/vgic-v2.c         |  1 -
 arch/arm64/kvm/vgic/vgic-v3.c         |  5 ++---
 arch/arm64/kvm/vgic/vgic.h            | 14 ++++++++++++++
 include/kvm/arm_vgic.h                |  2 +-
 10 files changed, 29 insertions(+), 21 deletions(-)
Signature · 1 line
2.23.0