kernel_optimize_test/arch/sh/mm
Paul Mundt 8b395265f8 sh: Fix fatal oops in copy_user_page() on sh4a (SH7780).
We had a pretty interesting oops happening, where copy_user_page()
was down()'ing p3map_sem[] with a bogus offset (particularly, an
offset that hadn't been initialized with sema_init(), due to the
mismatch between cpu_data->dcache.n_aliases and what was assumed
based off of the old CACHE_ALIAS value).

Luckily, spinlock debugging caught this for us, and so we drop
the old hardcoded CACHE_ALIAS for sh4 completely and rely on the
run-time probed cpu_data->dcache.alias_mask. This in turn gets
the p3map_sem[] index right, and everything works again.

While we're at it, also convert to 4-level page tables..

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2006-09-27 14:38:02 +09:00
..
cache-sh2.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cache-sh3.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cache-sh4.c sh: Optimized cache handling for SH-4/SH-4A caches. 2006-09-27 14:09:26 +09:00
cache-sh7705.c [PATCH] Standardize pxx_page macros 2006-09-26 08:48:51 -07:00
clear_page.S sh: Optimized cache handling for SH-4/SH-4A caches. 2006-09-27 14:09:26 +09:00
consistent.c [PATCH] mm: split highorder pages 2006-03-22 07:53:57 -08:00
copy_page.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
extable.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
fault-nommu.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fault.c [PATCH] mm: i386 sh sh64 ready for split ptlock 2005-10-29 21:40:41 -07:00
hugetlbpage.c sh: hugetlb updates. 2006-09-27 13:11:57 +09:00
init.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ioremap.c [PATCH] sh: I/O routine cleanups and ioremap() overhaul 2006-01-16 23:15:28 -08:00
Kconfig [PATCH] sh: Move CPU subtype configuration to its own Kconfig 2006-01-16 23:15:28 -08:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pg-dma.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pg-nommu.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pg-sh4.c sh: Fix fatal oops in copy_user_page() on sh4a (SH7780). 2006-09-27 14:38:02 +09:00
pg-sh7705.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tlb-nommu.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tlb-sh3.c [PATCH] sh: Use pfn_valid() for lazy dcache write-back on SH7705 2005-11-07 07:53:28 -08:00
tlb-sh4.c sh: Support for SH7770/SH7780 CPU subtypes. 2006-09-27 14:31:40 +09:00