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)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:22:54 +0000 (13:22 -0700)
commit9fd737aa85d02afbfbfffb57caea80fae78d39b8
tree51e7087eef16d6fb4a2a893d1e9e98b40c7c173c
parent73e19b2bde44a19e22b90d8b371f3d75df679471
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.

Change-Id: I596f50c4ff241b0769b43391de026b85c5774c6f
Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com>
Reviewed-on: http://git-master/r/195672
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Adeel Raza <araza@nvidia.com>
arch/arm/include/asm/proc-fns.h
arch/arm/mm/proc-v7-3level.S