xen/arm: mm: Clear boot pagetables before bringing-up each secondary CPU
authorJulien Grall <julien.grall@arm.com>
Thu, 13 Jun 2019 17:11:45 +0000 (18:11 +0100)
committerJulien Grall <julien.grall@arm.com>
Wed, 16 Oct 2019 11:28:26 +0000 (12:28 +0100)
commit00fc9004be169a065c10a5fb699e353e430190c2
tree3d1873d8fae2df52a05b39fba443a201f7b76edf
parent4c555ec758e829d424a85df02821b2293ca03702
xen/arm: mm: Clear boot pagetables before bringing-up each secondary CPU

At the moment, boot pagetables are only cleared once at boot. This means
when booting CPU2 (and onwards) then boot pagetables will not be
cleared.

To keep the interface exactly the same for all secondary CPU, the boot
pagetables are now cleared before bringing-up each secondary CPU.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Release-acked-by: Juergen Gross <jgross@suse.com>
xen/arch/arm/mm.c