Thread (89 messages) flat view 89 messages, 15 authors, 2014-09-22

[PATCH v4 01/18] ARM64: Move the init of cpu_logical_map(0) before unflatten_device_tree()

From: mark.rutland@arm.com (Mark Rutland)
Date: 2014-09-17 16:48:57
Also in: linux-acpi, lkml

On Mon, Sep 15, 2014 at 07:16:32AM +0100, Olof Johansson wrote:
On Fri, Sep 12, 2014 at 09:59:59PM +0800, Hanjun Guo wrote:
quoted
It always make sense to initialize CPU0's logical map entry from the
hardware values, so move the initialization of cpu_logical_map(0)
before unflatten_device_tree() which is needed by ACPI code later.

Signed-off-by: Hanjun Guo <redacted>
Acked-by: Olof Johansson <redacted>

With or without needs for ACPI, I don't think there's any reason for
this code to not go in now.
I can see this being of use to psci_init() where I'd like to check
MIGRATE_INFO_TYPE and MIGRATE_INFO_UP_CPU early on for systems with PSCI
0.2+. So moving it at least that early sounds good to me.

Acked-by: Mark Rutland <mark.rutland@arm.com>

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