+2
−51
Loading
mainline inclusion from mainline-v6.10-rc1 commit 299a5fc8e783eed705015e83e381912dbbf3eabc category: bugfix bugzilla: https://gitee.com/openeuler/intel-kernel/issues/IAGLFT CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=299a5fc8e783eed705015e83e381912dbbf3eabc ------------------------------------- Use the intel_pmu_init_glc() and intel_pmu_init_grt() to replace the duplicate code for ADL. The current code already checks the PERF_X86_EVENT_TOPDOWN flag before invoking the Topdown metrics functions. (The PERF_X86_EVENT_TOPDOWN flag is to indicate the Topdown metric feature, which is only available for the p-core.) Drop the unnecessary adl_set_topdown_event_period() and adl_update_topdown_event(). Intel-SIG: commit 299a5fc8e783 perf/x86/intel: Apply the common initialization code for ADL Backport as a dependency needed by the GNR distinct pmu name fix Signed-off-by:Kan Liang <kan.liang@linux.intel.com> Signed-off-by:
Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20230829125806.3016082-5-kan.liang@linux.intel.com Signed-off-by:
Yunying Sun <yunying.sun@intel.com>