Message ID | 20220713122507.29236-2-likexu@tencent.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | KVM: x86/pmu: Fix some corner cases including Intel PEBS | expand |
diff --git a/arch/x86/events/intel/core.c b/arch/x86/events/intel/core.c index 4e9b7af9cc45..e46fd496187b 100644 --- a/arch/x86/events/intel/core.c +++ b/arch/x86/events/intel/core.c @@ -6239,6 +6239,7 @@ __init int intel_pmu_init(void) case INTEL_FAM6_ICELAKE_X: case INTEL_FAM6_ICELAKE_D: x86_pmu.pebs_ept = 1; + x86_pmu.pebs_capable = ~0ULL; pmem = true; fallthrough; case INTEL_FAM6_ICELAKE_L: