diff options
author | Kan Liang <kan.liang@linux.intel.com> | 2023-06-15 20:32:42 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2023-06-16 17:46:33 +0300 |
commit | a6742cb90b567f952a95efa27dee345748d09fc7 (patch) | |
tree | af072b33cd22c040affc46c08fbb89461f805165 /mm | |
parent | b50f26a44887f3f71ff5457135ee1d5f1d542d7d (diff) | |
download | linux-a6742cb90b567f952a95efa27dee345748d09fc7.tar.xz |
perf/x86/intel: Fix the FRONTEND encoding on GNR and MTL
When counting a FRONTEND event, the MSR_PEBS_FRONTEND is not correctly
set on GNR and MTL p-core.
The umask value for the FRONTEND events is changed on GNR and MTL. The
new umask is missing in the extra_regs[] table.
Add a dedicated intel_gnr_extra_regs[] for GNR and MTL p-core.
Fixes: bc4000fdb009 ("perf/x86/intel: Add Granite Rapids")
Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: stable@vger.kernel.org
Link: https://lkml.kernel.org/r/20230615173242.3726364-1-kan.liang@linux.intel.com
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions