On Tue, Jan 25, 2022 at 3:05 PM David Matlack <dmatlack@xxxxxxxxxx> wrote: > > 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/YeH5QlwgGcpStZyp@xxxxxxxxxx/ > > 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 The email threading on this series got a bit messed up (at least on lore). I had a misspelling in the signed-off-by tag in patch 4 that was caught by git-send-email after sending the cover letter and patches 1-3. So I fixed it and sent patch 4 and 5 separately. I can resend the series again if anyone prefers. > > 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 > -- > 2.35.0.rc0.227.g00780c9af4-goog >