[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/4] dmidecode: Add memory support from SMBIOS 3.6.0
|
From: |
Jean Delvare |
|
Subject: |
[PATCH 2/4] dmidecode: Add memory support from SMBIOS 3.6.0 |
|
Date: |
Mon, 22 May 2023 17:12:06 +0200 |
SMBIOS 3.6.0 adds the following to the Memory Device structure
(type 17):
* 1 memory type
Signed-off-by: Jean Delvare <jdelvare@suse.de>
---
dmidecode.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
--- a/dmidecode.c
+++ b/dmidecode.c
@@ -2836,10 +2836,11 @@ static const char *dmi_memory_device_typ
"HBM",
"HBM2",
"DDR5",
- "LPDDR5" /* 0x23 */
+ "LPDDR5",
+ "HBM3" /* 0x24 */
};
- if (code >= 0x01 && code <= 0x23)
+ if (code >= 0x01 && code <= 0x24)
return type[code - 0x01];
return out_of_spec;
}
--
Jean Delvare
SUSE L3 Support