]> Pileus Git - ~andy/linux/commit
ARM: LPAE: use phys_addr_t in switch_mm()
authorCyril Chemparathy <cyril@ti.com>
Mon, 16 Jul 2012 19:37:06 +0000 (15:37 -0400)
committerWill Deacon <will.deacon@arm.com>
Thu, 30 May 2013 15:02:03 +0000 (16:02 +0100)
commit13f659b0f363114282679d06094337c5efa12fa8
treee178af55e00678576f74730168055738d33ac89a
parentde22cc6e33449d8d6fb339619e32138ea4fcc2a4
ARM: LPAE: use phys_addr_t in switch_mm()

This patch modifies the switch_mm() processor functions to use phys_addr_t.
On LPAE systems, we now honor the upper 32-bits of the physical address that
is being passed in, and program these into TTBR as expected.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
Reviewed-by: Nicolas Pitre <nico@linaro.org>
Tested-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Tested-by: Subash Patel <subash.rp@samsung.com>
[will: fixed up conflict in 3-level switch_mm with big-endian changes]
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/include/asm/proc-fns.h
arch/arm/mm/proc-v7-3level.S