ARM: 8114/1: LPAE: load upper bits of early TTBR0/TTBR1
authorKonstantin Khlebnikov <k.khlebnikov@samsung.com>
Fri, 25 Jul 2014 08:16:28 +0000 (09:16 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 9 Aug 2014 07:42:12 +0000 (08:42 +0100)
commit7fb00c2fca4b6c58be521eb3676cf4b4ba8dde3b
treea20d6a53ad109aa7e3e787981811cc739964d5df
parentc309bfa9b481e7dbd3e1ab819271bf3009f44859
ARM: 8114/1: LPAE: load upper bits of early TTBR0/TTBR1

This patch fixes booting when idmap pgd lays above 4gb. Commit
4756dcbfd37 mostly had fixed this, but it'd failed to load upper bits.

Also this fixes adding TTBR1_OFFSET to TTRR1: if lower part overflows
carry flag must be added to the upper part.

Signed-off-by: Konstantin Khlebnikov <k.khlebnikov@samsung.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/proc-v7-3level.S