]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf/x86/intel/uncore: Remove has_generic_discovery_table()
authorZide Chen <zide.chen@intel.com>
Wed, 31 Dec 2025 22:42:20 +0000 (14:42 -0800)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 6 Jan 2026 15:34:23 +0000 (16:34 +0100)
commit1897336728b4ab0229fb73bb6f1e94cfe914afa9
tree5a680924aeb665369403dc0ebfb5941ecf85b849
parente75462f6c7eaa5affd922c9a14591cdd5e3ab63d
perf/x86/intel/uncore: Remove has_generic_discovery_table()

In the !x86_match_cpu() fallback path, has_generic_discovery_table()
is removed because it does not handle multiple PCI devices.  Instead,
use PCI_ANY_ID in generic_uncore_init[] to probe all PCI devices.

For MSR portals, only probe MSR 0x201e to keep the fallback simple, as
this path is best-effort only.

Signed-off-by: Zide Chen <zide.chen@intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
Link: https://patch.msgid.link/20251231224233.113839-4-zide.chen@intel.com
arch/x86/events/intel/uncore.c
arch/x86/events/intel/uncore_discovery.c