From: Zhang Rui Date: Wed, 27 Jan 2021 05:42:27 +0000 (+0800) Subject: powercap/intel_rapl: add support for AlderLake Mobile X-Git-Tag: v5.15.73~12492^2~1^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cca26b66efc1e92c10701087aca4895530660b85;p=platform%2Fkernel%2Flinux-rpi.git powercap/intel_rapl: add support for AlderLake Mobile Add intel_rapl support for the AlderLake Mobile platform. Signed-off-by: Zhang Rui Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/powercap/intel_rapl_common.c b/drivers/powercap/intel_rapl_common.c index c9e57237d778..f0799837c2dd 100644 --- a/drivers/powercap/intel_rapl_common.c +++ b/drivers/powercap/intel_rapl_common.c @@ -1049,6 +1049,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = { X86_MATCH_INTEL_FAM6_MODEL(TIGERLAKE, &rapl_defaults_core), X86_MATCH_INTEL_FAM6_MODEL(ROCKETLAKE, &rapl_defaults_core), X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE, &rapl_defaults_core), + X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE_L, &rapl_defaults_core), X86_MATCH_INTEL_FAM6_MODEL(SAPPHIRERAPIDS_X, &rapl_defaults_spr_server), X86_MATCH_INTEL_FAM6_MODEL(LAKEFIELD, &rapl_defaults_core),