xen/arm: Switch to SYS_STATE_boot just after end_boot_allocator()
authorJulien Grall <julien.grall@arm.com>
Mon, 9 Oct 2017 13:23:35 +0000 (14:23 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Tue, 10 Oct 2017 21:22:09 +0000 (14:22 -0700)
commitfc24d616beda7b0d9a96c588b06862f46b189181
treebfabff07662ffb0d36189ef6b11614b2f9b2c459
parent9a7f6dd6d2244993968569deb9963934add0a50d
xen/arm: Switch to SYS_STATE_boot just after end_boot_allocator()

We should consider the early boot period to end when we stop using the
boot allocator. This is inline with x86 and will be helpful to know
whether we should allocate memory from the boot allocator or xenheap.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/setup.c