dmidecode-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/4] dmidecode: Add processor support from SMBIOS 3.6.0


From: Jerry Hoemann
Subject: Re: [PATCH 1/4] dmidecode: Add processor support from SMBIOS 3.6.0
Date: Mon, 22 May 2023 15:31:43 -0600
User-agent: Mutt/1.10.1 (2018-07-13)

On Mon, May 22, 2023 at 05:11:27PM +0200, Jean Delvare wrote:
> SMBIOS 3.6.0 adds the following to the Processor Information
> structure (type 4):
> * 9 socket types
> * 1 processor family
> * 1 field (Thread Enabled)
> 
> Signed-off-by: Jean Delvare <jdelvare@suse.de>
> ---
>  dmidecode.c |   19 ++++++++++++++++---
>  1 file changed, 16 insertions(+), 3 deletions(-)
> 
> --- dmidecode.orig/dmidecode.c
> +++ dmidecode/dmidecode.c

...

> @@ -4451,6 +4461,9 @@ static void dmi_decode(const struct dmi_
>                               pr_attr("Thread Count", "%u",
>                                       h->length >= 0x30 && data[0x25] == 0xFF 
> ?
>                                       WORD(data + 0x2E) : data[0x25]);
> +                     if (h->length >= 0x32 && WORD(data + 0x30) != 0)
> +                             pr_attr("Thread Enabled", "%u",
> +                                     WORD(data + 0x30));
>                       dmi_processor_characteristics("Characteristics",
>                                                     WORD(data + 0x26));
>                       break;


Do you know under which conditions FW might fill offset 0x30 with value:
FFFFh = reserved ?

> 
> -- 
> Jean Delvare
> SUSE L3 Support

-- 

-----------------------------------------------------------------------------
Jerry Hoemann                  Software Engineer   Hewlett Packard Enterprise
-----------------------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]