[PATCH] ARM: head: fix swapper and idmap population with LPAE and big-endian

Marc Zyngier marc.zyngier at arm.com
Mon Feb 25 11:05:39 EST 2013


On Mon, 25 Feb 2013 15:16:41 +0000, Will Deacon <will.deacon at arm.com>
wrote:
> The LPAE page table format uses 64-bit descriptors, so we need to take
> endianness into account when populating the swapper and idmap tables
> during early initialisation.
> 
> This patch ensures that we store the two words making up each page table
> entry in the correct order when running big-endian.
> 
> Cc: <stable at vger.kernel.org>
> Acked-by: Catalin Marinas <catalin.marinas at arm.com>
> Signed-off-by: Will Deacon <will.deacon at arm.com>

FWIW, tested as a KVM guest.

Tested-by: Marc Zyngier <marc.zyngier at arm.com>

        M.
-- 
Fast, cheap, reliable. Pick two.



More information about the linux-arm-kernel mailing list