diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-09-21 11:55:03 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-09-21 11:57:55 +0900 |
commit | d04a0f79f502a87bb17b147afc4b3e39e75275c3 (patch) | |
tree | 9fcd7244769316e22ce54e11bd0b80f544b30f90 /sound/oss/dmabuf.c | |
parent | db2504966ceb9f08557b6ea3ab7e367016fcaba9 (diff) |
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>
Diffstat (limited to 'sound/oss/dmabuf.c')
0 files changed, 0 insertions, 0 deletions