[PATCH 1/2] acpi/pptt: add a warning for type 2 depreciation

Alex Hung alex.hung at canonical.com
Fri Oct 9 00:43:08 UTC 2020


Type 2 is depreciated since ACPI 6.3 errata A (mantis 2072).

See details in https://bugzilla.tianocore.org/show_bug.cgi?id=2492

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

diff --git a/src/acpi/pptt/pptt.c b/src/acpi/pptt/pptt.c
index 4fdd005b..bf361dc0 100644
--- a/src/acpi/pptt/pptt.c
+++ b/src/acpi/pptt/pptt.c
@@ -145,6 +145,7 @@ static int pptt_test1(fwts_framework *fw)
 			pptt_cache_test(fw, (fwts_acpi_table_pptt_cache *) entry, &passed);
 			type_length = sizeof(fwts_acpi_table_pptt_cache);
 		} else if (entry->type == FWTS_ACPI_PPTT_ID) {
+			fwts_log_warning(fw, "PPTT type 2 is depreciated since ACPI 6.3 Errata A.");
 			pptt_id_test(fw, (fwts_acpi_table_pptt_id *) entry, &passed);
 			type_length = sizeof(fwts_acpi_table_pptt_id);
 		} else {
-- 
2.25.1




More information about the fwts-devel mailing list