]> xenbits.xensource.com Git - people/larsk/xen.git/commit
xen/arm32: setup: Give a xenheap page to the boot allocator
authorJulien Grall <julien.grall@arm.com>
Fri, 20 Sep 2019 09:31:30 +0000 (10:31 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Fri, 20 Sep 2019 15:20:14 +0000 (08:20 -0700)
commitae84f55353475f569daddb9a81ac0a6bc7772c90
treef0f10004aba943c30f16a73c13b8dafd5f0b638a
parenta30910bfd71a64895f0d6ddbb301cf1b5ed6c2f4
xen/arm32: setup: Give a xenheap page to the boot allocator

After commit 6e3e771203 "xen/arm: setup: Relocate the Device-Tree later on
in the boot", the boot allocator will not receive any xenheap page (i.e.
mapped page) on Arm32.

However, the boot allocator implicitly relies on having the first page
already mapped and therefore result to break boot on Arm32.

The easiest way for now is to give a xenheap page to the boot allocator.
We may want to rethink the interface in the future.

[stefano: fix grammar in commit message]

Fixes: 6e3e771203 ('xen/arm: setup: Relocate the Device-Tree later on in the boot')
Signed-off-by: Julien Grall <julien.grall@arm.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/setup.c