kernel-fxtec-pro1x/arch/sh/mm
Paul Mundt 298476220d sh: Add control register barriers.
Currently when making changes to control registers, we
typically need some time for changes to take effect (8
nops, generally).  However, for sh4a we simply need to
do an icbi..

This is a simple patch for implementing a general purpose
ctrl_barrier() which functions as a control register write
barrier. There's some additional documentation in the patch
itself, but it's pretty self explanatory.

There were also some places where we were not doing the
barrier, which didn't seem to have any adverse effects on
legacy parts, but certainly did on sh4a. It's safer to have
the barrier in place for legacy parts as well in these cases,
though this does make flush_tlb_all() more expensive (by an
order of 8 nops).  We can ifdef around the flush_tlb_all()
case for now if it's clear that all legacy parts won't have
a problem with this.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2006-09-27 14:57:44 +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: Add control register barriers. 2006-09-27 14:57:44 +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 sh: Add control register barriers. 2006-09-27 14:57:44 +09: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: Add flag for MMU PTEA capability. 2006-09-27 14:55:41 +09:00