aboutsummaryrefslogtreecommitdiffstats
path: root/virt
AgeCommit message (Expand)AuthorFilesLines
2024-04-11KVM: Drop unused @may_block param from gfn_to_pfn_cache_invalidate_start()Sean Christopherson3-7/+4
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-11Merge tag 'kvm-x86-xen-6.9' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini1-108/+143
2024-03-11Merge tag 'kvm-x86-misc-6.9' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini1-1/+20
2024-03-11Merge tag 'kvm-x86-generic-6.9' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini1-2/+4
2024-03-11Merge tag 'kvm-x86-asyncpf-6.9' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini1-24/+49
2024-03-11Merge tag 'kvmarm-6.9' of https://git.kernel.org/pub/scm/linux/kernel/git/kvm...Paolo Bonzini1-6/+2
2024-03-09Merge tag 'kvm-x86-guest_memfd_fixes-6.8' of https://github.com/kvm-x86/linux...Paolo Bonzini1-1/+7
2024-03-04KVM: pfncache: simplify locking and make more self-containedDavid Woodhouse1-10/+11
2024-02-23KVM: Get rid of return value from kvm_arch_create_vm_debugfs()Oliver Upton1-6/+2
2024-02-22KVM: Make KVM_MEM_GUEST_MEMFD mutually exclusive with KVM_MEM_READONLYSean Christopherson1-1/+7
2024-02-22KVM: fix kvm_mmu_memory_cache allocation warningArnd Bergmann1-1/+1
2024-02-22KVM: Add a comment explaining the directed yield pending interrupt logicSean Christopherson1-0/+7
2024-02-22KVM: Add dedicated arch hook for querying if vCPU was preempted in-kernelSean Christopherson1-1/+13
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
2024-02-08Merge branch 'kvm-kconfig'Paolo Bonzini1-3/+1
2024-02-08treewide: remove CONFIG_HAVE_KVMPaolo Bonzini1-3/+0
2024-02-08kvm: move "select IRQ_BYPASS_MANAGER" to common codePaolo Bonzini1-0/+1
2024-02-08kvm: replace __KVM_HAVE_READONLY_MEM with Kconfig symbolPaolo Bonzini2-1/+4
2024-02-06KVM: Nullify async #PF worker's "apf" pointer as soon as it might be freedSean Christopherson1-5/+6
2024-02-06KVM: Get reference to VM's address space in the async #PF workerSean Christopherson1-14/+18
2024-02-06KVM: Put mm immediately after async #PF worker completes remote gup()Sean Christopherson1-2/+1
2024-02-06KVM: Always flush async #PF workqueue when vCPU is being destroyedSean Christopherson1-5/+26
2024-01-29KVM: Harden against unpaired kvm_mmu_notifier_invalidate_range_end() callsSean Christopherson1-1/+3
2024-01-17Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds7-109/+1032
2024-01-08Merge tag 'vfs-6.8.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs...Linus Torvalds1-2/+2
2024-01-08Merge tag 'kvm-x86-generic-6.8' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini1-3/+3
2024-01-08KVM: fix direction of dependency on MMU notifiersPaolo Bonzini1-1/+1
2024-01-08KVM: introduce CONFIG_KVM_COMMONPaolo Bonzini1-0/+5
2024-01-02Merge tag 'kvm-riscv-6.8-1' of https://github.com/kvm-riscv/linux into HEADPaolo Bonzini1-1/+2
2024-01-02Merge tag 'loongarch-kvm-6.8' of git://git.kernel.org/pub/scm/linux/kernel/gi...Paolo Bonzini1-10/+8
2023-12-22Merge tag 'kvmarm-fixes-6.7-2' of git://git.kernel.org/pub/scm/linux/kernel/g...Paolo Bonzini1-1/+2
2023-12-12KVM: Convert comment into an assertion in kvm_io_bus_register_dev()Marc Zyngier1-1/+2
2023-12-08KVM: clean up directives to compile out irqfdsPaolo Bonzini1-14/+12
2023-12-08KVM: remove deprecated UAPIsPaolo Bonzini1-5/+0
2023-12-08KVM: remove CONFIG_HAVE_KVM_IRQFDPaolo Bonzini3-8/+5
2023-12-08KVM: remove CONFIG_HAVE_KVM_EVENTFDPaolo Bonzini1-4/+1
2023-12-08KVM: guest-memfd: fix unused-function warningPaolo Bonzini1-2/+0
2023-12-01Revert "KVM: Prevent module exit until all VMs are freed"Sean Christopherson1-7/+0
2023-12-01KVM: Set file_operations.owner appropriately for all such structuresSean Christopherson1-3/+8
2023-12-01KVM: Harden copying of userspace-array against overflowPhilipp Stanner1-3/+2
2023-11-30KVM: move KVM_CAP_DEVICE_CTRL to the generic checkWei Wang1-0/+1
2023-11-28eventfd: simplify eventfd_signal()Christian Brauner1-2/+2
2023-11-14Merge branch 'kvm-guestmemfd' into HEADPaolo Bonzini6-77/+1010
2023-11-14KVM: x86: Add support for "protected VMs" that can utilize private memorySean Christopherson1-0/+5
2023-11-14KVM: Allow arch code to track number of memslot address spaces per VMSean Christopherson2-13/+15
2023-11-14KVM: Add KVM_CREATE_GUEST_MEMFD ioctl() for guest-specific backing memorySean Christopherson5-5/+623
2023-11-13KVM: Introduce per-page memory attributesChao Peng2-0/+220
2023-11-13KVM: Drop .on_unlock() mmu_notifier hookSean Christopherson1-10/+1
2023-11-13KVM: Add a dedicated mmu_notifier flag for reclaiming freed memorySean Christopherson1-16/+37
2023-11-13KVM: Introduce KVM_SET_USER_MEMORY_REGION2Sean Christopherson1-8/+49
2023-11-13KVM: Convert KVM_ARCH_WANT_MMU_NOTIFIER to CONFIG_KVM_GENERIC_MMU_NOTIFIERSean Christopherson2-5/+9
2023-11-13KVM: WARN if there are dangling MMU invalidations at VM destructionSean Christopherson1-1/+8
2023-11-13KVM: Use gfn instead of hva for mmu_notifier_retryChao Peng1-9/+34
2023-11-13KVM: Assert that mmu_invalidate_in_progress *never* goes negativeSean Christopherson1-2/+1
2023-11-13KVM: Tweak kvm_hva_range and hva_handler_t to allow reusing for gfn rangesSean Christopherson1-15/+19
2023-09-07Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds2-17/+40
2023-08-31Merge tag 'kvm-x86-generic-6.6' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini1-9/+10
2023-08-31Merge tag 'kvmarm-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmar...Paolo Bonzini2-8/+30
2023-08-30Merge tag 'vfio-v6.6-rc1' of https://github.com/awilliam/linux-vfioLinus Torvalds1-84/+77
2023-08-21kvm: explicitly set FOLL_HONOR_NUMA_FAULT in hva_to_pfn_slow()David Hildenbrand1-1/+12
2023-08-17KVM: Wrap kvm_{gfn,hva}_range.pte in a per-action unionSean Christopherson1-9/+10
2023-08-17KVM: Move kvm_arch_flush_remote_tlbs_memslot() to common codeDavid Matlack1-2/+16
2023-08-17KVM: Allow range-based TLB invalidation from common codeDavid Matlack1-0/+13
2023-08-17KVM: Remove CONFIG_HAVE_KVM_ARCH_TLB_FLUSH_ALLRaghavendra Rao Ananta2-5/+0
2023-08-17KVM: Rename kvm_arch_flush_remote_tlb() to kvm_arch_flush_remote_tlbs()David Matlack1-1/+1
2023-08-03kvm/vfio: avoid bouncing the mutex when adding and deleting groupsDmitry Torokhov1-17/+9
2023-08-03kvm/vfio: ensure kvg instance stays around in kvm_vfio_group_add()Dmitry Torokhov1-1/+1
2023-07-29KVM: Grab a reference to KVM for VM and vCPU stats file descriptorsSean Christopherson1-0/+24
2023-07-25kvm/vfio: Accept vfio device file from userspaceYi Liu1-6/+6
2023-07-25kvm/vfio: Prepare for accepting vfio device fdYi Liu1-57/+58
2023-07-25vfio: Refine vfio file kAPIs for KVMYi Liu1-5/+5
2023-07-03Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds3-41/+27
2023-07-01Merge tag 'kvm-x86-vmx-6.5' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini1-18/+0
2023-07-01Merge tag 'kvm-x86-generic-6.5' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini3-22/+25
2023-07-01Merge tag 'kvmarm-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmar...Paolo Bonzini1-1/+2
2023-06-28Merge tag 'mm-stable-2023-06-24-19-15' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds2-7/+9
2023-06-22KVM: Avoid illegal stage2 mapping on invalid memory slotGavin Shan1-1/+19
2023-06-19mm: ptep_get() conversionRyan Roberts1-4/+7
2023-06-15Merge branch kvm-arm64/eager-page-splitting into kvmarm/nextOliver Upton1-1/+2
2023-06-13kvm/eventfd: use list_for_each_entry when deassign ioeventfdWei Wang1-3/+2
2023-06-13KVM: destruct kvm_io_device while unregistering it from kvm_io_busWei Wang3-16/+17
2023-06-09mm/gup: remove vmas parameter from get_user_pages_remote()Lorenzo Stoakes1-2/+1
2023-06-09mm/gup: remove unused vmas parameter from get_user_pages()Lorenzo Stoakes1-1/+1
2023-06-06KVM: Clean up kvm_vm_ioctl_create_vcpu()Michal Luczaj1-1/+1
2023-06-06KVM: x86: Use standard mmu_notifier invalidate hooks for APIC access pageSean Christopherson1-18/+0
2023-06-01KVM: Don't kfree(NULL) on kzalloc() failure in kvm_assign_ioeventfd_idx()Michal Luczaj1-1/+1
2023-05-26KVM: Protect vcpu->pid dereference via debugfs with RCUSean Christopherson1-1/+4
2023-05-19KVM: Fix vcpu_array[0] racesMichal Luczaj1-6/+10
2023-05-19KVM: Don't enable hardware after a restart/shutdown is initiatedSean Christopherson1-1/+16
2023-05-19KVM: Use syscore_ops instead of reboot_notifier to hook restart/shutdownSean Christopherson1-15/+11
2023-05-16KVM: arm64: Export kvm_are_all_memslots_empty()Ricardo Koller1-1/+2
2023-05-01Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-16/+14
2023-04-28Merge tag 'smp-core-2023-04-27' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+3
2023-03-31KVM: PPC: Make KVM_CAP_IRQFD_RESAMPLE platform dependentAlexey Kardashevskiy1-1/+0
2023-03-27KVM: x86/ioapic: Resample the pending state of an IRQ when unmaskingDmytro Maluka1-6/+35
2023-03-27KVM: irqfd: Make resampler_list an RCU listDmytro Maluka1-2/+6
2023-03-24KVM: Fix comments that refer to the non-existent install_new_memslots()Jun Miao1-7/+7
2023-03-24treewide: Trace IPIs sent via smp_send_reschedule()Valentin Schneider1-0/+3
2023-03-23kvm: kvm_main: Remove unnecessary (void*) conversionsLi kunyu1-7/+5
2023-03-16KVM: Standardize on "int" return types instead of "long" in kvm_main.cThomas Huth1-2/+2
2023-02-15Merge tag 'kvm-riscv-6.3-1' of https://github.com/kvm-riscv/linux into HEADPaolo Bonzini1-3/+3
2023-02-01KVM: Destroy target device if coalesced MMIO unregistration failsSean Christopherson1-3/+5
2023-01-24Merge branch 'kvm-v6.2-rc4-fixes' into HEADPaolo Bonzini1-0/+7
2023-01-23Merge tag 'vfio-v6.2-rc6' of https://github.com/awilliam/linux-vfioLinus Torvalds1-3/+3
2023-01-20kvm/vfio: Fix potential deadlock on vfio group_lockYi Liu1-3/+3
2023-01-11KVM: Ensure lockdep knows about kvm->lock vs. vcpu->mutex ordering ruleDavid Woodhouse1-0/+7
2022-12-29KVM: Clean up error labels in kvm_init()Sean Christopherson1-4/+4
2022-12-29KVM: Opt out of generic hardware enabling on s390 and PPCSean Christopherson2-6/+27
2022-12-29KVM: Register syscore (suspend/resume) ops early in kvm_init()Sean Christopherson1-34/+34
2022-12-29KVM: Make hardware_enable_failed a local variable in the "enable all" pathIsaku Yamahata1-19/+16
2022-12-29KVM: Use a per-CPU variable to track which CPUs have enabled virtualizationSean Christopherson1-23/+18
2022-12-29KVM: Remove on_each_cpu(hardware_disable_nolock) in kvm_exit()Isaku Yamahata1-1/+0
2022-12-29KVM: Drop kvm_count_lock and instead protect kvm_usage_count with kvm_lockIsaku Yamahata1-12/+24
2022-12-29KVM: Ensure CPU is stable during low level hardware enable/disableSean Christopherson1-2/+2
2022-12-29KVM: Disable CPU hotplug during hardware enabling/disablingChao Gao1-0/+12
2022-12-29KVM: Rename and move CPUHP_AP_KVM_STARTING to ONLINE sectionChao Gao1-8/+22
2022-12-29KVM: Drop kvm_arch_check_processor_compat() hookSean Christopherson1-23/+1
2022-12-29KVM: Drop kvm_arch_{init,exit}() hooksSean Christopherson1-17/+2
2022-12-29KVM: Drop arch hardware (un)setup hooksSean Christopherson1-7/+0
2022-12-29KVM: Teardown VFIO ops earlier in kvm_exit()Sean Christopherson1-1/+1
2022-12-29KVM: Allocate cpus_hardware_enabled after arch hardware setupSean Christopherson1-7/+7
2022-12-29KVM: Initialize IRQ FD after arch hardware setupSean Christopherson1-18/+17
2022-12-29KVM: Register /dev/kvm as the _very_ last thing during initializationSean Christopherson1-9/+22
2022-12-29Merge branch 'kvm-late-6.1' into HEADPaolo Bonzini1-4/+0
2022-12-28Merge branch 'kvm-late-6.1-fixes' into HEADPaolo Bonzini1-4/+0
2022-12-27kvm: Remove the unused macro KVM_MMU_READ_{,UN}LOCK()Lai Jiangshan1-4/+0
2022-12-15Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds6-92/+188
2022-12-12Merge remote-tracking branch 'kvm/queue' into HEADPaolo Bonzini2-62/+54
2022-12-09Merge tag 'kvmarm-6.2' of https://git.kernel.org/pub/scm/linux/kernel/git/kvm...Paolo Bonzini3-14/+103
2022-12-05Merge branch kvm-arm64/dirty-ring into kvmarm-master/nextMarc Zyngier3-14/+103
2022-12-02Merge branch 'gpc-fixes' of git://git.infradead.org/users/dwmw2/linux into HEADPaolo Bonzini1-54/+50
2022-12-02KVM: Remove stale comment about KVM_REQ_UNHALTSean Christopherson1-4/+0
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-23Merge branch 'kvm-dwmw2-fixes' into HEADPaolo Bonzini1-1/+6
2022-11-23Merge branch 'kvm-dwmw2-fixes' into HEADPaolo Bonzini1-1/+6
2022-11-23KVM: Update gfn_to_pfn_cache khva when it moves within the same pageDavid Woodhouse1-1/+6
2022-11-18KVM: x86: avoid memslot check in NX hugepage recovery if it cannot succeedPaolo Bonzini1-0/+8
2022-11-17KVM: Obey kvm.halt_poll_ns in VMs not using KVM_CAP_HALT_POLLDavid Matlack1-3/+24
2022-11-17KVM: Avoid re-reading kvm->max_halt_poll_ns during halt-pollingDavid Matlack1-6/+15
2022-11-17KVM: Cap vcpu->halt_poll_ns before halting rather than afterDavid Matlack1-4/+6
2022-11-12KVM: Push dirty information unconditionally to backup bitmapGavin Shan1-3/+2
2022-11-10KVM: Support dirty ring in conjunction with bitmapGavin Shan3-9/+72
2022-11-10KVM: x86: Introduce KVM_REQ_DIRTY_RING_SOFT_FULLGavin Shan2-4/+31
2022-11-09KVM: replace direct irq.h inclusionPaolo Bonzini1-2/+1
2022-11-09kvm: Add interruptible flag to __gfn_to_pfn_memslot()Peter Xu3-14/+20
2022-11-09kvm: Add KVM_PFN_ERR_SIGPENDINGPeter Xu1-0/+2
2022-11-06Merge tag 'kvmarm-fixes-6.1-3' of git://git.kernel.org/pub/scm/linux/kernel/g...Paolo Bonzini1-0/+3
2022-10-31KVM: Check KVM_CAP_DIRTY_LOG_{RING, RING_ACQ_REL} prior to enabling themGavin Shan1-0/+3
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-10-27KVM: debugfs: Return retval of simple_attr_open() if it failsHou Wenlong1-7/+6
2022-10-22kvm: Add support for arch compat vm ioctlsAlexander Graf1-0/+11
2022-10-12Merge tag 'vfio-v6.1-rc1' of https://github.com/awilliam/linux-vfioLinus Torvalds1-13/+32
2022-10-07vfio: Hold a reference to the iommu_group in kvm for SPAPRJason Gunthorpe1-11/+14
2022-10-07vfio: Add vfio_file_is_group()Jason Gunthorpe1-2/+18
2022-10-03Merge tag 'kvmarm-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmar...Paolo Bonzini3-3/+24
2022-09-29KVM: Add KVM_CAP_DIRTY_LOG_RING_ACQ_REL capability and config optionMarc Zyngier2-1/+22
2022-09-29KVM: Use acquire/release semantics when accessing dirty ring GFN stateMarc Zyngier1-2/+2
2022-09-26KVM: remove KVM_REQ_UNHALTPaolo Bonzini1-3/+1
2022-09-26KVM: fix memoryleak in kvm_init()Miaohe Lin1-3/+2
2022-08-19KVM: Drop unnecessary initialization of "ops" in kvm_ioctl_create_device()Li kunyu1-1/+1
2022-08-19KVM: Drop unnecessary initialization of "npages" in hva_to_pfn_slow()Li kunyu1-1/+1
2022-08-19KVM: Rename mmu_notifier_* to mmu_invalidate_*Chao Peng2-33/+36
2022-08-19KVM: Move coalesced MMIO initialization (back) into kvm_create_vm()Sean Christopherson1-5/+6
2022-08-19KVM: Unconditionally get a ref to /dev/kvm module when creating a VMSean Christopherson1-10/+4
2022-08-19KVM: Properly unwind VM creation if creating debugfs failsSean Christopherson1-8/+8
2022-08-10KVM: Actually create debugfs in kvm_create_vm()Oliver Upton1-17/+19
2022-08-10KVM: Pass the name of the VM fd to kvm_create_vm_debugfs()Oliver Upton1-3/+6
2022-08-10KVM: Get an fd before creating the VMOliver Upton1-13/+17
2022-08-10KVM: Shove vcpu stats_id init into kvm_vcpu_init()Oliver Upton1-4/+4
2022-08-10KVM: Shove vm stats_id init into kvm_create_vm()Oliver Upton1-3/+3
2022-08-01Merge remote-tracking branch 'kvm/next' into kvm-next-5.20Paolo Bonzini2-138/+312
2022-07-29KVM: Add gfp_custom flag in struct kvm_mmu_memory_cacheAnup Patel1-1/+3
2022-06-24KVM: debugfs: expose pid of vcpu threadsVineeth Pillai1-2/+13
2022-06-24KVM: Allow for different capacities in kvm_mmu_memory_cache structsDavid Matlack1-3/+30
2022-06-20KVM: Do not zero initialize 'pfn' in hva_to_pfn()Sean Christopherson1-1/+1
2022-06-20KVM: Rename/refactor kvm_is_reserved_pfn() to kvm_pfn_to_refcounted_page()Sean Christopherson1-14/+52
2022-06-20KVM: Take a 'struct page', not a pfn in kvm_is_zone_device_page()Sean Christopherson1-4/+4
2022-06-20KVM: Remove kvm_vcpu_gfn_to_page() and kvm_vcpu_gpa_to_page()Sean Christopherson1-20/+11
2022-06-20KVM: Don't WARN if kvm_pfn_to_page() encounters a "reserved" pfnSean Christopherson1-3/+1
2022-06-20KVM: Avoid pfn_to_page() and vice versa when releasing pagesSean Christopherson1-21/+43
2022-06-20KVM: Don't set Accessed/Dirty bits for ZERO_PAGESean Christopherson1-2/+14