summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/pmu.c
AgeCommit message (Expand)AuthorFilesLines
2023-11-30KVM: x86/pmu: Track emulated counter events instead of previous counterSean Christopherson1-13/+35
2023-11-30KVM: x86/pmu: Update sample period in pmc_write_counter()Sean Christopherson1-0/+27
2023-11-30KVM: x86/pmu: Remove manual clearing of fields in kvm_pmu_init()Sean Christopherson1-2/+0
2023-11-30KVM: x86/pmu: Stop calling kvm_pmu_reset() at RESET (it's redundant)Sean Christopherson1-1/+1
2023-11-30KVM: x86/pmu: Reset the PMU, i.e. stop counters, before refreshingSean Christopherson1-13/+22
2023-11-30KVM: x86/pmu: Move PMU reset logic to common x86 codeSean Christopherson1-1/+39
2023-09-26KVM: x86/pmu: Synthesize at most one PMI per VM-exitJim Mattson1-26/+1
2023-08-03KVM: x86/pmu: Move .hw_event_available() check out of PMC filter helperSean Christopherson1-3/+1
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