aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/pmu.c
Commit message (Expand)AuthorAgeFilesLines
* KVM: x86/pmu: Limit the maximum number of supported Intel GP countersLike Xu2022-11-091-1/+1
* KVM: x86/pmu: Avoid using PEBS perf_events for normal countersLike Xu2022-09-281-2/+2
* KVM: x86/pmu: Don't generate PEBS records for emulated instructionsLike Xu2022-09-281-3/+13
* Revert "KVM: x86: always allow host-initiated writes to PMU MSRs"Sean Christopherson2022-06-201-2/+2
* Revert "KVM: x86/pmu: Accept 0 for absent PMU MSRs when host-initiated if !en...Sean Christopherson2022-06-201-8/+0
* KVM: x86/pmu: Accept 0 for absent PMU MSRs when host-initiated if !enable_pmuLike Xu2022-06-081-0/+8
* KVM: x86/pmu: Drop amd_event_mapping[] in the KVM contextLike Xu2022-06-081-3/+3
* KVM: x86/pmu: Replace pmc_perf_hw_id() with perf_get_hw_event_config()Like Xu2022-06-081-7/+2
* KVM: x86/pmu: Use PERF_TYPE_RAW to merge reprogram_{gp,fixed}counter()Like Xu2022-06-081-58/+21
* KVM: x86/pmu: Use only the uniform interface reprogram_counter()Paolo Bonzini2022-06-081-4/+2
* KVM: x86/pmu: Drop "u8 ctrl, int idx" for reprogram_fixed_counter()Like Xu2022-06-081-7/+6
* KVM: x86/pmu: Drop "u64 eventsel" for reprogram_gp_counter()Like Xu2022-06-081-4/+3
* KVM: x86/pmu: Pass only "struct kvm_pmc *pmc" to reprogram_counter()Like Xu2022-06-081-12/+5
* KVM: x86/pmu: Extract check_pmu_event_filter() handling both GP and fixed cou...Like Xu2022-06-081-26/+37
* KVM: x86/pmu: Update comments for AMD gp countersLike Xu2022-06-081-2/+5
* KVM: x86: always allow host-initiated writes to PMU MSRsPaolo Bonzini2022-06-081-2/+2
* KVM: x86/pmu: Move the vmx_icl_pebs_cpu[] definition out of the header fileLike Xu2022-06-081-0/+7
* KVM: x86/pmu: Add kvm_pmu_cap to optimize perf_get_x86_pmu_capabilityLike Xu2022-06-081-0/+3
* KVM: x86/pmu: Move pmc_speculative_in_use() to arch/x86/kvm/pmu.hLike Xu2022-06-081-11/+0
* KVM: x86/pmu: Adjust precise_ip to emulate Ice Lake guest PDIR counterLike Xu2022-06-081-0/+2
* KVM: x86/pmu: Reprogram PEBS event to emulate guest PEBS counterLike Xu2022-06-081-3/+33
* Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds2022-05-261-21/+45
|\
| * KVM: x86: Use static calls to reduce kvm_pmu_ops overheadLike Xu2022-04-131-22/+34
| * KVM: x86: Copy kvm_pmu_ops by value to eliminate layer of indirectionLike Xu2022-04-131-21/+33
* | kvm: x86/pmu: Fix the compare function used by the pmu event filterAaron Lewis2022-05-201-2/+5
|/
* KVM: x86/pmu: Fix and isolate TSX-specific performance event logicLike Xu2022-04-021-10/+5
* KVM: x86/pmu: Use different raw event masks for AMD and IntelJim Mattson2022-04-021-1/+2
* KVM: x86/pmu: Use AMD64_RAW_EVENT_MASK for PERF_TYPE_RAWJim Mattson2022-02-141-1/+1
* KVM: x86/pmu: Don't truncate the PerfEvtSeln MSR when creating a perf eventJim Mattson2022-02-141-2/+3
* Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds2022-01-221-11/+22
|\
| * KVM: x86/pmu: Use binary search to check filtered eventsJim Mattson2022-01-191-11/+19
| * KVM: x86/pmu: Fix available_event_types check for REF_CPU_CYCLES eventLike Xu2022-01-171-0/+3
* | Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds2022-01-161-38/+90
|\|
| * KVM: x86: Update vPMCs when retiring instructionsEric Hankland2022-01-071-0/+60
| * KVM: x86/pmu: Add pmc->intr to refactor kvm_perf_overflow{_intr}()Like Xu2022-01-071-30/+28
| * KVM: x86/pmu: Reuse pmc_perf_hw_id() and drop find_fixed_event()Like Xu2022-01-071-1/+1
| * KVM: x86/pmu: Refactoring find_arch_event() to pmc_perf_hw_id()Like Xu2022-01-071-7/+1
* | KVM: x86: Drop current_vcpu for kvm_running_vcpu + kvm_arch_vcpu variableSean Christopherson2021-11-171-1/+1
* | perf/core: Rework guest callbacks to prepare for static_call supportLike Xu2021-11-171-1/+1
|/
* kvm: x86: Convert return type of *is_valid_rdpmc_ecx() to boolJim Mattson2021-11-111-1/+1
* KVM: x86/pmu: Introduce pmc->is_paused to reduce the call time of perf interf...Like Xu2021-08-041-1/+4
* KVM: x86: use static calls to reduce kvm_x86_ops overheadJason Baron2021-02-041-1/+1
* KVM: vmx/pmu: Release guest LBR event via lazy release mechanismLike Xu2021-02-041-0/+3
* KVM: vmx/pmu: Emulate legacy freezing LBRs on virtual PMILike Xu2021-02-041-1/+4
* KVM/x86: pmu: Fix #GP condition check for RDPMC emulationLike Xu2020-07-091-0/+5
* KVM: x86/pmu: Tweak kvm_pmu_get_msr to pass 'struct msr_data' inWei Wang2020-06-011-2/+2
* KVM: x86: Copy kvm_x86_ops by value to eliminate layer of indirectionSean Christopherson2020-03-311-15/+15
* KVM: x86: Adjust counter sample period after a wrmsrEric Hankland2020-03-161-2/+2
* Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds2019-11-261-2/+2
|\
| * x86/kvm/pmu: Replace rcu_swap_protected() with rcu_replace_pointer()Paul E. McKenney2019-10-301-2/+2