mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/3] peci: Add Intel Sapphire Rapids support
@ 2023-07-11 16:04 Naresh Solanki
  2023-07-11 16:04 ` [PATCH 2/3] hwmon: (peci/cputemp) " Naresh Solanki
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Naresh Solanki @ 2023-07-11 16:04 UTC (permalink / raw)
  To: linux-kernel, linux-hwmon, iwona.winiarska, linux, jdelvare
  Cc: Naresh Solanki, Patrick Rudolph, openbmc

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".

Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Signed-off-by: Naresh Solanki <Naresh.Solanki@9elements.com>
---
 drivers/peci/cpu.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/peci/cpu.c b/drivers/peci/cpu.c
index de4a7b3e5966..3668a908d259 100644
--- a/drivers/peci/cpu.c
+++ b/drivers/peci/cpu.c
@@ -318,6 +318,11 @@ static const struct peci_device_id peci_cpu_device_ids[] = {
 		.model	= INTEL_FAM6_ICELAKE_X,
 		.data	= "icx",
 	},
+	{ /* Sapphire Rapids Xeon */
+		.family	= 6,
+		.model	= INTEL_FAM6_SAPPHIRERAPIDS_X,
+		.data	= "spr",
+	},
 	{ /* Icelake Xeon D */
 		.family	= 6,
 		.model	= INTEL_FAM6_ICELAKE_D,

base-commit: 4dbbaf8fbdbd13adc80731b2452257857e4c2d8b
-- 
2.41.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-07-12  8:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-11 16:04 [PATCH 1/3] peci: Add Intel Sapphire Rapids support Naresh Solanki
2023-07-11 16:04 ` [PATCH 2/3] hwmon: (peci/cputemp) " Naresh Solanki
2023-07-11 16:04 ` [PATCH 3/3] hwmon: (dimmtemp) Add " Naresh Solanki
2023-07-11 19:45 ` [PATCH 1/3] peci: Add Intel " Guenter Roeck
2023-07-12  8:49   ` Naresh Solanki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®