summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/pmu.c
AgeCommit message (Expand)AuthorFilesLines
2024-07-16KVM: x86/pmu: Add kvm_pmu_call() to simplify static calls of kvm_pmu_opsWei Wang1-12/+12
2024-07-16KVM: x86: Introduce kvm_x86_call() to simplify static calls of kvm_x86_opsWei Wang1-2/+3
2024-07-16KVM: x86: Replace static_call_cond() with static_call()Wei Wang1-3/+3
2024-07-16Merge tag 'kvm-x86-pmu-6.11' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini1-18/+18
2024-07-16Merge tag 'kvm-x86-misc-6.11' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini1-1/+1
2024-06-28KVM: x86/pmu: Introduce distinct macros for GP/fixed counter max numberDapeng Mi1-1/+1
2024-06-12KVM: Delete the now unused kvm_arch_sched_in()Sean Christopherson1-3/+3
2024-06-11KVM: x86/pmu: Squash period for checkpointed events based on host HLE/RTMSean Christopherson1-1/+1
2024-06-04KVM: x86/pmu: Manipulate FIXED_CTR_CTRL MSR with macrosDapeng Mi1-5/+5
2024-06-04KVM: x86/pmu: Change ambiguous _mask suffix to _rsvd in kvm_pmuDapeng Mi1-8/+8
2024-06-03KVM: x86/pmu: Switch to new Intel CPU model definesTony Luck1-4/+4
2024-04-08KVM: x86/pmu: Set enable bits for GP counters in PERF_GLOBAL_CTRL at "RESET"Sean Christopherson1-2/+14
2024-02-01KVM: x86/pmu: Avoid CPL lookup if PMC enabline for USER and KERNEL is the sameSean Christopherson1-0/+7
2024-02-01KVM: x86/pmu: Check eventsel first when emulating (branch) insns retiredSean Christopherson1-6/+3
2024-02-01KVM: x86/pmu: Expand the comment about what bits are check emulating eventsSean Christopherson1-1/+14
2024-02-01KVM: x86/pmu: Snapshot event selectors that KVM emulates in softwareSean Christopherson1-9/+8
2024-02-01KVM: x86/pmu: Process only enabled PMCs when emulating events in softwareSean Christopherson1-1/+10
2024-02-01KVM: x86/pmu: Add macros to iterate over all PMCs given a bitmapSean Christopherson1-19/+7
2024-02-01KVM: x86/pmu: Snapshot and clear reprogramming bitmap before reprogrammingSean Christopherson1-23/+29
2024-02-01KVM: x86/pmu: Move pmc_idx => pmc translation helper to common codeSean Christopherson1-4/+4
2024-02-01KVM: x86/pmu: Add common define to capture fixed counters offsetSean Christopherson1-4/+4
2024-02-01KVM: x86/pmu: Zero out PMU metadata on AMD if PMU is disabledSean Christopherson1-2/+18
2024-01-31KVM: x86/pmu: Apply "fast" RDPMC only to Intel PMUsSean Christopherson1-2/+1
2024-01-31KVM: x86/pmu: Prioritize VMX interception over #GP on RDPMC due to bad indexSean Christopherson1-3/+13
2024-01-31KVM: x86/pmu: Allow programming events that match unsupported arch eventsSean Christopherson1-1/+0
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