diff options
author | Naresh Solanki <naresh.solanki@9elements.com> | 2023-07-25 12:43:51 +0200 |
---|---|---|
committer | Iwona Winiarska <iwona.winiarska@intel.com> | 2023-08-07 18:27:55 +0200 |
commit | 37dd6b9f5bb0081082349d808fb4ac07f76fbf97 (patch) | |
tree | cd6141d56a52af7ff0a334ff5b87d21b66c75575 /drivers/peci | |
parent | 5d0c230f1de8c7515b6567d9afba1f196fb4e2f4 (diff) |
peci: cpu: Add Intel Sapphire Rapids support
Add support for detection of Intel Sapphire Rapids processor based on
CPU family & model.
Sapphire Rapids Xeon processors with the family set to 6 and the
model set to INTEL_FAM6_SAPPHIRERAPIDS_X. The data field for this entry
is "spr".
Tested the patch series with AST2600 BMC with 4S Intel Sapphire Rapids
processors & verified by reading cpu & dimm temperature.
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Signed-off-by: Naresh Solanki <Naresh.Solanki@9elements.com>
Reviewed-by: Iwona Winiarska <iwona.winiarska@intel.com>
Signed-off-by: Iwona Winiarska <iwona.winiarska@intel.com>
Link: https://lore.kernel.org/r/20230725104354.33920-1-Naresh.Solanki@9elements.com
Diffstat (limited to 'drivers/peci')
-rw-r--r-- | drivers/peci/cpu.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/peci/cpu.c b/drivers/peci/cpu.c index de4a7b3e5966..bd990acd92b8 100644 --- a/drivers/peci/cpu.c +++ b/drivers/peci/cpu.c @@ -323,6 +323,11 @@ static const struct peci_device_id peci_cpu_device_ids[] = { .model = INTEL_FAM6_ICELAKE_D, .data = "icxd", }, + { /* Sapphire Rapids Xeon */ + .family = 6, + .model = INTEL_FAM6_SAPPHIRERAPIDS_X, + .data = "spr", + }, { } }; MODULE_DEVICE_TABLE(peci, peci_cpu_device_ids); |