summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/hsmmc.h
diff options
context:
space:
mode:
authorSricharan R <r.sricharan@ti.com>2013-03-18 15:24:04 +0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2013-03-22 21:16:53 +0400
commite651eab0af88aa7a281fe9e8c36c0846552aa7fc (patch)
tree95dae96e080e1ac541bafcfb13eda43828007e45 /arch/arm/mach-omap2/hsmmc.h
parent7fb476c231bbc551ede5b4afb189d9ca5ab7406d (diff)
downloadlinux-e651eab0af88aa7a281fe9e8c36c0846552aa7fc.tar.xz
ARM: 7677/1: LPAE: Fix mapping in alloc_init_section for unaligned addresses
With LPAE enabled, alloc_init_section() does not map the entire address space for unaligned addresses. The issue also reproduced with CMA + LPAE. CMA tries to map 16MB with page granularity mappings during boot. alloc_init_pte() is called and out of 16MB, only 2MB gets mapped and rest remains unaccessible. Because of this OMAP5 boot is broken with CMA + LPAE enabled. Fix the issue by ensuring that the entire addresses are mapped. Signed-off-by: R Sricharan <r.sricharan@ti.com> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Christoffer Dall <chris@cloudcar.com> Cc: Santosh Shilimkar <santosh.shilimkar@ti.com> Tested-by: Laura Abbott <lauraa@codeaurora.org> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Acked-by: Christoffer Dall <chris@cloudcar.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-omap2/hsmmc.h')
0 files changed, 0 insertions, 0 deletions