Thread (156 messages) 156 messages, 25 authors, 2015-01-30

[PATCH v7 07/17] ARM64 / ACPI: Disable ACPI if FADT revision is less than 5.1

From: catalin.marinas@arm.com (Catalin Marinas)
Date: 2015-01-19 11:50:31
Also in: linux-acpi, lkml

On Wed, Jan 14, 2015 at 03:04:55PM +0000, Hanjun Guo wrote:
quoted hunk ↗ jump to hunk
--- a/arch/arm64/kernel/acpi.c
+++ b/arch/arm64/kernel/acpi.c
[...]
quoted hunk ↗ jump to hunk
@@ -64,8 +88,13 @@ void __init acpi_boot_table_init(void)
 		return;
 
 	/* Initialize the ACPI boot-time table parser. */
-	if (acpi_table_init())
+	if (acpi_table_init()) {
 		disable_acpi();
+		return;
+	}
+
+	if (acpi_table_parse(ACPI_SIG_FADT, acpi_parse_fadt))
+		pr_err("Can't find FADT or error happened during parsing FADT\n");
 }
Do you need a disable_acpi() call here as well?

-- 
Catalin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help