summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/mmu/tdp_mmu.c
AgeCommit message (Expand)AuthorFilesLines
2022-03-21Revert "KVM: x86/mmu: Zap only TDP MMU leafs in kvm_zap_gfn_range()"Paolo Bonzini1-11/+30
2022-03-21kvm: x86/mmu: Flush TLB before zap_gfn_range releases RCUPaolo Bonzini1-5/+9
2022-03-08KVM: x86/mmu: WARN on any attempt to atomically update REMOVED SPTESean Christopherson1-8/+7
2022-03-08KVM: x86/mmu: Check for a REMOVED leaf SPTE before making the SPTESean Christopherson1-1/+5
2022-03-08KVM: x86/mmu: Zap defunct roots via asynchronous workerPaolo Bonzini1-9/+11
2022-03-08KVM: x86/mmu: Zap roots in two passes to avoid inducing RCU stallsSean Christopherson1-17/+34
2022-03-08KVM: x86/mmu: Allow yielding when zapping GFNs for defunct TDP MMU rootPaolo Bonzini1-41/+62
2022-03-08KVM: x86/mmu: Zap invalidated roots via asynchronous workerPaolo Bonzini1-82/+66
2022-03-08KVM: x86/mmu: Defer TLB flush to caller when freeing TDP MMU shadow pagesSean Christopherson1-10/+10
2022-03-08KVM: x86/mmu: Do remote TLB flush before dropping RCU in TDP MMU reschedSean Christopherson1-2/+2
2022-03-08KVM: x86/mmu: Zap only TDP MMU leafs in kvm_zap_gfn_range()Sean Christopherson1-30/+11
2022-03-08KVM: x86/mmu: Require mmu_lock be held for write to zap TDP MMU rangeSean Christopherson1-18/+6
2022-03-08KVM: x86/mmu: Add dedicated helper to zap TDP MMU root shadow pageSean Christopherson1-16/+82
2022-03-08KVM: x86/mmu: Skip remote TLB flush when zapping all of TDP MMUSean Christopherson1-5/+6
2022-03-08KVM: x86/mmu: Zap only the target TDP MMU shadow page in NX recoverySean Christopherson1-4/+32
2022-03-08KVM: x86/mmu: Refactor low-level TDP MMU set SPTE helper to take raw valuesSean Christopherson1-20/+31
2022-03-08KVM: x86/mmu: WARN if old _or_ new SPTE is REMOVED in non-atomic pathSean Christopherson1-2/+2
2022-03-08KVM: x86/mmu: Add helpers to read/write TDP MMU SPTEs and document RCUSean Christopherson1-3/+3
2022-03-08KVM: x86/mmu: Drop RCU after processing each root in MMU notifier hooksSean Christopherson1-4/+4
2022-03-08KVM: x86/mmu: Batch TLB flushes from TDP MMU for MMU notifier change_spteSean Christopherson1-7/+6
2022-03-08KVM: x86/mmu: Check for !leaf=>leaf, not PFN change, in TDP MMU SP removalSean Christopherson1-2/+5
2022-03-08KVM: x86/mmu: do not allow readers to acquire references to invalid rootsPaolo Bonzini1-4/+5
2022-03-08KVM: x86/mmu: only perform eager page splitting on valid rootsPaolo Bonzini1-1/+1
2022-03-08KVM: x86/mmu: Require mmu_lock be held for write in unyielding root iterSean Christopherson1-6/+15
2022-03-08KVM: x86/mmu: Document that zapping invalidated roots doesn't need to flushSean Christopherson1-5/+10
2022-03-08KVM: x86/mmu: Formalize TDP MMU's (unintended?) deferred TLB flush logicSean Christopherson1-1/+9
2022-03-08KVM: x86/mmu: Fix wrong/misleading comments in TDP MMU fast zapSean Christopherson1-21/+25
2022-03-08KVM: x86/mmu: Check for present SPTE when clearing dirty bit in TDP MMUSean Christopherson1-0/+3
2022-02-25KVM: x86: use struct kvm_mmu_root_info for mmu->rootPaolo Bonzini1-1/+1
2022-02-10KVM: x86/mmu: Add tracepoint for splitting huge pagesDavid Matlack1-3/+7
2022-02-10KVM: x86/mmu: Split huge pages mapped by the TDP MMU during KVM_CLEAR_DIRTY_LOGDavid Matlack1-27/+40
2022-02-10KVM: x86/mmu: Split huge pages mapped by the TDP MMU when dirty logging is en...David Matlack1-0/+173
2022-02-10KVM: x86/mmu: Separate TDP MMU shadow page allocation and initializationDavid Matlack1-9/+17
2022-02-10KVM: x86/mmu: Derive page role for TDP MMU shadow pages from parentDavid Matlack1-18/+19
2022-02-10KVM: x86/mmu: Remove redundant role overrides for TDP MMU shadow pagesDavid Matlack1-4/+0
2022-02-10KVM: x86/mmu: Refactor TDP MMU iterators to take kvm_mmu_page rootDavid Matlack1-9/+5
2022-02-10KVM: x86/mmu: Consolidate logic to atomically install a new TDP MMU page tableDavid Matlack1-32/+36
2022-02-10KVM: x86/mmu: Rename handle_removed_tdp_mmu_page() to handle_removed_pt()David Matlack1-5/+3
2022-02-10KVM: x86/mmu: Rename TDP MMU functions that handle shadow pagesDavid Matlack1-14/+14
2022-02-10KVM: x86/mmu: Change tdp_mmu_{set,zap}_spte_atomic() to return 0/-EBUSYDavid Matlack1-21/+26
2022-02-10KVM: x86/mmu: Automatically update iter->old_spte if cmpxchg failsDavid Matlack1-29/+23
2022-02-10KVM: x86/mmu: Check SPTE writable invariants when setting leaf SPTEsDavid Matlack1-0/+3
2022-02-10KVM: x86/tdp_mmu: Remove unused "kvm" of kvm_tdp_mmu_get_root()Jinrong Liang1-2/+2
2022-02-10KVM: x86/mmu: Zap _all_ roots when unmapping gfn range in TDP MMUSean Christopherson1-15/+24
2022-02-10KVM: x86/mmu: Move "invalid" check out of kvm_tdp_mmu_get_root()Sean Christopherson1-2/+10
2022-02-10KVM: x86/mmu: Use common TDP MMU zap helper for MMU notifier unmap hookSean Christopherson1-7/+2
2022-01-19KVM: x86/mmu: Fix write-protection of PTs mapped by the TDP MMUDavid Matlack1-3/+3
2021-12-21Merge remote-tracking branch 'kvm/master' into HEADPaolo Bonzini1-13/+16
2021-12-20KVM: x86/mmu: Don't advance iterator after restart due to yieldingSean Christopherson1-13/+16
2021-12-08KVM: X86: Rename gpte_is_8_bytes to has_4_byte_gpte and invert the directionLai Jiangshan1-1/+1