On Tue, Mar 24, 2015 at 10:02:41PM +0800, Hanjun Guo wrote:
From: Al Stone al.stone@linaro.org
This implements the following policy to decide whether ACPI should be used to boot the system:
- acpi=off: ACPI will not be used to boot the system, even if there is no alternative available (e.g., device tree is empty)
- acpi=force: only ACPI will be used to boot the system; if that fails, there will be no fallback to alternative methods (such as device tree)
- otherwise, ACPI will be used as a fallback if the device tree turns out to lack a platform description; the heuristic to decide this is whether /chosen is the only node present at depth 1
CC: Catalin Marinas catalin.marinas@arm.com CC: Will Deacon will.deacon@arm.com CC: Rafael J. Wysocki rjw@rjwysocki.net Acked-by: Olof Johansson olof@lixom.net Acked-by: Grant Likely grant.likely@linaro.org Tested-by: Timur Tabi timur@codeaurora.org Signed-off-by: Al Stone al.stone@linaro.org Signed-off-by: Graeme Gregory graeme.gregory@linaro.org Signed-off-by: Hanjun Guo hanjun.guo@linaro.org Signed-off-by: Ard Biesheuvel ard.biesheuvel@linaro.org
Acked-by: Catalin Marinas catalin.marinas@arm.com
But we should also merge Lorenzo's patch which gets read of the forced param (on top of this series, I really think we should stop rebasing at this point).