summaryrefslogtreecommitdiff
path: root/virt/kvm/pfncache.c
AgeCommit message (Expand)AuthorFilesLines
2024-06-28KVM: Validate hva in kvm_gpc_activate_hva() to fix __kvm_gpc_refresh() WARNPei Li1-0/+3
2024-04-11KVM: Drop unused @may_block param from gfn_to_pfn_cache_invalidate_start()Sean Christopherson1-1/+1
2024-04-08KVM: Explicitly disallow activatating a gfn_to_pfn_cache with INVALID_GPASean Christopherson1-0/+7
2024-04-08KVM: Check validity of offset+length of gfn_to_pfn_cache prior to activationSean Christopherson1-7/+9
2024-04-08KVM: Add helpers to consolidate gfn_to_pfn_cache's page split checkSean Christopherson1-8/+19
2024-03-05KVM: pfncache: simplify locking and make more self-containedDavid Woodhouse1-10/+11
2024-02-22KVM: pfncache: check the need for invalidation under read lock firstPaul Durrant1-3/+19
2024-02-20KVM: pfncache: allow a cache to be activated with a fixed (userspace) HVAPaul Durrant1-28/+70
2024-02-20KVM: pfncache: include page offset in uhva and use it consistentlyPaul Durrant1-8/+21
2024-02-20KVM: pfncache: stop open-coding offset_in_page()Paul Durrant1-3/+3
2024-02-20KVM: pfncache: remove KVM_GUEST_USES_PFN usagePaul Durrant1-52/+9
2024-02-20KVM: pfncache: remove unnecessary exportsPaul Durrant1-5/+0
2024-02-20KVM: pfncache: Add a map helper functionPaul Durrant1-18/+29
2022-11-30KVM: Skip unnecessary "unmap" if gpc is already valid during refreshSean Christopherson1-2/+1
2022-11-30KVM: Drop @gpa from exported gfn=>pfn cache check() and refresh() helpersSean Christopherson1-6/+11
2022-11-30KVM: Do not partially reinitialize gfn=>pfn cache during activationSean Christopherson1-4/+4
2022-11-30KVM: Drop KVM's API to allow temporarily unmapping gfn=>pfn cacheSean Christopherson1-28/+16
2022-11-30KVM: Use gfn_to_pfn_cache's immutable "kvm" in kvm_gpc_refresh()Michal Luczaj1-4/+3
2022-11-30KVM: Clean up hva_to_pfn_retry()Michal Luczaj1-4/+4
2022-11-30KVM: Use gfn_to_pfn_cache's immutable "kvm" in kvm_gpc_check()Michal Luczaj1-3/+2
2022-11-30KVM: Store immutable gfn_to_pfn_cache propertiesMichal Luczaj1-8/+14
2022-11-30KVM: x86: Remove unused argument in gpc_unmap_khva()Michal Luczaj1-4/+4
2022-11-30KVM: Shorten gfn_to_pfn_cache function namesMichal Luczaj1-10/+10
2022-11-24Merge branch 'kvm-dwmw2-fixes' into HEADPaolo Bonzini1-1/+6
2022-11-24KVM: Update gfn_to_pfn_cache khva when it moves within the same pageDavid Woodhouse1-1/+6
2022-11-09kvm: Add interruptible flag to __gfn_to_pfn_memslot()Peter Xu1-1/+1
2022-10-27KVM: Reject attempts to consume or refresh inactive gfn_to_pfn_cacheSean Christopherson1-7/+34
2022-10-27KVM: Initialize gfn_to_pfn_cache locks in dedicated helperMichal Luczaj1-9/+12
2022-08-19KVM: Rename mmu_notifier_* to mmu_invalidate_*Chao Peng1-8/+9
2022-05-25KVM: Do not pin pages tracked by gfn=>pfn cachesSean Christopherson1-16/+20
2022-05-25KVM: Fix multiple races in gfn=>pfn cache refreshSean Christopherson1-71/+122
2022-05-25KVM: Fully serialize gfn=>pfn cache refresh via mutexSean Christopherson1-0/+12
2022-05-25KVM: Do not incorporate page offset into gfn=>pfn cache user addressSean Christopherson1-2/+0
2022-05-25KVM: Put the extra pfn reference when reusing a pfn in the gpc cacheSean Christopherson1-0/+8
2022-05-25KVM: Drop unused @gpa param from gfn=>pfn cache's __release_gpc() helperSean Christopherson1-7/+3
2022-04-02KVM: Remove dirty handling from gfn_to_pfn_cache completelyDavid Woodhouse1-33/+8
2022-04-02KVM: Use enum to track if cached PFN will be used in guest and/or hostSean Christopherson1-7/+7
2022-04-02KVM: Don't actually set a request when evicting vCPUs for GFN cache invdSean Christopherson1-7/+11
2022-04-02KVM: avoid double put_page with gfn-to-pfn cacheDavid Woodhouse1-0/+1
2022-01-07KVM: Reinstate gfn_to_pfn_cache with invalidation supportDavid Woodhouse1-0/+337