summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/pmu.h
Commit message (Expand)AuthorAgeFilesLines
* 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-061-4/+10
* KVM: x86/pmu: Provide Intel PMU's pmc_is_enabled() as generic x86 codeLike Xu2023-06-061-1/+15
* KVM: x86/pmu: Move handling PERF_GLOBAL_CTRL and friends to common x86Like Xu2023-06-061-0/+14
* KVM: x86/pmu: Move reprogram_counters() to pmu.hLike Xu2023-06-061-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-261-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
* kvm: x86: limit the maximum number of vPMU fixed counters to 3Like Xu2020-07-081-0/+2
* KVM: x86/pmu: Tweak kvm_pmu_get_msr to pass 'struct msr_data' inWei Wang2020-06-011-2/+2
* KVM: x86: Copy kvm_x86_ops by value to eliminate layer of indirectionSean Christopherson2020-03-311-1/+1
* KVM: x86: Adjust counter sample period after a wrmsrEric Hankland2020-03-161-0/+9
* KVM: x86: Protect MSR-based index computations in pmu.h from Spectre-v1/L1TF ...Marios Pomonis2020-01-271-4/+14
* KVM: VMX: Add helper to check reserved bits in IA32_PERF_GLOBAL_CTRLOliver Upton2019-11-151-0/+6
* KVM: x86/vPMU: Add lazy mechanism to release perf_event per vPMCLike Xu2019-11-151-0/+2
* KVM: x86/vPMU: Reuse perf_event to avoid unnecessary pmc_reprogram_counterLike Xu2019-11-151-2/+10
* KVM: x86/vPMU: Introduce a new kvm_pmu_ops->msr_idx_to_pmc callbackLike Xu2019-11-151-0/+1
* KVM: x86/vPMU: Rename pmu_ops callbacks from msr_idx to rdpmc_ecxLike Xu2019-11-151-4/+4