[PATCH] Upgrade MCFGMMIONotReserved to HIGH error

Mario Limonciello mario.limonciello at amd.com
Sun Dec 3 15:48:42 UTC 2023


From: Mario Limonciello <superm1 at gmail.com>

This impact from a BIOS with this problem is actually quite dramatic.
On a laptop with a dGPU that uses resizable BAR it will cause the dGPU
to stop working after runtime resume from D3cold or from s2idle.

To make it more obvious it must be fixed during BIOS development upgrade
the error to High.

Signed-off-by: Mario Limonciello <mario.limonciello at amd.com>
---
 src/acpi/mcfg/mcfg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/acpi/mcfg/mcfg.c b/src/acpi/mcfg/mcfg.c
index 7e0bc397..d6d602d6 100644
--- a/src/acpi/mcfg/mcfg.c
+++ b/src/acpi/mcfg/mcfg.c
@@ -206,7 +206,7 @@ static int mcfg_test1(fwts_framework *fw)
 		if ((memory_map_list != NULL) &&
 		    (!fwts_memory_map_is_reserved(memory_map_list, config->base_address))) {
 
-			fwts_failed(fw, LOG_LEVEL_LOW, "MCFGMMIONotReserved",
+			fwts_failed(fw, LOG_LEVEL_HIGH, "MCFGMMIONotReserved",
 				"MCFG MMIO config space at 0x%" PRIx64
 				" is not reserved in the memory map table",
 				config->base_address);
-- 
2.43.0




More information about the fwts-devel mailing list