peci: cpu: Add Intel Sapphire Rapids support
authorNaresh Solanki <naresh.solanki@9elements.com>
Tue, 25 Jul 2023 10:43:51 +0000 (12:43 +0200)
committerIwona Winiarska <iwona.winiarska@intel.com>
Mon, 7 Aug 2023 16:27:55 +0000 (18:27 +0200)
commit37dd6b9f5bb0081082349d808fb4ac07f76fbf97
treecd6141d56a52af7ff0a334ff5b87d21b66c75575
parent5d0c230f1de8c7515b6567d9afba1f196fb4e2f4
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
drivers/peci/cpu.c