android_kernel_xiaomi_sdm845/arch/sh/mm
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
..
cache-debugfs.c sh: More license string silliness. 2007-09-21 11:57:51 +09:00
cache-sh2.c sh: Add support for SH7206 and SH7619 CPU subtypes. 2006-12-06 10:45:36 +09:00
cache-sh3.c sh: Fixup cpu_data references for the non-boot CPUs. 2007-02-13 10:54:45 +09:00
cache-sh4.c sh: Reclaim beginning of P3 space for vmalloc area. 2007-07-25 10:43:47 +09:00
cache-sh7705.c sh: Revert lazy dcache writeback changes. 2007-03-05 19:46:47 +09:00
clear_page.S sh: Fixup various PAGE_SIZE == 4096 assumptions. 2006-12-06 10:45:39 +09:00
consistent.c sh: Zero-out coherent buffer in consistent_alloc(). 2006-10-10 18:33:10 +09:00
copy_page.S sh: Fix page size alignment in __copy_user_page(). 2007-05-21 14:33:13 +09:00
extable.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
fault-nommu.c sh: nommu fault handler needs signal.h. 2007-09-21 11:57:52 +09:00
fault.c sh: Fix pgd mismatch from cached TTB in unhandled fault. 2007-08-01 16:39:51 +09:00
hugetlbpage.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
init.c sh: Tidy up dependencies for SH-2 build. 2007-06-11 15:32:07 +09:00
ioremap.c sh: ioremap() through PMB needs asm/mmu.h. 2007-06-04 10:58:23 +09:00
Kconfig sh: Wire up URAM node on SH7785. 2007-09-21 11:57:55 +09:00
Makefile sh: Fix cache disabling build failures on nommu. 2007-09-21 11:57:47 +09:00
numa.c sh: Support for multiple nodes. 2007-06-08 02:43:49 +00:00
pg-nommu.c sh: Various nommu fixes. 2006-09-27 17:21:02 +09:00
pg-sh4.c sh: Fix fs.h removal from mm.h regressions. 2007-07-31 13:01:43 +09:00
pg-sh7705.c sh: Revert lazy dcache writeback changes. 2007-03-05 19:46:47 +09:00
pmb.c sh: Support explicit L1 cache disabling. 2007-09-21 11:57:46 +09:00
tlb-flush.c sh: Revert lazy dcache writeback changes. 2007-03-05 19:46:47 +09:00
tlb-nommu.c sh: Local TLB flushing variants for SMP prep. 2007-02-13 10:54:45 +09:00
tlb-sh3.c sh: Revert lazy dcache writeback changes. 2007-03-05 19:46:47 +09:00
tlb-sh4.c sh: Fix up extended mode TLB for SH-X2+ cores. 2007-09-21 11:57:55 +09:00