summaryrefslogtreecommitdiff
path: root/arch/x86/kvm
AgeCommit message (Expand)AuthorFilesLines
2024-09-17Merge tag 'kvm-x86-pat_vmx_msrs-6.12' of https://github.com/kvm-x86/linux int...Paolo Bonzini6-45/+66
2024-09-17Merge tag 'kvm-x86-mmu-6.12' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini6-378/+360
2024-09-17Merge tag 'kvm-x86-misc-6.12' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini14-473/+594
2024-09-17Merge branch 'kvm-redo-enable-virt' into HEADPaolo Bonzini5-30/+36
2024-09-17Merge branch 'kvm-memslot-zap-quirk' into HEADPaolo Bonzini1-1/+41
2024-09-10KVM: x86/mmu: Use KVM_PAGES_PER_HPAGE() instead of an open coded equivalentSean Christopherson1-1/+1
2024-09-10KVM: x86/mmu: Add KVM_RMAP_MANY to replace open coded '1' and '1ul' literalsSean Christopherson1-15/+16
2024-09-10KVM: x86/mmu: Fold mmu_spte_age() into kvm_rmap_age_gfn_range()Sean Christopherson1-28/+22
2024-09-10KVM: x86/mmu: Morph kvm_handle_gfn_range() into an aging specific helperSean Christopherson1-46/+22
2024-09-10KVM: x86/mmu: Honor NEED_RESCHED when zapping rmaps and blocking is allowedSean Christopherson1-10/+6
2024-09-10KVM: x86/mmu: Add a helper to walk and zap rmaps for a memslotSean Christopherson1-3/+12
2024-09-10KVM: x86/mmu: Plumb a @can_yield parameter into __walk_slot_rmaps()Sean Christopherson1-4/+8
2024-09-10KVM: x86/mmu: Move walk_slot_rmaps() up near for_each_slot_rmap_range()Sean Christopherson1-53/+53
2024-09-10KVM: x86/mmu: WARN on MMIO cache hit when emulating write-protected gfnSean Christopherson1-10/+20
2024-09-10KVM: x86/mmu: Detect if unprotect will do anything based on invalid_listSean Christopherson1-4/+7
2024-09-10KVM: x86/mmu: Subsume kvm_mmu_unprotect_page() into the and_retry() versionSean Christopherson1-20/+13
2024-09-10KVM: x86: Rename reexecute_instruction()=>kvm_unprotect_and_retry_on_failure()Sean Christopherson1-5/+7
2024-09-10KVM: x86: Update retry protection fields when forcing retry on emulation failureSean Christopherson2-6/+8
2024-09-10KVM: x86: Apply retry protection to "unprotect on failure" pathSean Christopherson1-19/+1
2024-09-10KVM: x86: Check EMULTYPE_WRITE_PF_TO_SP before unprotecting gfnSean Christopherson1-9/+19
2024-09-10KVM: x86: Remove manual pfn lookup when retrying #PF after failed emulationSean Christopherson1-18/+0
2024-09-10KVM: x86/mmu: Move event re-injection unprotect+retry into common pathSean Christopherson1-21/+9
2024-09-10KVM: x86/mmu: Always walk guest PTEs with WRITE access when unprotectingSean Christopherson1-1/+1
2024-09-10KVM: x86/mmu: Don't try to unprotect an INVALID_GPASean Christopherson1-1/+6
2024-09-10KVM: x86: Fold retry_instruction() into x86_emulate_instruction()Sean Christopherson1-21/+9
2024-09-10KVM: x86: Move EMULTYPE_ALLOW_RETRY_PF to x86_emulate_instruction()Sean Christopherson1-8/+5
2024-09-10KVM: x86/mmu: Try "unprotect for retry" iff there are indirect SPsSean Christopherson1-0/+11
2024-09-10KVM: x86/mmu: Apply retry protection to "fast nTDP unprotect" pathSean Christopherson2-27/+39
2024-09-10KVM: x86: Store gpa as gpa_t, not unsigned long, when unprotecting for retrySean Christopherson1-1/+2
2024-09-10KVM: x86: Get RIP from vCPU state when storing it to last_retry_eipSean Christopherson1-1/+1
2024-09-10KVM: x86: Retry to-be-emulated insn in "slow" unprotect path iff sp is zappedSean Christopherson1-4/+4
2024-09-10KVM: x86/mmu: Skip emulation on page fault iff 1+ SPs were unprotectedSean Christopherson1-8/+29
2024-09-10KVM: x86/mmu: Trigger unprotect logic only on write-protection page faultsSean Christopherson5-37/+50
2024-09-10KVM: x86/mmu: Replace PFERR_NESTED_GUEST_PAGE with a more descriptive helperSean Christopherson1-1/+8
2024-09-10KVM: x86: Remove some unused declarationsYue Haibing3-5/+0
2024-09-10KVM: x86: Forcibly leave nested if RSM to L2 hits shutdownSean Christopherson3-11/+25
2024-09-07KVM: x86: don't fall through case statements without annotationsLinus Torvalds1-0/+1
2024-09-05KVM: Remove HIGH_RES_TIMERS dependencySteven Rostedt1-1/+0
2024-09-04KVM: x86: Register "emergency disable" callbacks when virt is enabledSean Christopherson5-9/+15
2024-09-04KVM: x86: Rename virtualization {en,dis}abling APIs to match common KVMSean Christopherson5-23/+23
2024-09-04KVM: Rename arch hooks related to per-CPU virtualization enablingSean Christopherson1-3/+3
2024-09-02KVM: x86: Only advertise KVM_CAP_READONLY_MEM when supported by VMTom Dohrmann1-1/+2
2024-08-30KVM: x86: Add fastpath handling of HLT VM-ExitsSean Christopherson4-3/+36
2024-08-30KVM: x86: Reorganize code in x86.c to co-locate vCPU blocking/running helpersSean Christopherson1-132/+132
2024-08-30KVM: x86: Exit to userspace if fastpath triggers one on instruction skipSean Christopherson1-2/+7
2024-08-30KVM: x86: Dedup fastpath MSR post-handling logicSean Christopherson1-10/+11
2024-08-30KVM: x86: Re-enter guest if WRMSR(X2APIC_ICR) fastpath is successfulSean Christopherson1-1/+1
2024-08-30KVM: x86/mmu: Reword a misleading comment about checking gpte_changed()Sean Christopherson1-2/+8
2024-08-30KVM: x86/mmu: Drop pointless "return" wrapper label in FNAME(fetch)Sean Christopherson1-7/+4
2024-08-30KVM: x86/mmu: Decrease indentation in logic to sync new indirect shadow pageSean Christopherson1-21/+19