sh: Preliminary support for SH-X2 MMU.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 20 Nov 2006 05:30:26 +0000 (14:30 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 6 Dec 2006 01:45:37 +0000 (10:45 +0900)
commit21440cf04a64cd1b1209c12a6e1a3afba2a28709
tree9af7a89c4c711b8433b3b1e23e2ba0c95f82fbf7
parentb552c7e8bceae8a04ae79ecee6fa369c1ba4f8e4
sh: Preliminary support for SH-X2 MMU.

This adds some preliminary support for the SH-X2 MMU, used by
newer SH-4A parts (particularly SH7785).

This MMU implements a 'compat' mode with SH-X MMUs and an
'extended' mode for SH-X2 extended features. Extended features
include additional page sizes (8kB, 4MB, 64MB), as well as the
addition of page execute permissions.

The extended mode attributes are placed in a second data array,
which requires us to switch to 64-bit PTEs when in X2 mode.

With the addition of the exec perms, we also overhaul the mmap
prots somewhat, now that it's possible to handle them more
intelligently.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/Kconfig
arch/sh/mm/init.c
arch/sh/mm/ioremap.c
arch/sh/mm/pg-sh4.c
include/asm-sh/elf.h
include/asm-sh/page.h
include/asm-sh/pgtable-2level.h [deleted file]
include/asm-sh/pgtable.h