perf/x86/intel: Fix the FRONTEND encoding on GNR and MTL
mainline inclusion from mainline-v6.4 commit a6742cb9 category: feature feature: GNR core PMU bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I8RV41 CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a6742cb90b567f952a95efa27dee345748d09fc7 Intel-SIG: commit a6742cb9 perf/x86/intel: Fix the FRONTEND encoding on GNR and MTL Backport a following upstream bugfix for GNR core PMU support. ------------------------------------- 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: bc4000fd ("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 Signed-off-by:
Yunying Sun <yunying.sun@intel.com>
Loading
Please sign in to comment