• Paul Mundt's avatar
    sh: Preliminary support for SH-X2 MMU. · 21440cf0
    Paul Mundt authored
    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: default avatarPaul Mundt <lethal@linux-sh.org>
    21440cf0
Kconfig 8.37 KB