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 <jdelv...@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 -----------------------------------------------------------------------------