From mboxrd@z Thu Jan 1 00:00:00 1970 From: robherring2@gmail.com (Rob Herring) Date: Mon, 25 Feb 2013 14:08:30 -0600 Subject: [PATCH] ARM: head: fix swapper and idmap population with LPAE and big-endian In-Reply-To: References: <1361805401-8629-1-git-send-email-will.deacon@arm.com> Message-ID: <512BC4BE.7050103@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 02/25/2013 10:05 AM, Marc Zyngier wrote: > On Mon, 25 Feb 2013 15:16:41 +0000, Will Deacon > 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: >> Acked-by: Catalin Marinas >> Signed-off-by: Will Deacon > > 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