public inbox for openbmc@ozlabs.org
 help / color / mirror / Atom feed
From: Ivan Mikhaylov <fr0st61te@gmail.com>
To: Iwona Winiarska <iwona.winiarska@intel.com>,
	Guenter Roeck <linux@roeck-us.net>
Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org,
	openbmc@lists.ozlabs.org, Ivan Mikhaylov <fr0st61te@gmail.com>
Subject: [PATCH 1/3] peci: cpu: add Intel Emerald Rapids support
Date: Tue,  7 Oct 2025 00:53:19 +0300	[thread overview]
Message-ID: <20251006215321.5036-2-fr0st61te@gmail.com> (raw)
In-Reply-To: <20251006215321.5036-1-fr0st61te@gmail.com>

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>
---
 drivers/peci/cpu.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/peci/cpu.c b/drivers/peci/cpu.c
index 2dac8ba82787..fbccc1d1b637 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);
-- 
2.49.0



  reply	other threads:[~2025-10-06 21:54 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-06 21:53 [PATCH 0/3] Add Emerald Rapids PECI support Ivan Mikhaylov
2025-10-06 21:53 ` Ivan Mikhaylov [this message]
2025-10-07  8:19   ` [PATCH 1/3] peci: cpu: add Intel Emerald Rapids support Paul Menzel
2025-10-12 18:11   ` Guenter Roeck
2025-10-06 21:53 ` [PATCH 2/3] hwmon: (peci/dimmtemp) add Intel Emerald Rapids platform support Ivan Mikhaylov
2025-10-07  8:26   ` Paul Menzel
2025-10-13 11:44     ` Ivan Mikhaylov
2025-10-13 14:47       ` Guenter Roeck
2025-10-12 18:12   ` Guenter Roeck
2025-10-06 21:53 ` [PATCH 3/3] hwmon: (peci/cputemp) add Intel Emerald Rapids support Ivan Mikhaylov
2025-10-07  8:31   ` Paul Menzel
2025-10-12 18:13   ` Guenter Roeck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251006215321.5036-2-fr0st61te@gmail.com \
    --to=fr0st61te@gmail.com \
    --cc=iwona.winiarska@intel.com \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=openbmc@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox