From: Ivan Mikhaylov Date: Mon, 6 Oct 2025 21:53:19 +0000 (+0300) Subject: peci: cpu: add Intel Emerald Rapids support X-Git-Tag: v6.19-rc1~148^2~97 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=906f25050add51f1a412ea37e618d8748f75e23a;p=thirdparty%2Fkernel%2Flinux.git peci: cpu: add Intel Emerald Rapids support Add support for detection of Intel Emerald Rapids processor based on CPU model. Emerald Rapids Xeon processors with the model set to INTEL_EMERALDRAPIDS_X. The data field for this entry is "emr". Tested the patch series with AST2600 BMC with 5S Intel Emerald Rapids processors & verified by reading cpu & dimm temperature which matches host sensor values from lmsensors. Signed-off-by: Ivan Mikhaylov Reviewed-by: Paul Menzel Link: https://lore.kernel.org/r/20251006215321.5036-2-fr0st61te@gmail.com Signed-off-by: Guenter Roeck --- diff --git a/drivers/peci/cpu.c b/drivers/peci/cpu.c index 2dac8ba827872..fbccc1d1b6377 100644 --- a/drivers/peci/cpu.c +++ b/drivers/peci/cpu.c @@ -321,6 +321,10 @@ static const struct peci_device_id peci_cpu_device_ids[] = { .x86_vfm = INTEL_SAPPHIRERAPIDS_X, .data = "spr", }, + { /* Emerald Rapids Xeon */ + .x86_vfm = INTEL_EMERALDRAPIDS_X, + .data = "emr", + }, { } }; MODULE_DEVICE_TABLE(peci, peci_cpu_device_ids);