summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/pmu.h (follow)
Commit message (Expand)AuthorAgeFilesLines
* KVM: x86/pmu: Snapshot event selectors that KVM emulates in softwareSean Christopherson2024-02-011-1/+12
* KVM: x86/pmu: Add macros to iterate over all PMCs given a bitmapSean Christopherson2024-02-011-0/+6
* KVM: x86/pmu: Move pmc_idx => pmc translation helper to common codeSean Christopherson2024-02-011-1/+28
* KVM: x86/pmu: Add common define to capture fixed counters offsetSean Christopherson2024-02-011-1/+3
* KVM: x86/pmu: Prioritize VMX interception over #GP on RDPMC due to bad indexSean Christopherson2024-01-311-2/+2
* KVM: x86/pmu: Allow programming events that match unsupported arch eventsSean Christopherson2024-01-311-1/+0
* KVM: x86/pmu: Track emulated counter events instead of previous counterSean Christopherson2023-11-301-1/+2
* KVM: x86/pmu: Update sample period in pmc_write_counter()Sean Christopherson2023-11-301-24/+1
* KVM: x86/pmu: Stop calling kvm_pmu_reset() at RESET (it's redundant)Sean Christopherson2023-11-301-1/+0
* KVM: x86/pmu: Move PMU reset logic to common x86 codeSean Christopherson2023-11-301-18/+0
* KVM: x86/pmu: Truncate counter value to allowed width on writeRoman Kagan2023-09-251-0/+6
* KVM: x86/pmu: Disable vPMU if the minimum num of counters isn't metLike Xu2023-06-071-4/+10
* KVM: x86/pmu: Provide Intel PMU's pmc_is_enabled() as generic x86 codeLike Xu2023-06-071-1/+15
* KVM: x86/pmu: Move handling PERF_GLOBAL_CTRL and friends to common x86Like Xu2023-06-071-0/+14
* KVM: x86/pmu: Move reprogram_counters() to pmu.hLike Xu2023-06-071-0/+12
* KVM: x86/pmu: Fix a typo in kvm_pmu_request_counter_reprogam()Like Xu2023-04-071-1/+1
* Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds2023-02-251-7/+6
|\
| * KVM: x86/pmu: Cap kvm_pmu_cap.num_counters_gp at KVM's internal maxSean Christopherson2023-01-271-1/+4
| * KVM: x86/pmu: Drop event_type and rename "struct kvm_event_hw_type_mapping"Like Xu2023-01-261-6/+0
| * KVM: x86/pmu: Correct the mask used in a pmu event filter lookupAaron Lewis2023-01-241-0/+2
* | KVM: x86/pmu: Disable vPMU support on hybrid CPUs (host PMUs)Sean Christopherson2023-02-151-7/+19
|/
* KVM: x86/pmu: Prevent zero period event from being repeatedly releasedLike Xu2022-12-231-1/+2
* KVM: x86/pmu: Defer reprogram_counter() to kvm_pmu_handle_event()Like Xu2022-11-091-1/+5
* Revert "KVM: x86: always allow host-initiated writes to PMU MSRs"Sean Christopherson2022-06-201-2/+2
* KVM: x86/pmu: Restrict advanced features based on module enable_pmuLike Xu2022-06-081-2/+4
* KVM: x86/pmu: Avoid exposing Intel BTS featureLike Xu2022-06-081-0/+3
* KVM: x86/pmu: Update global enable_pmu when PMU is undetectedLike Xu2022-06-081-5/+10
* KVM: x86/pmu: Drop amd_event_mapping[] in the KVM contextLike Xu2022-06-081-1/+1
* KVM: x86/pmu: Use only the uniform interface reprogram_counter()Paolo Bonzini2022-06-081-2/+0
* KVM: x86/pmu: Drop "u8 ctrl, int idx" for reprogram_fixed_counter()Like Xu2022-06-081-1/+1
* KVM: x86/pmu: Drop "u64 eventsel" for reprogram_gp_counter()Like Xu2022-06-081-1/+1
* KVM: x86/pmu: Pass only "struct kvm_pmc *pmc" to reprogram_counter()Like Xu2022-06-081-1/+1
* KVM: x86: always allow host-initiated writes to PMU MSRsPaolo Bonzini2022-06-081-2/+2
* KVM: x86/pmu: remove useless prototypePaolo Bonzini2022-06-081-1/+0
* KVM: x86/pmu: Move the vmx_icl_pebs_cpu[] definition out of the header fileLike Xu2022-06-081-8/+0
* KVM: x86/pmu: Add kvm_pmu_cap to optimize perf_get_x86_pmu_capabilityLike Xu2022-06-081-0/+19
* KVM: x86/pmu: Move pmc_speculative_in_use() to arch/x86/kvm/pmu.hLike Xu2022-06-081-0/+11
* KVM: x86/pmu: Adjust precise_ip to emulate Ice Lake guest PDIR counterLike Xu2022-06-081-0/+8
* Merge tag 'kvmarm-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/kvma...Paolo Bonzini2022-05-251-0/+9
|\
| * KVM: x86/pmu: Update AMD PMC sample period to fix guest NMI-watchdogLike Xu2022-04-211-0/+9
* | KVM: x86: Copy kvm_pmu_ops by value to eliminate layer of indirectionLike Xu2022-04-131-5/+2
|/
* KVM: x86: use the KVM side max supported fixed counterWei Wang2022-02-021-2/+0
* KVM: x86: Update vPMCs when retiring instructionsEric Hankland2022-01-071-0/+1
* KVM: x86/pmu: Reuse pmc_perf_hw_id() and drop find_fixed_event()Like Xu2022-01-071-1/+0
* KVM: x86/pmu: Refactoring find_arch_event() to pmc_perf_hw_id()Like Xu2022-01-071-2/+1
* kvm: x86: Convert return type of *is_valid_rdpmc_ecx() to boolJim Mattson2021-11-111-2/+2
* KVM: x86/pmu: Introduce pmc->is_paused to reduce the call time of perf interf...Like Xu2021-08-041-1/+1
* x86: Fix various typos in commentsIngo Molnar2021-03-181-1/+1
* KVM: vmx/pmu: Release guest LBR event via lazy release mechanismLike Xu2021-02-041-0/+1
* KVM: vmx/pmu: Emulate legacy freezing LBRs on virtual PMILike Xu2021-02-041-0/+1