xen: arm: Do not use level 0 section mappings in boot page tables.
authorIan Campbell <ian.campbell@citrix.com>
Mon, 21 Jul 2014 12:59:57 +0000 (13:59 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 24 Jul 2014 15:23:17 +0000 (16:23 +0100)
commitd7deffc611a1a643d5a1c86ecd4bbf076414eb96
tree648b505f6d9fa1a3bbe079f3d476c5208304650c
parentca59618967fe0c3ecc6cb7bd8bd0f5651b4e9dea
xen: arm: Do not use level 0 section mappings in boot page tables.

Level 0 does not support superpage mappings, meaning that systems on where Xen
is loaded above 512GB (I'm not aware of any such systems) the 1:1 mapping on
the boot page tables is invalid.

In order to avoid this issue we need an additional first level page table
mapped by the appropriate L0 slot and containing a 1:1 superpage mapping.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Julien Grall <julien.grall@linaro.org>
xen/arch/arm/arm64/head.S
xen/arch/arm/mm.c