linux-stable-rt/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
..
Kconfig
Makefile
cache-sh2.c
cache-sh3.c
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
extable.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
fault-nommu.c
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
pg-dma.c
pg-nommu.c
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
tlb-nommu.c
tlb-sh3.c
tlb-sh4.c sh: Add flag for MMU PTEA capability. 2006-09-27 14:55:41 +09:00