perf/x86/uncore: Clean up uncore_pci_ids[]
mainline inclusion from mainline-v5.19-rc1 commit e5ae168e category: feature feature: SRF core PMU support bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I8RWG5 CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e5ae168e8394dc3c6dce580690c87ff2cf16cdbb Intel-SIG: commit e5ae168e perf/x86/uncore: Clean up uncore_pci_ids[] Backport as a dependency for Sierra Forrest core PMU support. ------------------------------------- The initialization code to assign PCI IDs for different platforms is similar. Add the new macros to reduce the redundant code. Signed-off-by:Kan Liang <kan.liang@linux.intel.com> Signed-off-by:
Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/20220504194413.1003071-4-kan.liang@linux.intel.com Signed-off-by:
Yunying Sun <yunying.sun@intel.com>
Loading
Please sign in to comment