perf/x86/uncore: Ignore broken units in discovery table
mainline inclusion from mainline-v6.3-rc1 commit bd9514a4 category: bugfix bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I7H29Y CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bd9514a4d5ec25b29728720ca8b3a9ac4e3137d7 Intel-SIG: commit bd9514a4 perf/x86/uncore: Ignore broken units in discovery table Backport SPR MCC UPI uncore discovery warning fixes to OLK-5.10. ------------------------------------- Some units in a discovery table may be broken, e.g., UPI of SPR MCC. A generic method is required to ignore the broken units. Add uncore_units_ignore in the struct intel_uncore_init_fun, which indicates the type ID of broken units. It will be assigned by the platform-specific code later when the platform has a broken discovery table. Signed-off-by: NKan Liang <kan.liang@linux.intel.com> Signed-off-by: NPeter Zijlstra (Intel) <peterz@infradead.org> Tested-by: NMichael Petlan <mpetlan@redhat.com> Link: https://lore.kernel.org/r/20230112200105.733466-4-kan.liang@linux.intel.comSigned-off-by: NYunying Sun <yunying.sun@intel.com>
Showing
想要评论请 注册 或 登录