summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/pmu.c
AgeCommit message (Expand)AuthorFilesLines
2022-09-28KVM: x86/pmu: Avoid using PEBS perf_events for normal countersLike Xu1-2/+2
2022-09-28KVM: x86/pmu: Don't generate PEBS records for emulated instructionsLike Xu1-3/+13
2022-06-20Revert "KVM: x86: always allow host-initiated writes to PMU MSRs"Sean Christopherson1-2/+2
2022-06-20Revert "KVM: x86/pmu: Accept 0 for absent PMU MSRs when host-initiated if !en...Sean Christopherson1-8/+0
2022-06-08KVM: x86/pmu: Accept 0 for absent PMU MSRs when host-initiated if !enable_pmuLike Xu1-0/+8
2022-06-08KVM: x86/pmu: Drop amd_event_mapping[] in the KVM contextLike Xu1-3/+3
2022-06-08KVM: x86/pmu: Replace pmc_perf_hw_id() with perf_get_hw_event_config()Like Xu1-7/+2
2022-06-08KVM: x86/pmu: Use PERF_TYPE_RAW to merge reprogram_{gp,fixed}counter()Like Xu1-58/+21
2022-06-08KVM: x86/pmu: Use only the uniform interface reprogram_counter()Paolo Bonzini1-4/+2
2022-06-08KVM: x86/pmu: Drop "u8 ctrl, int idx" for reprogram_fixed_counter()Like Xu1-7/+6
2022-06-08KVM: x86/pmu: Drop "u64 eventsel" for reprogram_gp_counter()Like Xu1-4/+3
2022-06-08KVM: x86/pmu: Pass only "struct kvm_pmc *pmc" to reprogram_counter()Like Xu1-12/+5
2022-06-08KVM: x86/pmu: Extract check_pmu_event_filter() handling both GP and fixed cou...Like Xu1-26/+37
2022-06-08KVM: x86/pmu: Update comments for AMD gp countersLike Xu1-2/+5
2022-06-08KVM: x86: always allow host-initiated writes to PMU MSRsPaolo Bonzini1-2/+2
2022-06-08KVM: x86/pmu: Move the vmx_icl_pebs_cpu[] definition out of the header fileLike Xu1-0/+7
2022-06-08KVM: x86/pmu: Add kvm_pmu_cap to optimize perf_get_x86_pmu_capabilityLike Xu1-0/+3
2022-06-08KVM: x86/pmu: Move pmc_speculative_in_use() to arch/x86/kvm/pmu.hLike Xu1-11/+0
2022-06-08KVM: x86/pmu: Adjust precise_ip to emulate Ice Lake guest PDIR counterLike Xu1-0/+2
2022-06-08KVM: x86/pmu: Reprogram PEBS event to emulate guest PEBS counterLike Xu1-3/+33
2022-05-27Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-21/+45
2022-05-20kvm: x86/pmu: Fix the compare function used by the pmu event filterAaron Lewis1-2/+5
2022-04-13KVM: x86: Use static calls to reduce kvm_pmu_ops overheadLike Xu1-22/+34
2022-04-13KVM: x86: Copy kvm_pmu_ops by value to eliminate layer of indirectionLike Xu1-21/+33
2022-04-02KVM: x86/pmu: Fix and isolate TSX-specific performance event logicLike Xu1-10/+5
2022-04-02KVM: x86/pmu: Use different raw event masks for AMD and IntelJim Mattson1-1/+2
2022-02-14KVM: x86/pmu: Use AMD64_RAW_EVENT_MASK for PERF_TYPE_RAWJim Mattson1-1/+1
2022-02-14KVM: x86/pmu: Don't truncate the PerfEvtSeln MSR when creating a perf eventJim Mattson1-2/+3
2022-01-22Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-11/+22
2022-01-19KVM: x86/pmu: Use binary search to check filtered eventsJim Mattson1-11/+19
2022-01-17KVM: x86/pmu: Fix available_event_types check for REF_CPU_CYCLES eventLike Xu1-0/+3
2022-01-16Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-38/+90
2022-01-07KVM: x86: Update vPMCs when retiring instructionsEric Hankland1-0/+60
2022-01-07KVM: x86/pmu: Add pmc->intr to refactor kvm_perf_overflow{_intr}()Like Xu1-30/+28
2022-01-07KVM: x86/pmu: Reuse pmc_perf_hw_id() and drop find_fixed_event()Like Xu1-1/+1
2022-01-07KVM: x86/pmu: Refactoring find_arch_event() to pmc_perf_hw_id()Like Xu1-7/+1
2021-11-17KVM: x86: Drop current_vcpu for kvm_running_vcpu + kvm_arch_vcpu variableSean Christopherson1-1/+1
2021-11-17perf/core: Rework guest callbacks to prepare for static_call supportLike Xu1-1/+1
2021-11-11kvm: x86: Convert return type of *is_valid_rdpmc_ecx() to boolJim Mattson1-1/+1
2021-08-04KVM: x86/pmu: Introduce pmc->is_paused to reduce the call time of perf interf...Like Xu1-1/+4
2021-02-04KVM: x86: use static calls to reduce kvm_x86_ops overheadJason Baron1-1/+1
2021-02-04KVM: vmx/pmu: Release guest LBR event via lazy release mechanismLike Xu1-0/+3
2021-02-04KVM: vmx/pmu: Emulate legacy freezing LBRs on virtual PMILike Xu1-1/+4
2020-07-09KVM/x86: pmu: Fix #GP condition check for RDPMC emulationLike Xu1-0/+5
2020-06-01KVM: x86/pmu: Tweak kvm_pmu_get_msr to pass 'struct msr_data' inWei Wang1-2/+2
2020-03-31KVM: x86: Copy kvm_x86_ops by value to eliminate layer of indirectionSean Christopherson1-15/+15
2020-03-16KVM: x86: Adjust counter sample period after a wrmsrEric Hankland1-2/+2
2019-11-27Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-2/+2
2019-11-15KVM: x86/vPMU: Add lazy mechanism to release perf_event per vPMCLike Xu1-0/+55
2019-11-15KVM: x86/vPMU: Reuse perf_event to avoid unnecessary pmc_reprogram_counterLike Xu1-2/+43