]> git.ipfire.org Git - thirdparty/linux.git/commit
perf/x86/intel/uncore: Use D0:F0 as a default device
authorZhenyu Wang <zhenyuw@linux.intel.com>
Wed, 31 Jul 2024 14:13:53 +0000 (07:13 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 5 Aug 2024 14:54:46 +0000 (16:54 +0200)
commitaaad0e2aa50723969f96b690f72e2f4aefa433f2
tree6c6017866e0c859c2d480e6baa0bf8b2bb827c18
parent9ac57c456fcb17f07f8792219479b0c841d75ba7
perf/x86/intel/uncore: Use D0:F0 as a default device

Some uncore PMON registers are located in the MMIO space of the Host
Bridge and DRAM Controller device, which is located at D0:F0 for
Tiger Lake and later client generation.

Use D0:F0 as a default device. So it doesn't need to keep adding the
complete Device ID list for each generation anymore.

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Kan Liang <kan.liang@linux.intel.com>
Link: https://lore.kernel.org/r/20240731141353.759643-5-kan.liang@linux.intel.com
arch/x86/events/intel/uncore_snb.c