powercap: intel_rapl_msr: Add PL4 support for PantherLake
PATCH 1/1 powercap: intel_rapl_msr: Add PL4 support for PantherLake
Add PantherLake to the list of processors where PL4 is supported.
Signed-off-by Zhang Rui <[email protected]>
---
The PL4 support for Arrowlake-S and Lunarlake are also missing for now. We will add them later when there is a real need. I'm also checking internally to see if it is required or not.
--- drivers/powercap/intel_rapl_msr.c | 1 + 1 file changed, 1 insertion(+)
drivers/powercap/intel_rapl_msr.c +1 -0
@@ -150,6 +150,7 @@ static const struct x86_cpu_id pl4_support_ids[] = {X86_MATCH_VFM (INTEL_METEORLAKE_L ,NULL ),X86_MATCH_VFM (INTEL_ARROWLAKE_U ,NULL ),X86_MATCH_VFM (INTEL_ARROWLAKE_H ,NULL ), + X86_MATCH_VFM(INTEL_PANTHERLAKE_L, NULL), {} };
Signature · 1 line
2.43.0
Quoted 17 lines · Zhang Rui
Add PantherLake to the list of processors where PL4 is supported.
Signed-off-by Zhang Rui <[email protected]>---
The PL4 support for Arrowlake-S and Lunarlake are also missing for now. We will add them later when there is a real need. I'm also checking internally to see if it is required or not.--- drivers/powercap/intel_rapl_msr.c | 1 + 1 file changed, 1 insertion(+)drivers/powercap/intel_rapl_msr.c +0
-0
drivers/powercap/intel_rapl_msr.c static const struct x86_cpu_id pl4_support_ids[] = {
Quoted 8 lines
drivers/powercap/intel_rapl_msr.c +1
-1@@ -150,6 +150,7 @@ static const struct x86_cpu_id pl4_support_ids[] = {X86_MATCH_VFM (INTEL_METEORLAKE_L ,NULL ),X86_MATCH_VFM (INTEL_ARROWLAKE_U ,NULL ),X86_MATCH_VFM (INTEL_ARROWLAKE_H ,NULL ), + X86_MATCH_VFM(INTEL_PANTHERLAKE_L, NULL), {} }; --
Applied as 6.17 material, thanks!