ARM64: kernel: acpi: honour acpi=force command line parameter
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Wed, 25 Mar 2015 15:22:13 +0000 (15:22 +0000)
committerWill Deacon <will.deacon@arm.com>
Thu, 26 Mar 2015 15:13:11 +0000 (15:13 +0000)
commitfb094eb19900937322848beaf1a622c6afb6250b
tree102d75fcef8fa67090c2a84dacf67aee60a626ff
parent54971e43b9d6cb37366d2da64cc5a2d8f8102bc4
ARM64: kernel: acpi: honour acpi=force command line parameter

If acpi=force is passed on the command line, it forces ACPI to be
the only available boot method, hence it must be left enabled even
if the initialization and sanity checks on ACPI tables fails.

This patch refactors ACPI initialization to prevent disabling ACPI
if acpi=force is passed on the command line.

Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Hanjun Guo <hanjun.guo@linaro.org>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Hanjun Guo <hanjun.guo@linaro.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/acpi.h
arch/arm64/kernel/acpi.c
arch/arm64/kernel/setup.c