[PATCH 06/10] dmicheck: add CXL Flexbus 1.0 to slot type in type 9

Alex Hung alex.hung at canonical.com
Thu May 21 02:37:58 UTC 2020


Signed-off-by: Alex Hung <alex.hung at canonical.com>
---
 src/dmi/dmicheck/dmicheck.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/dmi/dmicheck/dmicheck.c b/src/dmi/dmicheck/dmicheck.c
index 5fe0283c..d163bed3 100644
--- a/src/dmi/dmicheck/dmicheck.c
+++ b/src/dmi/dmicheck/dmicheck.c
@@ -1420,6 +1420,7 @@ static void dmicheck_entry(fwts_framework *fw,
 				break;
 			dmi_str_check(fw, table, addr, "Slot Designation", hdr, 0x4);
 			if (!(((data[0x5] >= 0x01) && (data[0x5] <= 0x23)) ||
+			      (data[0x5] == 0x30) ||
 			      ((data[0x5] >= 0xa0) && (data[0x5] <= 0xbd))))
 				fwts_failed(fw, LOG_LEVEL_HIGH, DMI_VALUE_OUT_OF_RANGE,
 					"Out of range value 0x%2.2" PRIx8 " "
-- 
2.25.1




More information about the fwts-devel mailing list