[tip: perf/core] perf/x86/intel/uncore: Add LNL uncore iMC freerunning support

From: tip-bot2 for Zhenyu Wang
Date: Wed Aug 07 2024 - 06:52:22 EST


The following commit has been merged into the perf/core branch of tip:

Commit-ID: 9ac57c456fcb17f07f8792219479b0c841d75ba7
Gitweb: https://git.kernel.org/tip/9ac57c456fcb17f07f8792219479b0c841d75ba7
Author: Zhenyu Wang <zhenyuw@xxxxxxxxxxxxxxx>
AuthorDate: Wed, 31 Jul 2024 07:13:52 -07:00
Committer: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
CommitterDate: Mon, 05 Aug 2024 16:54:46 +02:00

perf/x86/intel/uncore: Add LNL uncore iMC freerunning support

LNL uncore imc freerunning counters keep same as previous HW.

Signed-off-by: Zhenyu Wang <zhenyuw@xxxxxxxxxxxxxxx>
Signed-off-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>
Reviewed-by: Kan Liang <kan.liang@xxxxxxxxxxxxxxx>
Link: https://lore.kernel.org/r/20240731141353.759643-4-kan.liang@xxxxxxxxxxxxxxx
---
arch/x86/events/intel/uncore_snb.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/x86/events/intel/uncore_snb.c b/arch/x86/events/intel/uncore_snb.c
index 983beed..f7402bd 100644
--- a/arch/x86/events/intel/uncore_snb.c
+++ b/arch/x86/events/intel/uncore_snb.c
@@ -1840,6 +1840,7 @@ static struct intel_uncore_type *lnl_mmio_uncores[] = {
&adl_uncore_imc,
&lnl_uncore_hbo,
&lnl_uncore_sncu,
+ &adl_uncore_imc_free_running,
NULL
};