aboutsummaryrefslogtreecommitdiffstats
path: root/virt
AgeCommit message (Expand)AuthorFilesLines
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
2020-01-27KVM: Drop kvm_arch_vcpu_setup()Sean Christopherson1-5/+0
2020-01-27KVM: Move initialization of preempt notifier to kvm_vcpu_init()Sean Christopherson1-2/+1
2020-01-27KVM: Unexport kvm_vcpu_cache and kvm_vcpu_{un}init()Sean Christopherson1-6/+3
2020-01-27KVM: Move vcpu alloc and init invocation to common codeSean Christopherson2-30/+20
2020-01-24KVM: Introduce kvm_vcpu_destroy()Sean Christopherson2-1/+7
2020-01-24KVM: Add kvm_arch_vcpu_precreate() to handle pre-allocation issuesSean Christopherson2-10/+15
2020-01-24KVM: arm: Drop kvm_arch_vcpu_free()Sean Christopherson1-7/+2
2020-01-23KVM: arm: Make inject_abt32() inject an external abort insteadJames Morse1-3/+7
2020-01-23KVM: arm: Fix DFSR setting for non-LPAE aarch32 guestsJames Morse1-3/+5
2020-01-23KVM: arm/arm64: Fix young bit from mmu notifierGavin Shan1-1/+2
2020-01-23KVM: arm/arm64: Cleanup MMIO handlingMarc Zyngier2-49/+22
2020-01-23KVM: async_pf: drop kvm_arch_async_page_present wrappersPaolo Bonzini1-17/+4
2020-01-21kvm: Refactor handling of VM debugfs filesMilan Pandurov1-71/+71
2020-01-21KVM: Fix some writing mistakesMiaohe Lin1-1/+1
2020-01-21KVM: Fix some grammar mistakesMiaohe Lin1-1/+1
2020-01-21KVM: Fix some wrong function names in commentMiaohe Lin1-1/+1
2020-01-19KVM: arm/arm64: vgic: Drop the kvm_vgic_register_mmio_region()Zenghui Yu1-5/+0
2020-01-19KVM: arm/arm64: vgic-its: Properly check the unmapped coll in DISCARD handlerZenghui Yu1-2/+1
2020-01-19KVM: arm/arm64: Correct AArch32 SPSR on exception entryMark Rutland1-3/+3
2020-01-19KVM: arm/arm64: Correct CPSR on exception entryMark Rutland1-10/+101
2020-01-19KVM: arm/arm64: Re-check VMA on detecting a poisoned pageJames Morse1-11/+9
2020-01-19KVM: arm: Remove duplicate includeYueHaibing1-2/+0
2020-01-19KVM: ARM: Call hyp_cpu_pm_exit at the right placeShannon Zhao1-1/+1
2020-01-19KVM: arm/arm64: vgic: Handle GICR_PENDBASER.PTZ filed as RAZZenghui Yu1-1/+4
2020-01-19KVM: arm/arm64: vgic-its: Fix restoration of unmapped collectionsEric Auger1-1/+2
2020-01-19KVM: arm64: Only sign-extend MMIO up to register widthChristoffer Dall1-0/+6
2020-01-08KVM: x86: Use gpa_t for cr2/gpa to fix TDP support on 32-bit KVMSean Christopherson1-5/+5
2020-01-08KVM: lib: use jump label to handle resource release in irq_bypass_register_pr...Miaohe Lin1-9/+10
2020-01-08KVM: lib: use jump label to handle resource release in irq_bypass_register_co...Miaohe Lin1-9/+10
2020-01-08KVM: get rid of var page in kvm_set_pfn_dirty()Miaohe Lin1-5/+2
2019-12-22Merge tag 'kvm-ppc-fixes-5.5-1' of git://git.kernel.org/pub/scm/linux/kernel/...Paolo Bonzini2-14/+22
2019-12-18Merge tag 'kvmarm-fixes-5.5-1' of git://git.kernel.org/pub/scm/linux/kernel/g...Paolo Bonzini14-166/+327
2019-12-12KVM: arm/arm64: Properly handle faulting of device mappingsMarc Zyngier1-4/+17
2019-12-06KVM: arm/arm64: Remove excessive permission check in kvm_arch_prepare_memory_...Jia He1-9/+0
2019-12-06KVM: arm/arm64: vgic: Use wrapper function to lock/unlock all vcpus in kvm_vg...Miaohe Lin1-15/+4
2019-12-06KVM: arm/arm64: vgic: Fix potential double free dist->spis in __kvm_vgic_dest...Miaohe Lin1-0/+1
2019-12-06KVM: arm/arm64: Get rid of unused arg in cpu_init_hyp_mode()Miaohe Lin1-2/+2
2019-11-23KVM: Fix jump label out_free_* in kvm_init()Miaohe Lin1-4/+3
2019-11-21Merge branch 'kvm-tsx-ctrl' into HEADPaolo Bonzini1-30/+179
2019-11-21Merge tag 'kvmarm-5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmar...Paolo Bonzini13-136/+303
2019-11-15KVM: remember position in kvm->vcpus arrayRadim Krčmář1-2/+3
2019-11-15KVM: MMIO: get rid of odd out_err label in kvm_coalesced_mmio_initMiaohe Lin1-6/+2
2019-11-15KVM: Add a comment describing the /dev/kvm no_compat handlingMarc Zyngier1-0/+7
2019-11-13KVM: Forbid /dev/kvm being opened by a compat task when CONFIG_KVM_COMPAT=nMarc Zyngier1-1/+7
2019-11-12Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-14/+34
2019-11-12KVM: MMU: Do not treat ZONE_DEVICE pages as being reservedSean Christopherson1-3/+23
2019-11-11KVM: fix placement of refcount initializationPaolo Bonzini1-2/+2
2019-11-11KVM: Fix NULL-ptr deref after kvm_create_vm failsPaolo Bonzini1-9/+9
2019-11-08Merge remote-tracking branch 'kvmarm/misc-5.5' into kvmarm/nextMarc Zyngier8-50/+55
2019-11-08KVM: arm64: Opportunistically turn off WFI trapping when using direct LPI inj...Marc Zyngier1-2/+2
2019-11-08KVM: vgic-v4: Track the number of VLPIs per vcpuMarc Zyngier3-0/+6
2019-11-07KVM: arm/arm64: Let the timer expire in hardirq context on RTThomas Gleixner1-4/+4
2019-11-04kvm: x86: mmu: Recovery of shattered NX large pagesJunaid Shahid1-0/+28
2019-11-04kvm: Add helper function for creating VM worker threadsJunaid Shahid1-0/+84
2019-10-31kvm: call kvm_arch_destroy_vm if vm creation failsJim Mattson1-5/+7
2019-10-29KVM: arm/arm64: vgic: Don't rely on the wrong pending tableZenghui Yu1-3/+3
2019-10-29KVM: arm/arm64: vgic: Fix some comments typoZenghui Yu2-2/+2
2019-10-28KVM: arm64: vgic-v4: Move the GICv4 residency flow to be driven by vcpu_load/putMarc Zyngier5-39/+38
2019-10-25kvm: Allocate memslots and buses before calling kvm_arch_init_vmJim Mattson1-19/+21
2019-10-24Merge remote-tracking branch 'kvmarm/kvm-arm64/stolen-time' into kvmarm-maste...Marc Zyngier5-85/+218
2019-10-22KVM: Add separate helper for putting borrowed reference to kvmSean Christopherson1-2/+14
2019-10-22Merge tag 'kvmarm-fixes-5.4-2' of git://git.kernel.org/pub/scm/linux/kernel/g...Paolo Bonzini1-13/+35
2019-10-22KVM: Don't shrink/grow vCPU halt_poll_ns if host side polling is disabledWanpeng Li1-13/+16
2019-10-21KVM: arm64: Provide VCPU attributes for stolen timeSteven Price1-0/+59
2019-10-21KVM: Allow kvm_device_ops to be constSteven Price1-3/+3
2019-10-21KVM: arm64: Support stolen time reporting via shared structureSteven Price3-0/+69
2019-10-21KVM: arm64: Implement PV_TIME_FEATURES callSteven Price2-1/+27
2019-10-21KVM: arm/arm64: Factor out hypercall handling from PSCI codeChristoffer Dall2-82/+61
2019-10-21KVM: arm/arm64: Allow user injection of external data abortsChristoffer Dall1-0/+1
2019-10-21KVM: arm/arm64: Allow reporting non-ISV data aborts to userspaceChristoffer Dall2-1/+29
2019-10-20KVM: arm64: pmu: Reset sample period on overflow handlingMarc Zyngier1-0/+20
2019-10-20KVM: arm64: pmu: Set the CHAINED attribute before creating the in-kernel eventMarc Zyngier1-3/+3
2019-10-20KVM: arm64: pmu: Fix cycle counter truncationMarc Zyngier1-10/+12
2019-10-03Merge tag 'kvmarm-fixes-5.4-1' of git://git.kernel.org/pub/scm/linux/kernel/g...Paolo Bonzini1-1/+1
2019-09-30kvm: x86, powerpc: do not allow clearing largepages debugfs entryPaolo Bonzini1-3/+7
2019-09-18Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds10-85/+305
2019-09-18KVM: coalesced_mmio: add bounds checkingMatt Delco1-8/+11
2019-09-11KVM: arm/arm64: vgic: Use the appropriate TRACE_INCLUDE_PATHZenghui Yu1-1/+1
2019-09-09KVM: arm/arm64: vgic: Allow more than 256 vcpus for KVM_IRQ_LINEMarc Zyngier1-0/+2
2019-08-28Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm6...Linus Torvalds4-2/+33
2019-08-28KVM: arm/arm64: vgic-v2: Handle SGI bits in GICD_I{S,C}PENDR0 as WIMarc Zyngier3-2/+26
2019-08-27KVM: arm/arm64: vgic: Fix potential deadlock when ap_list is longHeyi Guo1-0/+7
2019-08-25KVM: arm/arm64: vgic: Use a single IO device per redistributorEric Auger2-58/+24
2019-08-25KVM: arm/arm64: vgic: Remove spurious semicolonsMarc Zyngier1-1/+1
2019-08-24Merge tag 'kvmarm-fixes-for-5.3-3' of git://git.kernel.org/pub/scm/linux/kern...Will Deacon2-10/+27
2019-08-23KVM: arm/arm64: VGIC: Properly initialise private IRQ affinityAndre Przywara1-10/+20
2019-08-22KVM: arm/arm64: Only skip MMIO insn onceAndrew Jones1-0/+7
2019-08-18KVM: Call kvm_arch_vcpu_blocking early into the blocking sequenceMarc Zyngier1-4/+3
2019-08-18KVM: arm/arm64: vgic: Make function comments match function declarationsAlexandru Elisei2-6/+8