arm64: acpi: add acpi=on cmdline option to prefer ACPI boot over DT
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 12 Apr 2016 14:09:11 +0000 (16:09 +0200)
committerWill Deacon <will.deacon@arm.com>
Tue, 26 Apr 2016 13:37:41 +0000 (14:37 +0100)
commit6a1f5471144754f165427a93f35c897f85680594
tree7954c2952233c2b3131241e42a8ebe5df3aa8210
parent08cdac619c81b3fa8cd73aeed2330ffe0a0b73ca
arm64: acpi: add acpi=on cmdline option to prefer ACPI boot over DT

If both ACPI and DT platform descriptions are available, and the
kernel was configured at build time to support both flavours, the
default policy is to prefer DT over ACPI, and preferring ACPI over
DT while still allowing DT as a fallback is not possible.

Since some enterprise features (such as RAS) depend on ACPI, it may
be desirable for, e.g., distro installers to prefer ACPI boot but
fall back to DT rather than failing completely if no ACPI tables are
available.

So introduce the 'acpi=on' kernel command line parameter for arm64,
which signifies that ACPI should be used if available, and DT should
only be used as a fallback.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Documentation/kernel-parameters.txt
arch/arm64/kernel/acpi.c