[PATCH 2/2] perf/x86/rapl: Add support for Intel Lunar Lake
From: Zhang Rui
Date: Wed Apr 10 2024 - 08:46:40 EST
Lunar Lake RAPL support is the same as previous Sky Lake.
Add Lunar Lake model for RAPL.
Signed-off-by: Zhang Rui <rui.zhang@xxxxxxxxx>
---
arch/x86/events/rapl.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/events/rapl.c b/arch/x86/events/rapl.c
index 6bfb78d5b37e..ebb67a243f0f 100644
--- a/arch/x86/events/rapl.c
+++ b/arch/x86/events/rapl.c
@@ -810,6 +810,7 @@ static const struct x86_cpu_id rapl_model_match[] __initconst = {
X86_MATCH_INTEL_FAM6_MODEL(METEORLAKE_L, &model_skl),
X86_MATCH_INTEL_FAM6_MODEL(ARROWLAKE_H, &model_skl),
X86_MATCH_INTEL_FAM6_MODEL(ARROWLAKE, &model_skl),
+ X86_MATCH_INTEL_FAM6_MODEL(LUNARLAKE_M, &model_skl),
{},
};
MODULE_DEVICE_TABLE(x86cpu, rapl_model_match);
--
2.34.1