diff mbox series

platform/x86: intel-uncore-freq: add Emerald Rapids support

Message ID 20221121170032.3258772-1-dedekind1@gmail.com (mailing list archive)
State Handled Elsewhere, archived
Headers show
Series platform/x86: intel-uncore-freq: add Emerald Rapids support | expand

Commit Message

Artem Bityutskiy Nov. 21, 2022, 5 p.m. UTC
From: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>

Make Intel uncore frequency driver support Emerald Rapids by adding its CPU
model to the match table. Emerald Rapids uncore frequency control is the same
as in Sapphire Rapids.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
---
 drivers/platform/x86/intel/uncore-frequency/uncore-frequency.c | 1 +
 1 file changed, 1 insertion(+)

Comments

srinivas pandruvada Nov. 21, 2022, 7:49 p.m. UTC | #1
This should be also sent to

Hans de Goede <hdegoede@redhat.com> (maintainer:X86 PLATFORM DRIVERS)
Mark Gross <markgross@kernel.org> (maintainer:X86 PLATFORM DRIVERS)
platform-driver-x86@vger.kernel.org (open list:X86 PLATFORM DRIVERS)

On Mon, 2022-11-21 at 19:00 +0200, Artem Bityutskiy wrote:
> From: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
> 
> Make Intel uncore frequency driver support Emerald Rapids by adding its
> CPU
> model to the match table. Emerald Rapids uncore frequency control is
> the same
> as in Sapphire Rapids.
> 
> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
> Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
> ---
>  drivers/platform/x86/intel/uncore-frequency/uncore-frequency.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/platform/x86/intel/uncore-frequency/uncore-
> frequency.c b/drivers/platform/x86/intel/uncore-frequency/uncore-
> frequency.c
> index 8f9c571d7257..00ac7e381441 100644
> --- a/drivers/platform/x86/intel/uncore-frequency/uncore-frequency.c
> +++ b/drivers/platform/x86/intel/uncore-frequency/uncore-frequency.c
> @@ -203,6 +203,7 @@ static const struct x86_cpu_id
> intel_uncore_cpu_ids[] = {
>         X86_MATCH_INTEL_FAM6_MODEL(ICELAKE_X,   NULL),
>         X86_MATCH_INTEL_FAM6_MODEL(ICELAKE_D,   NULL),
>         X86_MATCH_INTEL_FAM6_MODEL(SAPPHIRERAPIDS_X, NULL),
> +       X86_MATCH_INTEL_FAM6_MODEL(EMERALDRAPIDS_X, NULL),
>         {}
>  };
>  MODULE_DEVICE_TABLE(x86cpu, intel_uncore_cpu_ids);
diff mbox series

Patch

diff --git a/drivers/platform/x86/intel/uncore-frequency/uncore-frequency.c b/drivers/platform/x86/intel/uncore-frequency/uncore-frequency.c
index 8f9c571d7257..00ac7e381441 100644
--- a/drivers/platform/x86/intel/uncore-frequency/uncore-frequency.c
+++ b/drivers/platform/x86/intel/uncore-frequency/uncore-frequency.c
@@ -203,6 +203,7 @@  static const struct x86_cpu_id intel_uncore_cpu_ids[] = {
 	X86_MATCH_INTEL_FAM6_MODEL(ICELAKE_X,	NULL),
 	X86_MATCH_INTEL_FAM6_MODEL(ICELAKE_D,	NULL),
 	X86_MATCH_INTEL_FAM6_MODEL(SAPPHIRERAPIDS_X, NULL),
+	X86_MATCH_INTEL_FAM6_MODEL(EMERALDRAPIDS_X, NULL),
 	{}
 };
 MODULE_DEVICE_TABLE(x86cpu, intel_uncore_cpu_ids);