aboutsummaryrefslogtreecommitdiffstats
path: root/virt
AgeCommit message (Expand)AuthorFilesLines
2021-09-23KVM: Remove tlbs_dirtyLai Jiangshan1-8/+2
2021-09-22KVM: KVM: Use cpumask_available() to check for NULL cpumask when kicking vCPUsSean Christopherson1-3/+15
2021-09-22KVM: Clean up benign vcpu->cpu data races when kicking vCPUsSean Christopherson1-8/+28
2021-09-22KVM: do not shrink halt_poll_ns below grow_startSergey Senozhatsky1-1/+5
2021-09-06KVM: Drop unused kvm_dirty_gfn_invalid()Peter Xu1-5/+0
2021-09-06Merge tag 'kvmarm-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/kvma...Paolo Bonzini1-18/+1
2021-09-06KVM: stats: Add VM stat for remote tlb flush requestsJing Zhang1-0/+1
2021-09-06KVM: Remove unnecessary export of kvm_{inc,dec}_notifier_count()Sean Christopherson1-3/+0
2021-08-20KVM: stats: Add halt polling related histogram statsJing Zhang1-0/+12
2021-08-20KVM: stats: Add halt_wait_ns stats for all architecturesJing Zhang1-0/+4
2021-08-20KVM: x86/mmu: bump mmu notifier count in kvm_zap_gfn_rangeMaxim Levitsky1-2/+5
2021-08-13KVM: Allow to have arch-specific per-vm debugfs filesPeter Xu1-1/+19
2021-08-13KVM: stats: remove dead storesPaolo Bonzini1-2/+0
2021-08-10Merge branch 'kvm-vmx-secctl' into HEADPaolo Bonzini1-2/+16
2021-08-06KVM: Cache the last used slot index per vCPUDavid Matlack1-1/+21
2021-08-06KVM: Rename lru_slot to last_used_slotDavid Matlack1-2/+2
2021-08-04KVM: Do not leak memory for duplicate debugfs directoriesPaolo Bonzini1-2/+16
2021-08-03KVM: Don't take mmu_lock for range invalidation unless necessaryPaolo Bonzini1-13/+12
2021-08-03KVM: Block memslot updates across range_start() and range_end()Paolo Bonzini1-4/+54
2021-08-02KVM: Introduce kvm_get_kvm_safe()Peter Xu1-5/+15
2021-08-02KVM: Add infrastructure and macro to mark VM as buggedSean Christopherson1-5/+5
2021-08-02KVM: Get rid of kvm_get_pfn()Marc Zyngier1-8/+1
2021-08-02KVM: Remove kvm_is_transparent_hugepage() and PageTransCompoundMap()Marc Zyngier1-10/+0
2021-07-27KVM: add missing compat KVM_CLEAR_DIRTY_LOGPaolo Bonzini1-0/+28
2021-07-27KVM: use cpu_relax when halt pollingLi RongQing1-0/+1
2021-07-15Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds2-2/+2
2021-07-15kvm: debugfs: fix memory leak in kvm_create_vm_debugfsPavel Skripkin1-1/+1
2021-07-14KVM: mmio: Fix use-after-free Read in kvm_vm_ioctl_unregister_coalesced_mmioKefeng Wang1-1/+1
2021-07-14Merge tag 'kvm-s390-master-5.14-1' of git://git.kernel.org/pub/scm/linux/kern...Paolo Bonzini1-2/+17
2021-06-29Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+1
2021-06-29virt/kvm: use vma_lookup() instead of find_vma_intersection()Liam Howlett1-1/+1
2021-06-28Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds3-49/+423
2021-06-28Merge tag 'sched-core-2021-06-28' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1
2021-06-24KVM: debugfs: Reuse binary stats descriptorsJing Zhang1-28/+76
2021-06-24KVM: stats: Support binary stats retrieval for a VCPUJing Zhang1-1/+50
2021-06-24KVM: stats: Support binary stats retrieval for a VMJing Zhang1-0/+42
2021-06-24KVM: do not allow mapping valid but non-reference-counted pagesNicholas Piggin1-2/+17
2021-06-24KVM: stats: Add fd-based API to read binary stats dataJing Zhang1-0/+146
2021-06-24KVM: stats: Separate generic stats from architecture specific onesJing Zhang1-7/+7
2021-06-18sched,perf,kvm: Fix preemption conditionPeter Zijlstra1-1/+1
2021-06-17KVM: switch per-VM stats to u64Paolo Bonzini1-2/+2
2021-06-17kvm: add PM-notifierSergey Senozhatsky2-0/+38
2021-06-17KVM: mmu: Add slots_arch_lock for memslot arch fieldsBen Gardon1-6/+48
2021-06-17KVM: mmu: Refactor memslot copyBen Gardon1-7/+16
2021-05-27KVM: VMX: update vcpu posted-interrupt descriptor when assigning deviceMarcelo Tosatti1-0/+1
2021-05-27KVM: rename KVM_REQ_PENDING_TIMER to KVM_REQ_UNBLOCKMarcelo Tosatti1-0/+2
2021-05-27KVM: PPC: exit halt polling on need_resched()Wanpeng Li1-2/+1
2021-05-17Merge tag 'kvmarm-fixes-5.13-1' of git://git.kernel.org/pub/scm/linux/kernel/...Paolo Bonzini1-10/+6
2021-05-15Revert "irqbypass: do not start cons/prod when failed connect"Zhu Lingshan1-10/+6
2021-05-07kvm: Cap halt polling at kvm->max_halt_poll_nsDavid Matlack1-2/+2
2021-05-03kvm: exit halt polling on need_resched() as wellBenjamin Segall1-1/+2
2021-04-21KVM: Boost vCPU candidate in user mode which is delivering interruptWanpeng Li1-1/+7
2021-04-21KVM: x86: Support KVM VMs sharing SEV contextNathan Tempelman1-0/+6
2021-04-20KVM: Add proper lockdep assertion in I/O bus unregisterSean Christopherson1-2/+4
2021-04-20KVM: Stop looking for coalesced MMIO zones if the bus is destroyedSean Christopherson2-7/+22
2021-04-20KVM: Destroy I/O bus devices on unregister failure _after_ sync'ing SRCUSean Christopherson1-3/+7
2021-04-17KVM: Take mmu_lock when handling MMU notifier iff the hva hits a memslotSean Christopherson1-4/+11
2021-04-17KVM: Move MMU notifier's mmu_lock acquisition into common helperSean Christopherson1-41/+80
2021-04-17KVM: Kill off the old hva-based MMU notifier callbacksSean Christopherson1-85/+0
2021-04-17KVM: Move x86's MMU notifier memslot walkers to generic codeSean Christopherson1-5/+164
2021-04-17KVM: Assert that notifier count is elevated in .change_pte()Sean Christopherson1-2/+7
2021-04-17KVM: Explicitly use GFP_KERNEL_ACCOUNT for 'struct kvm_vcpu' allocationsSean Christopherson1-1/+1
2021-04-17KVM: Move arm64's MMU notifier trace events to generic codeSean Christopherson1-0/+10
2021-02-22KVM: x86/mmu: Consider the hva in mmu_notifier retryDavid Stevens1-4/+25
2021-02-09KVM: Use kvm_pfn_t for local PFN variable in hva_to_pfn_remapped()Sean Christopherson1-1/+1
2021-02-09mm: provide a saner PTE walking API for modulesPaolo Bonzini1-2/+2
2021-02-04KVM: x86/mmu: Use an rwlock for the x86 MMUBen Gardon3-19/+46
2021-02-04KVM: X86: use vzalloc() instead of vmalloc/memsetTian Tao1-2/+1
2021-02-04KVM: do not assume PTE is writable after follow_pfnPaolo Bonzini1-3/+12
2021-01-25Merge tag 'kvmarm-fixes-5.11-2' of git://git.kernel.org/pub/scm/linux/kernel/...Paolo Bonzini1-0/+1
2021-01-21KVM: Forbid the use of tagged userspace addresses for memslotsMarc Zyngier1-0/+1
2021-01-08Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-2/+1
2021-01-07kvm: check tlbs_dirty directlyLai Jiangshan1-2/+1
2020-12-20Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds3-27/+346
2020-12-19mm, kvm: account kvm_vcpu_mmap to kmemcgShakeel Butt2-2/+2
2020-11-15KVM: Don't allocate dirty bitmap if dirty ring is enabledPeter Xu1-2/+2
2020-11-15KVM: Make dirty ring exclusive to dirty bitmap logPeter Xu1-0/+12
2020-11-15KVM: X86: Implement ring-based dirty memory trackingPeter Xu2-1/+306
2020-11-15KVM: Pass in kvm pointer into mark_page_dirty_in_slot()Peter Xu1-13/+17
2020-11-15KVM: remove kvm_clear_guest_pagePaolo Bonzini1-9/+2
2020-11-15kvm/eventfd: Drain events from eventfd in irqfd_wakeup()David Woodhouse1-0/+3
2020-11-15kvm/eventfd: Use priority waitqueue to catch events before userspaceDavid Woodhouse1-2/+4
2020-10-23kvm: x86/mmu: Support dirty logging for the TDP MMUBen Gardon1-4/+2
2020-10-21KVM: Cache as_id in kvm_memory_slotPeter Xu1-0/+6
2020-09-28KVM: use struct_size() and flex_array_size() helpers in kvm_io_bus_unregister...Rustam Kovhaev1-2/+2
2020-09-28kvm/eventfd: move wildcard calculation outside loopYi Li1-1/+3
2020-09-11KVM: fix memory leak in kvm_io_bus_unregister_dev()Rustam Kovhaev1-9/+12
2020-09-11Merge tag 'kvmarm-fixes-5.9-1' of git://git.kernel.org/pub/scm/linux/kernel/g...Paolo Bonzini4-9/+13
2020-08-21KVM: Pass MMU notifier range flags to kvm_unmap_hva_range()Will Deacon1-1/+2
2020-08-12Merge branch 'akpm' (patches from Andrew)Linus Torvalds2-2/+2
2020-08-12mm/gup: remove task_struct pointer for all gup codePeter Xu2-2/+2
2020-08-11Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-6/+10
2020-08-10Merge tag 'locking-urgent-2020-08-10' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-1/+1
2020-08-06Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds2-6/+73
2020-08-05irqbypass: do not start cons/prod when failed connectZhu Lingshan1-6/+10
2020-07-29kvm/eventfd: Use sequence counter with associated spinlockAhmed S. Darwish1-1/+1
2020-07-24entry: Provide infrastructure for work before transitioning to guest modeThomas Gleixner1-0/+3
2020-07-09KVM: Move x86's MMU memory cache helpers to common KVM codeSean Christopherson1-0/+55
2020-07-09KVM: x86: take as_id into account when checking PGDVitaly Kuznetsov1-0/+8
2020-07-08KVM: async_pf: change kvm_setup_async_pf()/kvm_arch_setup_async_pf() return t...Vitaly Kuznetsov1-6/+10
2020-07-02kvm: use more precise cast and do not drop __userPaolo Bonzini1-1/+2
2020-06-12Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds2-39/+35
2020-06-11KVM: async_pf: Inject 'page ready' event only if 'page not present' was previ...Vitaly Kuznetsov1-1/+1
2020-06-11KVM: async_pf: Cleanup kvm_setup_async_pf()Vitaly Kuznetsov1-13/+6
2020-06-09mmap locking API: use coccinelle to convert mmap_sem rwsem call sitesMichel Lespinasse2-6/+6
2020-06-09mm: don't include asm/pgtable.h if linux/mm.h is already includedMike Rapoport1-1/+0
2020-06-08mm/gup.c: convert to use get_user_{page|pages}_fast_only()Souptick Joarder1-5/+3
2020-06-08KVM: x86: Fix APIC page invalidation raceEiichi Tsukata1-10/+16
2020-06-04KVM: Use vmemdup_user()Denis Efremov1-11/+8
2020-06-04KVM: let kvm_destroy_vm_debugfs clean up vCPU debugfs directoriesPaolo Bonzini1-4/+4
2020-06-01Merge tag 'kvmarm-5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmar...Paolo Bonzini32-19576/+3
2020-06-01KVM: check userspace_addr for all memslotsPaolo Bonzini1-3/+2
2020-06-01KVM: x86: acknowledgment mechanism for async pf page ready notificationsVitaly Kuznetsov1-0/+10
2020-06-01KVM: introduce kvm_read_guest_offset_cached()Vitaly Kuznetsov1-5/+14
2020-06-01KVM: rename kvm_arch_can_inject_async_page_present() to kvm_arch_can_dequeue_...Vitaly Kuznetsov1-1/+1
2020-06-01Revert "KVM: No need to retry for hva_to_pfn_remapped()"Paolo Bonzini1-0/+5
2020-05-16KVM: Fix spelling in code commentsFuad Tabba3-3/+3
2020-05-16KVM: arm64: Move virt/kvm/arm to arch/arm64Marc Zyngier29-19571/+0
2020-05-15kvm: add halt-polling cpu usage statsDavid Matlack1-3/+15
2020-05-15KVM: VMX: Optimize posted-interrupt delivery for timer fastpathWanpeng Li1-0/+1
2020-05-15KVM: No need to retry for hva_to_pfn_remapped()Peter Xu1-5/+0
2020-05-13kvm/eventfd: remove unneeded conversion to boolJason Yan1-1/+1
2020-05-13kvm: Replace vcpu->swait with rcuwaitDavidlohr Bueso4-17/+17
2020-05-13Merge branch 'kvm-amd-fixes' into HEADPaolo Bonzini9-87/+299
2020-05-08KVM: Introduce kvm_make_all_cpus_request_except()Suravee Suthikulpanit1-3/+11
2020-05-01KVM: arm64: Fix 32bit PC wrap-aroundMarc Zyngier1-2/+6
2020-04-30KVM: arm64: vgic-v4: Initialize GICv4.1 even in the absence of a virtual ITSMarc Zyngier2-2/+10
2020-04-24kvm: add capability for halt pollingDavid Matlack1-4/+15
2020-04-23Merge branch 'kvm-arm64/vgic-fixes-5.7' into kvmarm-master/masterMarc Zyngier6-80/+232
2020-04-23KVM: arm64: vgic-its: Fix memory leak on the error path of vgic_add_lpi()Zenghui Yu1-2/+9
2020-04-23KVM: arm64: vgic-v3: Retire all pending LPIs on vcpu destroyZenghui Yu1-2/+8
2020-04-23KVM: arm: vgic-v2: Only use the virtual state when userspace accesses pending...Marc Zyngier3-24/+76
2020-04-22KVM: arm: vgic: Only use the virtual state when userspace accesses enable bitsMarc Zyngier4-8/+64
2020-04-22KVM: arm: vgic: Synchronize the whole guest on GIC{D,R}_I{S,C}ACTIVER readMarc Zyngier4-44/+75
2020-04-21KVM: SVM: avoid infinite loop on NPF from bad addressPaolo Bonzini1-0/+1
2020-04-21KVM: Remove redundant argument to kvm_arch_vcpu_ioctl_runTianjia Zhang2-4/+4
2020-04-21KVM: x86/mmu: Avoid an extra memslot lookup in try_async_pf() for L2Paolo Bonzini1-5/+1
2020-04-21KVM: x86: move kvm_create_vcpu_debugfs after last failure pointPaolo Bonzini1-3/+1
2020-04-17KVM: arm64: PSCI: Forbid 64bit functions for 32bit guestsMarc Zyngier1-0/+24
2020-04-17KVM: arm64: PSCI: Narrow input registers when using 32bit functionsMarc Zyngier1-0/+16
2020-04-15KVM: remove redundant assignment to variable rColin Ian King1-1/+0
2020-04-15KVM: arm: vgic: Fix limit condition when writing to GICD_I[CS]ACTIVERMarc Zyngier1-2/+2
2020-03-31KVM: Pass kvm_init()'s opaque param to additional arch funcsSean Christopherson2-6/+16
2020-03-31Merge tag 'kvmarm-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmar...Paolo Bonzini9-37/+307
2020-03-26KVM: Fix out of range accesses to memslotsSean Christopherson1-0/+3
2020-03-24Merge branch 'kvm-arm64/gic-v4.1' into kvmarm-master/nextMarc Zyngier7-34/+305
2020-03-24KVM: arm64: GICv4.1: Expose HW-based SGIs in debugfsMarc Zyngier1-1/+13
2020-03-24KVM: arm64: GICv4.1: Reload VLPI configuration on distributor enable/disableMarc Zyngier2-1/+12
2020-03-24KVM: arm64: GICv4.1: Plumb SGI implementation selection in the distributorMarc Zyngier2-2/+49
2020-03-24KVM: arm64: GICv4.1: Allow SGIs to switch between HW and SW interruptsMarc Zyngier2-0/+99
2020-03-24KVM: arm64: GICv4.1: Add direct injection capability to SGI registersMarc Zyngier2-8/+107
2020-03-24KVM: arm64: GICv4.1: Let doorbells be auto-enabledMarc Zyngier1-1/+8
2020-03-24irqchip/gic-v4.1: Move doorbell management to the GICv4 abstraction layerMarc Zyngier2-21/+17
2020-03-16KVM: Drop largepages_enabled and its accessor/mutatorSean Christopherson1-13/+0
2020-03-16KVM: Drop gfn_to_pfn_atomic()Peter Xu1-6/+0
2020-03-16KVM: x86: enable dirty log gradually in small chunksJay Zhou1-7/+17
2020-03-16KVM: Remove unnecessary asm/kvm_host.h includesPeter Xu1-1/+0
2020-03-16KVM: Dynamically size memslot array based on number of used slotsSean Christopherson1-3/+28
2020-03-16KVM: Terminate memslot walks via used_slotsSean Christopherson2-54/+165
2020-03-16KVM: Ensure validity of memslot with respect to kvm_get_dirty_log()Sean Christopherson1-8/+19
2020-03-16KVM: Provide common implementation for generic dirty log functionsSean Christopherson2-64/+75
2020-03-16KVM: Clean up local variable usage in __kvm_set_memory_region()Sean Christopherson1-24/+26
2020-03-16KVM: Simplify kvm_free_memslot() and all its descendentsSean Christopherson2-13/+8
2020-03-16KVM: Move memslot deletion to helper functionSean Christopherson1-29/+46
2020-03-16KVM: Drop "const" attribute from old memslot in commit_memory_region()Sean Christopherson2-2/+2
2020-03-16KVM: Move setting of memslot into helper routineSean Christopherson1-43/+63
2020-03-16KVM: Refactor error handling for setting memory regionSean Christopherson1-22/+18
2020-03-16KVM: Explicitly free allocated-but-unused dirty bitmapSean Christopherson1-3/+4
2020-03-16KVM: Drop kvm_arch_create_memslot()Sean Christopherson2-20/+7
2020-03-16KVM: Don't free new memslot if allocation of said memslot failsSean Christopherson1-1/+1
2020-03-16KVM: Reinstall old memslots if arch preparation failsSean Christopherson1-11/+12
2020-03-16KVM: arm64: Use the correct timer structure to access the physical counterKarimAllah Ahmed1-1/+1
2020-02-28Merge tag 'kvmarm-fixes-5.6-1' of git://git.kernel.org/pub/scm/linux/kernel/g...Paolo Bonzini2-2/+1
2020-02-17kvm: arm/arm64: Fold VHE entry/exit work into kvm_vcpu_run_vhe()Mark Rutland1-2/+0
2020-02-12KVM: Disable preemption in kvm_get_running_vcpu()Marc Zyngier2-15/+13
2020-02-05KVM: fix overflow of zero page refcount with ksm runningZhuang Yanying1-0/+1
2020-02-05KVM: arm/arm64: Fix up includes for trace.hJeremy Cline1-0/+1
2020-01-30Merge branch 'cve-2019-3016' into kvm-next-5.6Paolo Bonzini1-17/+96
2020-01-30x86/kvm: Cache gfn to pfn translationBoris Ostrovsky1-19/+79
2020-01-30x86/kvm: Introduce kvm_(un)map_gfn()Boris Ostrovsky1-5/+24
2020-01-30Merge tag 'kvmarm-5.6' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmar...Paolo Bonzini9-132/+228
2020-01-28KVM: arm64: Treat emulated TVAL TimerValue as a signed 32-bit integerAlexandru Elisei1-1/+2
2020-01-28KVM: arm64: pmu: Only handle supported event countersEric Auger1-5/+5
2020-01-28KVM: arm64: pmu: Fix chained SW_INCR countersEric Auger1-13/+30
2020-01-28KVM: arm64: pmu: Don't mark a counter as chained if the odd one is disabledEric Auger1-29/+33
2020-01-28KVM: arm64: pmu: Don't increment SW_INCR if PMCR.E is unsetEric Auger1-0/+3
2020-01-27KVM: Play nice with read-only memslots when querying host page sizeSean Christopherson1-1/+1
2020-01-27KVM: Use vcpu-specific gva->hva translation when querying host page sizeSean Christopherson1-2/+2
2020-01-27mm: thp: KVM: Explicitly check for THP when populating secondary MMUSean Christopherson2-7/+11
2020-01-27KVM: Return immediately if __kvm_gfn_to_hva_cache_init() failsSean Christopherson1-4/+8
2020-01-27KVM: Clean up __kvm_gfn_to_hva_cache_init() and its callersSean Christopherson1-9/+12
2020-01-27KVM: Check for a bad hva before dropping into the ghc slow pathSean Christopherson1-6/+6
2020-01-27KVM: Move running VCPU from ARM to common codePaolo Bonzini5-46/+31
2020-01-27KVM: Add build-time error check on kvm_run sizePeter Xu1-0/+1
2020-01-27KVM: Remove kvm_read_guest_atomic()Peter Xu1-11/+0
2020-01-27KVM: Move vcpu->run page allocation out of kvm_vcpu_init()Sean Christopherson1-21/+13
2020-01-27KVM: Move putting of vcpu->pid to kvm_vcpu_destroy()Sean Christopherson1-6/+7
2020-01-27KVM: Drop kvm_arch_vcpu_init() and kvm_arch_vcpu_uninit()Sean Christopherson2-19/+2
2020-01-27KVM: arm64: Free sve_state via arm specific hookSean Christopherson1-0/+2
2020-01-27KVM: ARM: Move all vcpu init code into kvm_arch_vcpu_create()Sean Christopherson1-14/+20