]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
peci: cpu: add Intel Emerald Rapids support
authorIvan Mikhaylov <fr0st61te@gmail.com>
Mon, 6 Oct 2025 21:53:19 +0000 (00:53 +0300)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 15 Oct 2025 18:02:42 +0000 (11:02 -0700)
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 <fr0st61te@gmail.com>
Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de>
Link: https://lore.kernel.org/r/20251006215321.5036-2-fr0st61te@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/peci/cpu.c

index 2dac8ba827872810833d3b3d9cc408fd3bb0ae31..fbccc1d1b6377e24448ab6255311d4b0e8601377 100644 (file)
@@ -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);