summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/pmu.c
Commit message (Expand)AuthorAgeFilesLines
* KVM: x86/pmu: Synthesize at most one PMI per VM-exitJim Mattson2023-09-251-26/+1
* KVM: x86/pmu: Move .hw_event_available() check out of PMC filter helperSean Christopherson2023-08-021-3/+1
* KVM: x86/svm/pmu: Add AMD PerfMonV2 supportLike Xu2023-06-061-1/+17
* KVM: x86/pmu: Provide Intel PMU's pmc_is_enabled() as generic x86 codeLike Xu2023-06-061-5/+0
* KVM: x86/pmu: Move handling PERF_GLOBAL_CTRL and friends to common x86Like Xu2023-06-061-3/+68
* Merge tag 'kvm-x86-pmu-6.4' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini2023-04-261-7/+14
|\
| * KVM: x86/pmu: Prevent the PMU from counting disallowed eventsAaron Lewis2023-04-071-5/+8
| * KVM: x86/pmu: Fix a typo in kvm_pmu_request_counter_reprogam()Like Xu2023-04-071-1/+1
| * KVM: x86/pmu: Rename pmc_is_enabled() to pmc_is_globally_enabled()Like Xu2023-04-061-3/+3
| * KVM: x86/pmu: WARN and bug the VM if PMU is refreshed after vCPU has runSean Christopherson2023-04-061-0/+3
| * KVM: x86/pmu: Zero out pmu->all_valid_pmc_idx each time it's refreshedLike Xu2023-04-051-0/+1
* | KVM: x86: Add helpers to query individual CR0/CR4 bitsBinbin Wu2023-03-221-2/+2
* | KVM: x86: Make use of kvm_read_cr*_bits() when testing bitsMathias Krause2023-03-221-2/+2
|/
* Merge tag 'kvm-x86-pmu-6.3' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini2023-02-151-50/+236
|\
| * KVM: x86/pmu: Add PRIR++ and PDist support for SPR and later modelsLike Xu2023-02-011-12/+33
| * KVM: x86/pmu: Introduce masked events to the pmu event filterAaron Lewis2023-01-241-30/+167
| * KVM: x86/pmu: prepare the pmu event filter for masked eventsAaron Lewis2023-01-241-23/+33
| * KVM: x86/pmu: Remove impossible events from the pmu event filterAaron Lewis2023-01-241-1/+18
| * KVM: x86/pmu: Correct the mask used in a pmu event filter lookupAaron Lewis2023-01-241-1/+2
* | KVM: x86: Optimize kvm->lock and SRCU interaction (KVM_SET_PMU_EVENT_FILTER)Michal Luczaj2023-02-031-2/+1
|/
* KVM: x86: Unify pr_fmt to use module name for all KVM modulesSean Christopherson2022-12-291-0/+1
* KVM: x86/pmu: Prevent zero period event from being repeatedly releasedLike Xu2022-12-231-1/+2
* KVM: x86/pmu: Defer counter emulated overflow via pmc->prev_counterLike Xu2022-11-091-16/+16
* KVM: x86/pmu: Defer reprogram_counter() to kvm_pmu_handle_event()Like Xu2022-11-091-5/+12
* KVM: x86/pmu: Clear "reprogram" bit if counter is disabled or disallowedSean Christopherson2022-11-091-14/+24
* KVM: x86/pmu: Force reprogramming of all counters on PMU filter changeSean Christopherson2022-11-091-1/+12
* 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