summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/vmx/pmu_intel.c
Commit message (Expand)AuthorAgeFilesLines
* KVM: VMX: Snapshot LBR capabilities during module initializationSean Christopherson2024-04-111-1/+1
* Merge tag 'kvm-x86-pmu-6.9' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini2024-03-111-135/+85
|\
| * KVM: x86/pmu: Add macros to iterate over all PMCs given a bitmapSean Christopherson2024-02-011-5/+2
| * KVM: x86/pmu: Move pmc_idx => pmc translation helper to common codeSean Christopherson2024-02-011-14/+1
| * KVM: x86/pmu: Add common define to capture fixed counters offsetSean Christopherson2024-02-011-6/+6
| * KVM: x86/pmu: Zero out PMU metadata on AMD if PMU is disabledSean Christopherson2024-02-011-14/+2
| * KVM: x86/pmu: Explicitly check for RDPMC of unsupported Intel PMC typesSean Christopherson2024-01-301-6/+15
| * KVM: x86/pmu: Treat "fixed" PMU type in RDPMC as index as a value, not flagSean Christopherson2024-01-301-3/+11
| * KVM: x86/pmu: Disallow "fast" RDPMC for architectural Intel PMUsSean Christopherson2024-01-301-4/+18
| * KVM: x86/pmu: Apply "fast" RDPMC only to Intel PMUsSean Christopherson2024-01-301-2/+14
| * KVM: x86/pmu: Prioritize VMX interception over #GP on RDPMC due to bad indexSean Christopherson2024-01-301-12/+0
| * KVM: x86/pmu: Get eventsel for fixed counters from perfSean Christopherson2024-01-301-13/+17
| * KVM: x86/pmu: Setup fixed counters' eventsel during PMU initializationSean Christopherson2024-01-301-11/+5
| * KVM: x86/pmu: Remove KVM's enumeration of Intel's architectural encodingsSean Christopherson2024-01-301-49/+23
| * KVM: x86/pmu: Allow programming events that match unsupported arch eventsSean Christopherson2024-01-301-38/+0
| * KVM: x86/pmu: Always treat Fixed counters as available when supportedSean Christopherson2024-01-301-1/+14
* | KVM: x86/pmu: Fix type length error when reading pmu->fixed_ctr_ctrlMingwei Zhang2024-02-021-1/+1
|/
* KVM: x86/pmu: Update sample period in pmc_write_counter()Sean Christopherson2023-11-301-2/+0
* KVM: x86/pmu: Move PMU reset logic to common x86 codeSean Christopherson2023-11-301-20/+0
* KVM: x86/pmu: Truncate counter value to allowed width on writeRoman Kagan2023-09-251-2/+2
* KVM: x86/pmu: Require nr fixed_pmc_events to match nr max fixed countersSean Christopherson2023-08-021-10/+9
* KVM: x86/pmu: Simplify intel_hw_event_available()Sean Christopherson2023-08-021-7/+6
* KVM: x86/pmu: Use enums instead of hardcoded magic for arch event indicesSean Christopherson2023-08-021-12/+43
* Merge tag 'kvm-x86-vmx-6.5' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini2023-07-011-2/+0
|\
| * KVM: x86/pmu: Remove redundant check for MSR_IA32_DS_AREA set handlerJinrong Liang2023-06-011-2/+0
* | KVM: x86/pmu: Disable vPMU if the minimum num of counters isn't metLike Xu2023-06-061-0/+1
* | KVM: x86/pmu: Provide Intel PMU's pmc_is_enabled() as generic x86 codeLike Xu2023-06-061-13/+1
* | KVM: x86/pmu: Move handling PERF_GLOBAL_CTRL and friends to common x86Like Xu2023-06-061-45/+2
* | KVM: x86/pmu: Reject userspace attempts to set reserved GLOBAL_STATUS bitsLike Xu2023-06-061-0/+3
* | KVM: x86/pmu: Move reprogram_counters() to pmu.hLike Xu2023-06-061-12/+0
* | KVM: x86/pmu: Rename global_ovf_ctrl_mask to global_status_maskSean Christopherson2023-06-061-4/+14
|/
* KVM: x86/pmu: Fix a typo in kvm_pmu_request_counter_reprogam()Like Xu2023-04-071-2/+2
* KVM: x86/pmu: Rewrite reprogram_counters() to improve performanceLike Xu2023-04-061-6/+6
* KVM: VMX: Refactor intel_pmu_{g,}set_msr() to align with other helpersSean Christopherson2023-04-061-52/+57
* KVM: x86/pmu: Zero out LBR capabilities during PMU refreshSean Christopherson2023-04-061-0/+10
* KVM: x86/pmu: Cap kvm_pmu_cap.num_counters_gp at KVM's internal maxSean Christopherson2023-01-261-0/+1
* KVM: x86/pmu: Drop event_type and rename "struct kvm_event_hw_type_mapping"Like Xu2023-01-261-9/+12
* KVM: x86/pmu: Correct the mask used in a pmu event filter lookupAaron Lewis2023-01-241-0/+1
* KVM: x86: Unify pr_fmt to use module name for all KVM modulesSean Christopherson2022-12-291-2/+3
* KVM: x86/pmu: Defer counter emulated overflow via pmc->prev_counterLike Xu2022-11-091-2/+2
* KVM: x86/pmu: Defer reprogram_counter() to kvm_pmu_handle_event()Like Xu2022-11-091-3/+3
* KVM: x86: Init vcpu->arch.perf_capabilities in common x86 codeSean Christopherson2022-11-091-1/+0
* KVM: x86: Track supported PERF_CAPABILITIES in kvm_capsSean Christopherson2022-11-091-1/+1
* KVM: x86/pmu: Limit the maximum number of supported Intel GP countersLike Xu2022-11-091-2/+2
* KVM: x86/pmu: Avoid using PEBS perf_events for normal countersLike Xu2022-09-281-0/+2
* KVM: x86/pmu: Refactor PERF_GLOBAL_CTRL update helper for reuse by PEBSLike Xu2022-09-281-7/+5
* KVM: x86/pmu: Avoid setting BIT_ULL(-1) to pmu->host_cross_mapped_maskLike Xu2022-09-281-6/+9
* KVM: VMX: Adjust number of LBR records for PERF_CAPABILITIES at refreshSean Christopherson2022-08-101-9/+3
* Revert "KVM: nVMX: Expose load IA32_PERF_GLOBAL_CTRL VM-{Entry,Exit} control"Paolo Bonzini2022-07-281-3/+0
* KVM: VMX: Add helper to check if the guest PMU has PERF_GLOBAL_CTRLSean Christopherson2022-07-281-2/+2