aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kvm/pmu.h
AgeCommit message (Expand)AuthorFilesLines
2024-02-01KVM: x86/pmu: Snapshot event selectors that KVM emulates in softwareGravatar Sean Christopherson 1-1/+12
2024-02-01KVM: x86/pmu: Add macros to iterate over all PMCs given a bitmapGravatar Sean Christopherson 1-0/+6
2024-02-01KVM: x86/pmu: Move pmc_idx => pmc translation helper to common codeGravatar Sean Christopherson 1-1/+28
2024-02-01KVM: x86/pmu: Add common define to capture fixed counters offsetGravatar Sean Christopherson 1-1/+3
2024-01-30KVM: x86/pmu: Prioritize VMX interception over #GP on RDPMC due to bad indexGravatar Sean Christopherson 1-2/+2
2024-01-30KVM: x86/pmu: Allow programming events that match unsupported arch eventsGravatar Sean Christopherson 1-1/+0
2023-11-30KVM: x86/pmu: Track emulated counter events instead of previous counterGravatar Sean Christopherson 1-1/+2
2023-11-30KVM: x86/pmu: Update sample period in pmc_write_counter()Gravatar Sean Christopherson 1-24/+1
2023-11-30KVM: x86/pmu: Stop calling kvm_pmu_reset() at RESET (it's redundant)Gravatar Sean Christopherson 1-1/+0
2023-11-30KVM: x86/pmu: Move PMU reset logic to common x86 codeGravatar Sean Christopherson 1-18/+0
2023-09-25KVM: x86/pmu: Truncate counter value to allowed width on writeGravatar Roman Kagan 1-0/+6
2023-06-06KVM: x86/pmu: Disable vPMU if the minimum num of counters isn't metGravatar Like Xu 1-4/+10
2023-06-06KVM: x86/pmu: Provide Intel PMU's pmc_is_enabled() as generic x86 codeGravatar Like Xu 1-1/+15
2023-06-06KVM: x86/pmu: Move handling PERF_GLOBAL_CTRL and friends to common x86Gravatar Like Xu 1-0/+14
2023-06-06KVM: x86/pmu: Move reprogram_counters() to pmu.hGravatar Like Xu 1-0/+12
2023-04-07KVM: x86/pmu: Fix a typo in kvm_pmu_request_counter_reprogam()Gravatar Like Xu 1-1/+1
2023-02-25Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmGravatar Linus Torvalds 1-7/+6
2023-02-15KVM: x86/pmu: Disable vPMU support on hybrid CPUs (host PMUs)Gravatar Sean Christopherson 1-7/+19
2023-01-26KVM: x86/pmu: Cap kvm_pmu_cap.num_counters_gp at KVM's internal maxGravatar Sean Christopherson 1-1/+4
2023-01-26KVM: x86/pmu: Drop event_type and rename "struct kvm_event_hw_type_mapping"Gravatar Like Xu 1-6/+0
2023-01-24KVM: x86/pmu: Correct the mask used in a pmu event filter lookupGravatar Aaron Lewis 1-0/+2
2022-12-23KVM: x86/pmu: Prevent zero period event from being repeatedly releasedGravatar Like Xu 1-1/+2
2022-11-09KVM: x86/pmu: Defer reprogram_counter() to kvm_pmu_handle_event()Gravatar Like Xu 1-1/+5
2022-06-20Revert "KVM: x86: always allow host-initiated writes to PMU MSRs"Gravatar Sean Christopherson 1-2/+2
2022-06-08KVM: x86/pmu: Restrict advanced features based on module enable_pmuGravatar Like Xu 1-2/+4
2022-06-08KVM: x86/pmu: Avoid exposing Intel BTS featureGravatar Like Xu 1-0/+3
2022-06-08KVM: x86/pmu: Update global enable_pmu when PMU is undetectedGravatar Like Xu 1-5/+10
2022-06-08KVM: x86/pmu: Drop amd_event_mapping[] in the KVM contextGravatar Like Xu 1-1/+1
2022-06-08KVM: x86/pmu: Use only the uniform interface reprogram_counter()Gravatar Paolo Bonzini 1-2/+0
2022-06-08KVM: x86/pmu: Drop "u8 ctrl, int idx" for reprogram_fixed_counter()Gravatar Like Xu 1-1/+1
2022-06-08KVM: x86/pmu: Drop "u64 eventsel" for reprogram_gp_counter()Gravatar Like Xu 1-1/+1
2022-06-08KVM: x86/pmu: Pass only "struct kvm_pmc *pmc" to reprogram_counter()Gravatar Like Xu 1-1/+1
2022-06-08KVM: x86: always allow host-initiated writes to PMU MSRsGravatar Paolo Bonzini 1-2/+2
2022-06-08KVM: x86/pmu: remove useless prototypeGravatar Paolo Bonzini 1-1/+0
2022-06-08KVM: x86/pmu: Move the vmx_icl_pebs_cpu[] definition out of the header fileGravatar Like Xu 1-8/+0
2022-06-08KVM: x86/pmu: Add kvm_pmu_cap to optimize perf_get_x86_pmu_capabilityGravatar Like Xu 1-0/+19
2022-06-08KVM: x86/pmu: Move pmc_speculative_in_use() to arch/x86/kvm/pmu.hGravatar Like Xu 1-0/+11
2022-06-08KVM: x86/pmu: Adjust precise_ip to emulate Ice Lake guest PDIR counterGravatar Like Xu 1-0/+8
2022-05-25Merge tag 'kvmarm-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/kvma...Gravatar Paolo Bonzini 1-0/+9
2022-04-21KVM: x86/pmu: Update AMD PMC sample period to fix guest NMI-watchdogGravatar Like Xu 1-0/+9
2022-04-13KVM: x86: Copy kvm_pmu_ops by value to eliminate layer of indirectionGravatar Like Xu 1-5/+2
2022-02-02KVM: x86: use the KVM side max supported fixed counterGravatar Wei Wang 1-2/+0
2022-01-07KVM: x86: Update vPMCs when retiring instructionsGravatar Eric Hankland 1-0/+1
2022-01-07KVM: x86/pmu: Reuse pmc_perf_hw_id() and drop find_fixed_event()Gravatar Like Xu 1-1/+0
2022-01-07KVM: x86/pmu: Refactoring find_arch_event() to pmc_perf_hw_id()Gravatar Like Xu 1-2/+1
2021-11-11kvm: x86: Convert return type of *is_valid_rdpmc_ecx() to boolGravatar Jim Mattson 1-2/+2
2021-08-04KVM: x86/pmu: Introduce pmc->is_paused to reduce the call time of perf interf...Gravatar Like Xu 1-1/+1
2021-03-18x86: Fix various typos in commentsGravatar Ingo Molnar 1-1/+1
2021-02-04KVM: vmx/pmu: Release guest LBR event via lazy release mechanismGravatar Like Xu 1-0/+1
2021-02-04KVM: vmx/pmu: Emulate legacy freezing LBRs on virtual PMIGravatar Like Xu 1-0/+1