summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/pmu.c
AgeCommit message (Expand)AuthorFilesLines
2023-06-07KVM: x86/svm/pmu: Add AMD PerfMonV2 supportLike Xu1-1/+17
2023-06-07KVM: x86/pmu: Provide Intel PMU's pmc_is_enabled() as generic x86 codeLike Xu1-5/+0
2023-06-07KVM: x86/pmu: Move handling PERF_GLOBAL_CTRL and friends to common x86Like Xu1-3/+68
2023-04-26Merge tag 'kvm-x86-pmu-6.4' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini1-7/+14
2023-04-07KVM: x86/pmu: Prevent the PMU from counting disallowed eventsAaron Lewis1-5/+8
2023-04-07KVM: x86/pmu: Fix a typo in kvm_pmu_request_counter_reprogam()Like Xu1-1/+1
2023-04-07KVM: x86/pmu: Rename pmc_is_enabled() to pmc_is_globally_enabled()Like Xu1-3/+3
2023-04-07KVM: x86/pmu: WARN and bug the VM if PMU is refreshed after vCPU has runSean Christopherson1-0/+3
2023-04-06KVM: x86/pmu: Zero out pmu->all_valid_pmc_idx each time it's refreshedLike Xu1-0/+1
2023-03-22KVM: x86: Add helpers to query individual CR0/CR4 bitsBinbin Wu1-2/+2
2023-03-22KVM: x86: Make use of kvm_read_cr*_bits() when testing bitsMathias Krause1-2/+2
2023-02-15Merge tag 'kvm-x86-pmu-6.3' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini1-50/+236
2023-02-04KVM: x86: Optimize kvm->lock and SRCU interaction (KVM_SET_PMU_EVENT_FILTER)Michal Luczaj1-2/+1
2023-02-02KVM: x86/pmu: Add PRIR++ and PDist support for SPR and later modelsLike Xu1-12/+33
2023-01-24KVM: x86/pmu: Introduce masked events to the pmu event filterAaron Lewis1-30/+167
2023-01-24KVM: x86/pmu: prepare the pmu event filter for masked eventsAaron Lewis1-23/+33
2023-01-24KVM: x86/pmu: Remove impossible events from the pmu event filterAaron Lewis1-1/+18
2023-01-24KVM: x86/pmu: Correct the mask used in a pmu event filter lookupAaron Lewis1-1/+2
2022-12-29KVM: x86: Unify pr_fmt to use module name for all KVM modulesSean Christopherson1-0/+1
2022-12-23KVM: x86/pmu: Prevent zero period event from being repeatedly releasedLike Xu1-1/+2
2022-11-09KVM: x86/pmu: Defer counter emulated overflow via pmc->prev_counterLike Xu1-16/+16
2022-11-09KVM: x86/pmu: Defer reprogram_counter() to kvm_pmu_handle_event()Like Xu1-5/+12
2022-11-09KVM: x86/pmu: Clear "reprogram" bit if counter is disabled or disallowedSean Christopherson1-14/+24
2022-11-09KVM: x86/pmu: Force reprogramming of all counters on PMU filter changeSean Christopherson1-1/+12
2022-11-09KVM: x86/pmu: Limit the maximum number of supported Intel GP countersLike Xu1-1/+1
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