[PATCH] ARM: head: fix swapper and idmap population with LPAE and big-endian
Rob Herring
robherring2 at gmail.com
Mon Feb 25 15:08:30 EST 2013
On 02/25/2013 10:05 AM, Marc Zyngier wrote:
> 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.
That was a for BE guest on LE host, right? :o
Any ideas about much work that would be?
Rob
More information about the linux-arm-kernel
mailing list