projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64ad6d6
)
perf/x86/intel/uncore: Add iMC freerunning for Panther Lake
author
Kan Liang
<kan.liang@linux.intel.com>
Mon, 7 Jul 2025 20:17:50 +0000
(13:17 -0700)
committer
Peter Zijlstra
<peterz@infradead.org>
Wed, 9 Jul 2025 11:40:20 +0000
(13:40 +0200)
PTL uncore imc freerunning counters are the same as the previous HW.
Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
Link:
https://lore.kernel.org/r/20250707201750.616527-5-kan.liang@linux.intel.com
arch/x86/events/intel/uncore_snb.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/events/intel/uncore_snb.c
b/arch/x86/events/intel/uncore_snb.c
index 2afd4bb7b56486825902dadfa13422cf4c69af0d..807e582b8f17dcececcfd77859e4b45cf6faf550 100644
(file)
--- a/
arch/x86/events/intel/uncore_snb.c
+++ b/
arch/x86/events/intel/uncore_snb.c
@@
-1906,9
+1906,17
@@
static struct intel_uncore_type *ptl_uncores[UNCORE_PTL_MAX_NUM_UNCORE_TYPES] =
[UNCORE_PTL_TYPE_HBO] = &ptl_uncore_hbo,
};
+#define UNCORE_PTL_MMIO_EXTRA_UNCORES 1
+
+static struct intel_uncore_type *ptl_mmio_extra_uncores[UNCORE_PTL_MMIO_EXTRA_UNCORES] = {
+ &adl_uncore_imc_free_running,
+};
+
void ptl_uncore_mmio_init(void)
{
- uncore_mmio_uncores = uncore_get_uncores(UNCORE_ACCESS_MMIO, 0, NULL,
+ uncore_mmio_uncores = uncore_get_uncores(UNCORE_ACCESS_MMIO,
+ UNCORE_PTL_MMIO_EXTRA_UNCORES,
+ ptl_mmio_extra_uncores,
UNCORE_PTL_MAX_NUM_UNCORE_TYPES,
ptl_uncores);
}