[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <175206209316.406.4737369497841047668.tip-bot2@tip-bot2>
Date: Wed, 09 Jul 2025 11:54:53 -0000
From: "tip-bot2 for Kan Liang" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Kan Liang <kan.liang@...ux.intel.com>,
"Peter Zijlstra (Intel)" <peterz@...radead.org>,
Dapeng Mi <dapeng1.mi@...ux.intel.com>, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject:
[tip: perf/core] perf/x86/intel/uncore: Add iMC freerunning for Panther Lake
The following commit has been merged into the perf/core branch of tip:
Commit-ID: 829f5a6308ce11c3edaa31498a825f8c41b9e9aa
Gitweb: https://git.kernel.org/tip/829f5a6308ce11c3edaa31498a825f8c41b9e9aa
Author: Kan Liang <kan.liang@...ux.intel.com>
AuthorDate: Mon, 07 Jul 2025 13:17:50 -07:00
Committer: Peter Zijlstra <peterz@...radead.org>
CommitterDate: Wed, 09 Jul 2025 13:40:20 +02:00
perf/x86/intel/uncore: Add iMC freerunning for Panther Lake
PTL uncore imc freerunning counters are the same as the previous HW.
Signed-off-by: Kan Liang <kan.liang@...ux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@...radead.org>
Reviewed-by: Dapeng Mi <dapeng1.mi@...ux.intel.com>
Link: https://lore.kernel.org/r/20250707201750.616527-5-kan.liang@linux.intel.com
---
arch/x86/events/intel/uncore_snb.c | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/arch/x86/events/intel/uncore_snb.c b/arch/x86/events/intel/uncore_snb.c
index 2afd4bb..807e582 100644
--- 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);
}
Powered by blists - more mailing lists