Skip to content

KVM: x86/mmu: Clean up {Host,MMU}-writable documentation and validation

David Matlack kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5KVM: x86/mmu: Move SPTE writable invariant checks to a helper functionarch/x86/kvm/mmu/spte.h+13 -70 replies
2/5KVM: x86/mmu: Check SPTE writable invariants when setting leaf SPTEsarch/x86/kvm/mmu/mmu.c arch/x86/kvm/mmu/spte.c arch/x86/kvm/mmu/spte.h +1 more+6 -90 replies
3/5KVM: x86/mmu: Move is_writable_pte() to spte.harch/x86/kvm/mmu.h arch/x86/kvm/mmu/spte.h+39 -390 replies
4/5KVM: x86/mmu: Rename DEFAULT_SPTE_MMU_WRITEABLE to DEFAULT_SPTE_MMU_WRITABLEarch/x86/kvm/mmu/mmu.c arch/x86/kvm/mmu/spte.c arch/x86/kvm/mmu/spte.h+7 -70 replies
5/5KVM: x86/mmu: Consolidate comments about {Host,MMU}-writablearch/x86/kvm/mmu/mmu.c arch/x86/kvm/mmu/spte.h+60 -550 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/5] KVM: x86/mmu: Clean up {Host,MMU}-writable documentation and validation

This series cleans up some documentation and WARNings related to MMU-writable and Host-writable bits based on suggestions from Sean on another patch [1].

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

David Matlack (5):
KVM: x86/mmu: Move SPTE writable invariant checks to a helper function
KVM: x86/mmu: Check SPTE writable invariants when setting leaf SPTEs
KVM: x86/mmu: Move is_writable_pte() to spte.h
KVM: x86/mmu: Rename DEFAULT_SPTE_MMU_WRITEABLE to
DEFAULT_SPTE_MMU_WRITABLE
KVM: x86/mmu: Consolidate comments about {Host,MMU}-writable

 arch/x86/kvm/mmu.h         |  38 -------------
 arch/x86/kvm/mmu/mmu.c     |  11 ++--
 arch/x86/kvm/mmu/spte.c    |  13 +----
 arch/x86/kvm/mmu/spte.h    | 113 +++++++++++++++++++++++++++----------
 arch/x86/kvm/mmu/tdp_mmu.c |   3 +
 5 files changed, 93 insertions(+), 85 deletions(-)

base-commit: e2e83a73d7ce66f62c7830a85619542ef59c90e4

Signature · 1 line
2.35.0.rc0.227.g00780c9af4-goog