[PATCH]arm64: ignore FACS load failed for arm64

Fu Wei fu.wei at linaro.org
Mon Oct 20 08:37:42 UTC 2014


arm64: ignore load failed for FACS which is involved in old 
BIOS style suspend/hibernate and does not make sense on arm64.

Signed-off-by: Fu Wei <fu.wei at linaro.org>
---
 src/lib/src/fwts_acpi_tables.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/lib/src/fwts_acpi_tables.c b/src/lib/src/fwts_acpi_tables.c
index 56498e0..0641d93 100644
--- a/src/lib/src/fwts_acpi_tables.c
+++ b/src/lib/src/fwts_acpi_tables.c
@@ -375,7 +375,12 @@ static int fwts_acpi_handle_fadt(
 	    "FACS", "FIRMWARE_CTRL", "X_FIRMWARE_CTRL",
 	     &fadt->firmware_control, &fadt->x_firmware_ctrl,
 	     provenance) != FWTS_OK) {
+#if defined(__aarch64__)
+		fwts_log_warning(fw, "Failed to load FACS: Cannot determine "
+				"address of FACS from FADT. IGNORE for AArch64 platform!");
+#else
 		return FWTS_ERROR;
+#endif
 	}
 	/* Determine DSDT addr and load it */
 	if (fwts_acpi_handle_fadt_tables(fw, fadt,
-- 
1.9.1



More information about the fwts-devel mailing list