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 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