[PATCH 1/3] peci: cpu: add Intel Emerald Rapids support

Ivan Mikhaylov posted 3 patches 2 months, 1 week ago
[PATCH 1/3] peci: cpu: add Intel Emerald Rapids support
Posted by Ivan Mikhaylov 2 months, 1 week ago
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
Re: [PATCH 1/3] peci: cpu: add Intel Emerald Rapids support
Posted by Guenter Roeck 2 months ago
On Tue, Oct 07, 2025 at 12:53:19AM +0300, Ivan Mikhaylov wrote:
> 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>

Applied to hwmon-next.

Thanks,
Guenter
Re: [PATCH 1/3] peci: cpu: add Intel Emerald Rapids support
Posted by Paul Menzel 2 months, 1 week ago
Dear Ivan,


Thank you for the patch.


Am 06.10.25 um 23:53 schrieb Ivan Mikhaylov:
> 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.

Should you resend you could add the output.

> 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);

Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de>


Kind regards,

Paul