forked from luck/tmp_suning_uos_patched
8b395265f8
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> |
||
---|---|---|
.. | ||
cache-sh2.c | ||
cache-sh3.c | ||
cache-sh4.c | ||
cache-sh7705.c | ||
clear_page.S | ||
consistent.c | ||
copy_page.S | ||
extable.c | ||
fault-nommu.c | ||
fault.c | ||
hugetlbpage.c | ||
init.c | ||
ioremap.c | ||
Kconfig | ||
Makefile | ||
pg-dma.c | ||
pg-nommu.c | ||
pg-sh4.c | ||
pg-sh7705.c | ||
tlb-nommu.c | ||
tlb-sh3.c | ||
tlb-sh4.c |