linux-stable-rt/arch/sh/mm
Matt Fleming 3d467676ab sh: Setup early PMB mappings.
More and more boards are going to start shipping that boot with the MMU
in 32BIT mode by default. Previously we relied on the bootloader to
setup PMB mappings for use by the kernel but we also need to cater for
boards whose bootloaders don't set them up.

If CONFIG_PMB_LEGACY is not enabled we have full control over our PMB
mappings and can compress our address space. Usually, the distance
between the the cached and uncached mappings of RAM is always 512MB,
however we can compress the distance to be the amount of RAM on the
board.

pmb_init() now becomes much simpler. It no longer has to calculate any
mappings, it just has to synchronise the software PMB table with the
hardware.

Tested on SDK7786 and SH7785LCR.

Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2010-01-18 19:33:10 +09:00
..
Kconfig sh: default to extended TLB support. 2010-01-13 19:11:14 +09:00
Makefile sh: fixed PMB mode refactoring. 2010-01-13 18:31:48 +09:00
alignment.c sh: Split out the unaligned counters and user bits. 2010-01-12 16:12:25 +09:00
asids-debugfs.c
cache-debugfs.c
cache-sh2.c
cache-sh2a.c
cache-sh3.c
cache-sh4.c sh: Optimise flush_dcache_page() on SH4 2010-01-02 00:51:52 +00:00
cache-sh5.c sh64: Fix up reworked cache op build. 2009-11-12 17:03:28 +09:00
cache-sh7705.c
cache.c sh: Guard against early IPIs in flush_cache_all(). 2010-01-15 14:21:37 +09:00
consistent.c sh: Bump up dma_ops initialization far earlier in the boot process. 2009-10-27 17:07:45 +09:00
extable_32.c
extable_64.c
fault_32.c sh: Definitions for 3-level page table layout 2009-12-17 14:31:20 +09:00
fault_64.c
flush-sh4.c
hugetlbpage.c
init.c sh: Always provide thread_info allocators. 2010-01-12 19:01:11 +09:00
ioremap_32.c sh: wire up vmallocinfo support in ioremap() implementations. 2009-12-14 14:23:41 +09:00
ioremap_64.c sh: wire up vmallocinfo support in ioremap() implementations. 2009-12-14 14:23:41 +09:00
kmap.c
mmap.c fix broken aliasing checks for MAP_FIXED on sparc32, mips, arm and sh 2009-12-11 06:44:59 -05:00
nommu.c sh: Fix up nommu build for out-of-line pgtable changes. 2010-01-06 14:45:14 +09:00
numa.c sh: NUMA lmb fixes 2009-12-09 12:40:44 +09:00
pgtable.c sh: default to extended TLB support. 2010-01-13 19:11:14 +09:00
pmb.c sh: Setup early PMB mappings. 2010-01-18 19:33:10 +09:00
tlb-pteaex.c
tlb-sh3.c
tlb-sh4.c
tlb-sh5.c
tlbflush_32.c
tlbflush_64.c