KVM: arm64: fix pKVM mapping cache corner cases
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 12 repliesIn review
- v22 patches 5 repliesSuperseded
- v11 patch 1 replySuperseded
Changes in v3 from the cover letter
- Send as a standalone series with a cover letter.
- Store the pKVM cacheable bit in nr_pages instead of adding a bool.
- Drop stable from patch 1.
- Add patch 3 for dirty logging permission faults.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | KVM: arm64: skip pKVM cache flushes for non cacheable mappingsarch/ | +41 | 8 replies | |
| 2/3 | KVM: arm64: top up pKVM mapping cache for permission faultsarch/ | +22 | 0 replies | |
| 3/3 | KVM: arm64: top up stage 2 memcache for dirty logging faultsarch/ | +4 | 4 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/3] KVM: arm64: fix pKVM mapping cache corner cases
This is a standalone v3.
Patch 1 fixes pKVM cache maintenance for non cacheable mappings without growing struct pkvm_mapping.
Patch 2 fixes a pKVM mapping cache topup bug on permission faults that replace page mappings with a PMD mapping.
Patch 3 fixes the generic dirty logging case where a permission fault can still need a page table allocation to split a block mapping.
Changes in v3:
- Send as a standalone series with a cover letter.
- Store the pKVM cacheable bit in nr_pages instead of adding a bool.
- Drop stable from patch 1.
- Add patch 3 for dirty logging permission faults.
Changes in v2:
- Add patch 2 for the pKVM permission fault mapping cache bug.
Bradley Morgan (3):
KVM: arm64: skip pKVM cache flushes for non cacheable mappings
KVM: arm64: top up pKVM mapping cache for permission faults
KVM: arm64: top up stage 2 memcache for dirty logging faults
arch/arm64/kvm/mmu.c | 32 +++++++++++++++++++-------- arch/arm64/kvm/pkvm.c | 51 ++++++++++++++++++++++++++++++++++--------- 2 files changed, 64 insertions(+), 19 deletions(-)
Signature · 1 line
2.53.0