From: Russell King Date: Sat, 4 Apr 2015 19:09:46 +0000 (+0100) Subject: ARM: redo TTBR setup code for LPAE X-Git-Tag: omap-for-v4.3/legacy-v2-signed~129^2~7^4~3 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2c3e38a5471;p=pandora-kernel.git ARM: redo TTBR setup code for LPAE Re-engineer the LPAE TTBR setup code. Rather than passing some shifted address in order to fit in a CPU register, pass either a full physical address (in the case of r4, r5 for TTBR0) or a PFN (for TTBR1). This removes the ARCH_PGD_SHIFT hack, and the last dangerous user of cpu_set_ttbr() in the secondary CPU startup code path (which was there to re-set TTBR1 to the appropriate high physical address space on Keystone2.) Tested-by: Murali Karicheri Signed-off-by: Russell King --- Reading git-diff-tree failed