[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210820115233.5297-1-sumeet.r.pawnikar@intel.com>
Date: Fri, 20 Aug 2021 17:22:33 +0530
From: Sumeet Pawnikar <sumeet.r.pawnikar@...el.com>
To: rjw@...ysocki.net, rui.zhang@...el.com,
srinivas.pandruvada@...ux.intel.com, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: sumeet.r.pawnikar@...el.com
Subject: [PATCH] powercap: Add Power Limit4 support for Alder Lake SoC
Add Power Limit4 support for Alder Lake SoC.
Signed-off-by: Sumeet Pawnikar <sumeet.r.pawnikar@...el.com>
Acked-by: Zhang Rui <rui.zhang@...el.com>
---
drivers/powercap/intel_rapl_msr.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/powercap/intel_rapl_msr.c b/drivers/powercap/intel_rapl_msr.c
index cc3b22881bfe..1be45f36ab6c 100644
--- a/drivers/powercap/intel_rapl_msr.c
+++ b/drivers/powercap/intel_rapl_msr.c
@@ -138,6 +138,8 @@ static int rapl_msr_write_raw(int cpu, struct reg_action *ra)
/* List of verified CPUs. */
static const struct x86_cpu_id pl4_support_ids[] = {
{ X86_VENDOR_INTEL, 6, INTEL_FAM6_TIGERLAKE_L, X86_FEATURE_ANY },
+ { X86_VENDOR_INTEL, 6, INTEL_FAM6_ALDERLAKE, X86_FEATURE_ANY },
+ { X86_VENDOR_INTEL, 6, INTEL_FAM6_ALDERLAKE_L, X86_FEATURE_ANY },
{}
};
--
2.17.1
Powered by blists - more mailing lists