f9aebf59d7
of recent AMD processors (DMI type 4). - dmidecode-1.182-decode-ddr4-memory-type.patch: Add support for DDR4 memory type (DMI type 17). https://savannah.nongnu.org/bugs/?43370 OBS-URL: https://build.opensuse.org/package/show/Base:System/dmidecode?expand=0&rev=26
24 lines
827 B
Diff
24 lines
827 B
Diff
Subject: Decode the CPUID of recent AMD processors
|
|
Upstream: yes, 1.181
|
|
---
|
|
dmidecode.c | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
--- a/dmidecode.c
|
|
+++ b/dmidecode.c
|
|
@@ -1012,11 +1012,11 @@ static void dmi_processor_id(u8 type, co
|
|
sig = 1;
|
|
else if ((type >= 0x18 && type <= 0x1D) /* AMD */
|
|
|| type == 0x1F /* AMD */
|
|
- || (type >= 0x38 && type <= 0x3E) /* AMD */
|
|
- || (type >= 0x46 && type <= 0x49) /* AMD */
|
|
+ || (type >= 0x38 && type <= 0x3F) /* AMD */
|
|
+ || (type >= 0x46 && type <= 0x4F) /* AMD */
|
|
|| (type >= 0x83 && type <= 0x8F) /* AMD */
|
|
|| (type >= 0xB6 && type <= 0xB7) /* AMD */
|
|
- || (type >= 0xE6 && type <= 0xEF)) /* AMD */
|
|
+ || (type >= 0xE4 && type <= 0xEF)) /* AMD */
|
|
sig = 2;
|
|
else if (type == 0x01 || type == 0x02)
|
|
{
|