Add 1 new enumerated value for processor families and 1 new enumerated value for processor upgrades from SMBIOS specification version 3.1.1.
Signed-off-by: Jean Delvare <[email protected]> --- dmidecode.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) --- dmidecode.orig/dmidecode.c 2017-04-07 10:54:34.211154746 +0200 +++ dmidecode/dmidecode.c 2017-04-07 11:27:53.323040269 +0200 @@ -25,7 +25,7 @@ * are deemed to be part of the source code. * * Unless specified otherwise, all references are aimed at the "System - * Management BIOS Reference Specification, Version 3.1.0" document, + * Management BIOS Reference Specification, Version 3.1.1" document, * available from http://www.dmtf.org/standards/smbios. * * Note to contributors: @@ -799,6 +799,7 @@ static const char *dmi_processor_family( { 0x68, "Opteron X2000" }, { 0x69, "Opteron A-Series" }, { 0x6A, "Opteron X3000" }, + { 0x6B, "Zen" }, { 0x70, "Hobbit" }, @@ -1092,7 +1093,7 @@ static void dmi_processor_id(const struc || type == 0x1F /* AMD */ || (type >= 0x38 && type <= 0x3F) /* AMD */ || (type >= 0x46 && type <= 0x4F) /* AMD */ - || (type >= 0x66 && type <= 0x6A) /* AMD */ + || (type >= 0x66 && type <= 0x6B) /* AMD */ || (type >= 0x83 && type <= 0x8F) /* AMD */ || (type >= 0xB6 && type <= 0xB7) /* AMD */ || (type >= 0xE4 && type <= 0xEF)) /* AMD */ @@ -1267,10 +1268,11 @@ static const char *dmi_processor_upgrade "Socket BGA1440", "Socket BGA1515", "Socket LGA3647-1", - "Socket SP3" /* 0x37 */ + "Socket SP3", + "Socket SP3r2" /* 0x38 */ }; - if (code >= 0x01 && code <= 0x37) + if (code >= 0x01 && code <= 0x38) return upgrade[code - 0x01]; return out_of_spec; } -- Jean Delvare SUSE L3 Support _______________________________________________ https://lists.nongnu.org/mailman/listinfo/dmidecode-devel
