summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/pmu.h
AgeCommit message (Expand)AuthorFilesLines
2024-02-01KVM: x86/pmu: Snapshot event selectors that KVM emulates in softwareSean Christopherson1-1/+12
2024-02-01KVM: x86/pmu: Add macros to iterate over all PMCs given a bitmapSean Christopherson1-0/+6
2024-02-01KVM: x86/pmu: Move pmc_idx => pmc translation helper to common codeSean Christopherson1-1/+28
2024-02-01KVM: x86/pmu: Add common define to capture fixed counters offsetSean Christopherson1-1/+3
2024-01-31KVM: x86/pmu: Prioritize VMX interception over #GP on RDPMC due to bad indexSean Christopherson1-2/+2
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-1/+2
2023-11-30KVM: x86/pmu: Update sample period in pmc_write_counter()Sean Christopherson1-24/+1
2023-11-30KVM: x86/pmu: Stop calling kvm_pmu_reset() at RESET (it's redundant)Sean Christopherson1-1/+0
2023-11-30KVM: x86/pmu: Move PMU reset logic to common x86 codeSean Christopherson1-18/+0
2023-09-26KVM: x86/pmu: Truncate counter value to allowed width on writeRoman Kagan1-0/+6
2023-06-07KVM: x86/pmu: Disable vPMU if the minimum num of counters isn't metLike Xu1-4/+10
2023-06-07KVM: x86/pmu: Provide Intel PMU's pmc_is_enabled() as generic x86 codeLike Xu1-1/+15
2023-06-07KVM: x86/pmu: Move handling PERF_GLOBAL_CTRL and friends to common x86Like Xu1-0/+14
2023-06-07KVM: x86/pmu: Move reprogram_counters() to pmu.hLike Xu1-0/+12
2023-04-07KVM: x86/pmu: Fix a typo in kvm_pmu_request_counter_reprogam()Like Xu1-1/+1
2023-02-25Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-7/+6
2023-02-15KVM: x86/pmu: Disable vPMU support on hybrid CPUs (host PMUs)Sean Christopherson1-7/+19
2023-01-27KVM: x86/pmu: Cap kvm_pmu_cap.num_counters_gp at KVM's internal maxSean Christopherson1-1/+4
2023-01-27KVM: x86/pmu: Drop event_type and rename "struct kvm_event_hw_type_mapping"Like Xu1-6/+0
2023-01-24KVM: x86/pmu: Correct the mask used in a pmu event filter lookupAaron Lewis1-0/+2
2022-12-23KVM: x86/pmu: Prevent zero period event from being repeatedly releasedLike Xu1-1/+2
2022-11-09KVM: x86/pmu: Defer reprogram_counter() to kvm_pmu_handle_event()Like Xu1-1/+5
2022-06-20Revert "KVM: x86: always allow host-initiated writes to PMU MSRs"Sean Christopherson1-2/+2
2022-06-08KVM: x86/pmu: Restrict advanced features based on module enable_pmuLike Xu1-2/+4
2022-06-08KVM: x86/pmu: Avoid exposing Intel BTS featureLike Xu1-0/+3
2022-06-08KVM: x86/pmu: Update global enable_pmu when PMU is undetectedLike Xu1-5/+10
2022-06-08KVM: x86/pmu: Drop amd_event_mapping[] in the KVM contextLike Xu1-1/+1
2022-06-08KVM: x86/pmu: Use only the uniform interface reprogram_counter()Paolo Bonzini1-2/+0
2022-06-08KVM: x86/pmu: Drop "u8 ctrl, int idx" for reprogram_fixed_counter()Like Xu1-1/+1
2022-06-08KVM: x86/pmu: Drop "u64 eventsel" for reprogram_gp_counter()Like Xu1-1/+1
2022-06-08KVM: x86/pmu: Pass only "struct kvm_pmc *pmc" to reprogram_counter()Like Xu1-1/+1
2022-06-08KVM: x86: always allow host-initiated writes to PMU MSRsPaolo Bonzini1-2/+2
2022-06-08KVM: x86/pmu: remove useless prototypePaolo Bonzini1-1/+0
2022-06-08KVM: x86/pmu: Move the vmx_icl_pebs_cpu[] definition out of the header fileLike Xu1-8/+0
2022-06-08KVM: x86/pmu: Add kvm_pmu_cap to optimize perf_get_x86_pmu_capabilityLike Xu1-0/+19
2022-06-08KVM: x86/pmu: Move pmc_speculative_in_use() to arch/x86/kvm/pmu.hLike Xu1-0/+11
2022-06-08KVM: x86/pmu: Adjust precise_ip to emulate Ice Lake guest PDIR counterLike Xu1-0/+8
2022-05-25Merge tag 'kvmarm-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/kvma...Paolo Bonzini1-0/+9
2022-04-21KVM: x86/pmu: Update AMD PMC sample period to fix guest NMI-watchdogLike Xu1-0/+9
2022-04-13KVM: x86: Copy kvm_pmu_ops by value to eliminate layer of indirectionLike Xu1-5/+2
2022-02-02KVM: x86: use the KVM side max supported fixed counterWei Wang1-2/+0
2022-01-07KVM: x86: Update vPMCs when retiring instructionsEric Hankland1-0/+1
2022-01-07KVM: x86/pmu: Reuse pmc_perf_hw_id() and drop find_fixed_event()Like Xu1-1/+0
2022-01-07KVM: x86/pmu: Refactoring find_arch_event() to pmc_perf_hw_id()Like Xu1-2/+1
2021-11-11kvm: x86: Convert return type of *is_valid_rdpmc_ecx() to boolJim Mattson1-2/+2
2021-08-04KVM: x86/pmu: Introduce pmc->is_paused to reduce the call time of perf interf...Like Xu1-1/+1
2021-03-18x86: Fix various typos in commentsIngo Molnar1-1/+1
2021-02-04KVM: vmx/pmu: Release guest LBR event via lazy release mechanismLike Xu1-0/+1
2021-02-04KVM: vmx/pmu: Emulate legacy freezing LBRs on virtual PMILike Xu1-0/+1