Message ID | 20210820115233.5297-1-sumeet.r.pawnikar@intel.com |
---|---|
State | Accepted |
Commit | 1cc5b9a411e43aa2cb5060429ede6c50217bad90 |
Headers | show |
Series | powercap: Add Power Limit4 support for Alder Lake SoC | expand |
On Fri, Aug 20, 2021 at 1:51 PM Sumeet Pawnikar <sumeet.r.pawnikar@intel.com> wrote: > > Add Power Limit4 support for Alder Lake SoC. > > Signed-off-by: Sumeet Pawnikar <sumeet.r.pawnikar@intel.com> > Acked-by: Zhang Rui <rui.zhang@intel.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 }, > {} > }; > > -- Applied as 5.15 material, thankis!
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 }, {} };