summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/pmu.c
AgeCommit message (Expand)Author
2024-04-08KVM: x86/pmu: Set enable bits for GP counters in PERF_GLOBAL_CTRL at "RESET"Sean Christopherson
2024-02-01KVM: x86/pmu: Avoid CPL lookup if PMC enabline for USER and KERNEL is the sameSean Christopherson
2024-02-01KVM: x86/pmu: Check eventsel first when emulating (branch) insns retiredSean Christopherson
2024-02-01KVM: x86/pmu: Expand the comment about what bits are check emulating eventsSean Christopherson
2024-02-01KVM: x86/pmu: Snapshot event selectors that KVM emulates in softwareSean Christopherson
2024-02-01KVM: x86/pmu: Process only enabled PMCs when emulating events in softwareSean Christopherson
2024-02-01KVM: x86/pmu: Add macros to iterate over all PMCs given a bitmapSean Christopherson
2024-02-01KVM: x86/pmu: Snapshot and clear reprogramming bitmap before reprogrammingSean Christopherson
2024-02-01KVM: x86/pmu: Move pmc_idx => pmc translation helper to common codeSean Christopherson
2024-02-01KVM: x86/pmu: Add common define to capture fixed counters offsetSean Christopherson
2024-02-01KVM: x86/pmu: Zero out PMU metadata on AMD if PMU is disabledSean Christopherson
2024-01-30KVM: x86/pmu: Apply "fast" RDPMC only to Intel PMUsSean Christopherson
2024-01-30KVM: x86/pmu: Prioritize VMX interception over #GP on RDPMC due to bad indexSean Christopherson
2024-01-30KVM: x86/pmu: Allow programming events that match unsupported arch eventsSean Christopherson
2023-11-30KVM: x86/pmu: Track emulated counter events instead of previous counterSean Christopherson
2023-11-30KVM: x86/pmu: Update sample period in pmc_write_counter()Sean Christopherson
2023-11-30KVM: x86/pmu: Remove manual clearing of fields in kvm_pmu_init()Sean Christopherson
2023-11-30KVM: x86/pmu: Stop calling kvm_pmu_reset() at RESET (it's redundant)Sean Christopherson
2023-11-30KVM: x86/pmu: Reset the PMU, i.e. stop counters, before refreshingSean Christopherson
2023-11-30KVM: x86/pmu: Move PMU reset logic to common x86 codeSean Christopherson
2023-09-25KVM: x86/pmu: Synthesize at most one PMI per VM-exitJim Mattson
2023-08-02KVM: x86/pmu: Move .hw_event_available() check out of PMC filter helperSean Christopherson
2023-06-06KVM: x86/svm/pmu: Add AMD PerfMonV2 supportLike Xu
2023-06-06KVM: x86/pmu: Provide Intel PMU's pmc_is_enabled() as generic x86 codeLike Xu
2023-06-06KVM: x86/pmu: Move handling PERF_GLOBAL_CTRL and friends to common x86Like Xu
2023-04-26Merge tag 'kvm-x86-pmu-6.4' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini
2023-04-07KVM: x86/pmu: Prevent the PMU from counting disallowed eventsAaron Lewis
2023-04-07KVM: x86/pmu: Fix a typo in kvm_pmu_request_counter_reprogam()Like Xu
2023-04-06KVM: x86/pmu: Rename pmc_is_enabled() to pmc_is_globally_enabled()Like Xu
2023-04-06KVM: x86/pmu: WARN and bug the VM if PMU is refreshed after vCPU has runSean Christopherson
2023-04-05KVM: x86/pmu: Zero out pmu->all_valid_pmc_idx each time it's refreshedLike Xu
2023-03-22KVM: x86: Add helpers to query individual CR0/CR4 bitsBinbin Wu
2023-03-22KVM: x86: Make use of kvm_read_cr*_bits() when testing bitsMathias Krause
2023-02-15Merge tag 'kvm-x86-pmu-6.3' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini
2023-02-03KVM: x86: Optimize kvm->lock and SRCU interaction (KVM_SET_PMU_EVENT_FILTER)Michal Luczaj
2023-02-01KVM: x86/pmu: Add PRIR++ and PDist support for SPR and later modelsLike Xu
2023-01-24KVM: x86/pmu: Introduce masked events to the pmu event filterAaron Lewis
2023-01-24KVM: x86/pmu: prepare the pmu event filter for masked eventsAaron Lewis
2023-01-24KVM: x86/pmu: Remove impossible events from the pmu event filterAaron Lewis
2023-01-24KVM: x86/pmu: Correct the mask used in a pmu event filter lookupAaron Lewis
2022-12-29KVM: x86: Unify pr_fmt to use module name for all KVM modulesSean Christopherson
2022-12-23KVM: x86/pmu: Prevent zero period event from being repeatedly releasedLike Xu
2022-11-09KVM: x86/pmu: Defer counter emulated overflow via pmc->prev_counterLike Xu
2022-11-09KVM: x86/pmu: Defer reprogram_counter() to kvm_pmu_handle_event()Like Xu
2022-11-09KVM: x86/pmu: Clear "reprogram" bit if counter is disabled or disallowedSean Christopherson
2022-11-09KVM: x86/pmu: Force reprogramming of all counters on PMU filter changeSean Christopherson
2022-11-09KVM: x86/pmu: Limit the maximum number of supported Intel GP countersLike Xu
2022-09-28KVM: x86/pmu: Avoid using PEBS perf_events for normal countersLike Xu
2022-09-28KVM: x86/pmu: Don't generate PEBS records for emulated instructionsLike Xu
2022-06-20Revert "KVM: x86: always allow host-initiated writes to PMU MSRs"Sean Christopherson