Message ID | 20201125213720.15692-1-kan.liang@linux.intel.com |
---|---|
State | Accepted |
Commit | 46b72e1bf4fc571da0c29c6fb3e5b2a2107a4c26 |
Headers | show |
Series | [1/2] perf/x86/intel: Fix rtm_abort_event encoding on Ice Lake | expand |
diff --git a/arch/x86/events/intel/core.c b/arch/x86/events/intel/core.c index ec503399c5df..c5aca399a46a 100644 --- a/arch/x86/events/intel/core.c +++ b/arch/x86/events/intel/core.c @@ -5321,7 +5321,7 @@ __init int intel_pmu_init(void) mem_attr = icl_events_attrs; td_attr = icl_td_events_attrs; tsx_attr = icl_tsx_events_attrs; - x86_pmu.rtm_abort_event = X86_CONFIG(.event=0xca, .umask=0x02); + x86_pmu.rtm_abort_event = X86_CONFIG(.event=0xc9, .umask=0x04); x86_pmu.lbr_pt_coexist = true; intel_pmu_pebs_data_source_skl(pmem); x86_pmu.update_topdown_event = icl_update_topdown_event;