From: Stephen Warren Date: Tue, 29 Oct 2013 19:47:21 +0000 (-0600) Subject: ARM: tegra: use section-sized static mappings for LPAE too X-Git-Tag: soc-for-linus~14^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6dee8200b794a83c0fb144878fdf0ac52af28835;p=pandora-kernel.git ARM: tegra: use section-sized static mappings for LPAE too The static mappings for Tegra's PPSB and APB regions were sized at 1MB in order to allow mapping via sections in order to avoid burning RAM for PTEs. On LPAE, sections are 2MB, so the static mappings need to be larger in order to gain the same benefit. Set IO_{PPSB,APB}_SIZE to SECTION_SIZE so this adjusts automatically. While we're fiddling with iomap.h, compress IO_{IRAM,CPU}_VIRT together to save virtual address space in the vmalloc region; these two regions are mapped using PTEs. Signed-off-by: Stephen Warren Reviewed-by: Thierry Reding --- Reading git-diff-tree failed