linux/arch/sh
Paul Mundt d04a0f79f5 sh: Fix up extended mode TLB for SH-X2+ cores.
The extended mode TLB requires both 64-bit PTEs and a 64-bit pgprot,
correspondingly, the PGD also has to be 64-bits, so fix that up.

The kernel and user permission bits really are decoupled in early
cuts of the silicon, which means that we also have to set corresponding
kernel permissions on user pages or we end up with user pages that the
kernel simply can't touch (!).

Finally, with those things corrected, really enable MMUCR.ME and
correct the PTEA value (this simply needs to be the upper 32-bits
of the PTE, with the size and protection bit encoding).

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2007-09-21 11:57:55 +09:00
..
boards sh: se7206: Handle non-SuperIO I/O ports. 2007-09-21 11:57:54 +09:00
boot sh: arch/sh/boot - fix shell usage 2007-07-26 17:43:41 +09:00
cchips sh: hd64461: Trivial build fixes for SH7709. 2007-09-21 11:57:53 +09:00
configs sh: se7206: update defconfig. 2007-09-21 11:57:54 +09:00
drivers sh: dma: Fix up build for SH7709 support. 2007-09-21 11:57:53 +09:00
kernel sh: Wire up URAM node on SH7785. 2007-09-21 11:57:55 +09:00
lib sh: Revert __xdiv64_32 size change. 2007-07-13 12:27:13 +09:00
math-emu sh: Fix up the math-emu build. 2007-06-11 15:57:42 +09:00
mm sh: Fix up extended mode TLB for SH-X2+ cores. 2007-09-21 11:57:55 +09:00
oprofile sh: Fixup cpu_data references for the non-boot CPUs. 2007-02-13 10:54:45 +09:00
tools sh: remove support for sh7300 and solution engine 7300 2007-07-26 15:37:57 +09:00
Kconfig sh: Magic Panel R2 board support. 2007-09-21 11:57:54 +09:00
Kconfig.debug sh: minor fixes 2007-09-21 11:57:52 +09:00
Makefile sh: Magic Panel R2 board support. 2007-09-21 11:57:54 +09:00