]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1b7cc02696651702f72a290109e48fba2c35b65b
tree7954c2952233c2b3131241e42a8ebe5df3aa8210
parent3dafa8de0a4f4d3713119340a265e7f0a7b40211
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