android_kernel_samsung_msm8976/include/asm-sh
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
..
adx Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bigsur [PATCH] Serial: Split 8250 port table (part 2) 2005-06-29 18:45:19 +01:00
cat68701 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpu-sh2 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpu-sh3 sh: Fixup TMU_TOCR definition for SH7300. 2006-09-27 13:30:08 +09:00
cpu-sh4 sh: Fix fatal oops in copy_user_page() on sh4a (SH7780). 2006-09-27 14:38:02 +09:00
cqreek Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dmida Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dreamcast Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ec3104 [PATCH] Serial: Split 8250 port table (part 2) 2005-06-29 18:45:19 +01:00
edosk7705 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
harp Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hd64465 Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
hp6xx sh: Move hd64461.h to a more sensible location. 2006-09-27 13:42:57 +09:00
hs7751rvoip sh: HS7751RVoIP board updates. 2006-09-27 13:56:28 +09:00
landisk sh: landisk board support. 2006-09-27 14:53:35 +09:00
mpc1211 [PATCH] irq-flags: SH: Use the new IRQF_ constants 2006-07-02 13:58:48 -07:00
overdrive Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
rts7751r2d Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
saturn Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
se sh: Move smc37c93x.h for SystemH board use. 2006-09-27 11:16:20 +09:00
se7300 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
se7751 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
se73180 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sh03 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sh2000 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
snapgear Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
systemh Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
a.out.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
adc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
addrspace.h [PATCH] Typo fixes 2006-03-28 09:16:08 -08:00
atomic.h sh: Various cosmetic cleanups. 2006-09-27 12:31:01 +09:00
auxvec.h [PATCH] auxiliary vector cleanups 2005-09-07 16:57:21 -07:00
bitops.h sh: Various cosmetic cleanups. 2006-09-27 12:31:01 +09:00
bug.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
bugs.h sh: Support for SH7770/SH7780 CPU subtypes. 2006-09-27 14:31:40 +09:00
byteorder.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cache.h sh: Optimized cache handling for SH-4/SH-4A caches. 2006-09-27 14:09:26 +09:00
cacheflush.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
checksum.h sh: Various cosmetic cleanups. 2006-09-27 12:31:01 +09:00
clock.h [PATCH] sh: Simplistic clock framework 2006-01-16 23:15:28 -08:00
cputime.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
current.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
delay.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
div64.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dma-mapping.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
dma.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
elf.h [PATCH] fix remaining missing includes 2005-11-07 07:53:41 -08:00
emergency-restart.h [PATCH] Add emergency_restart() 2005-07-26 14:35:41 -07:00
errno.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fcntl.h [PATCH] Clean up struct flock64 definitions 2005-09-07 16:57:38 -07:00
fixmap.h sh: Various cosmetic cleanups. 2006-09-27 12:31:01 +09:00
flat.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
floppy.h [PATCH] irq-flags: SH: Use the new IRQF_ constants 2006-07-02 13:58:48 -07:00
freq.h [PATCH] sh: Simplistic clock framework 2006-01-16 23:15:28 -08:00
futex.h [PATCH] consolidate asm/futex.h 2006-01-08 20:13:39 -08:00
hardirq.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
hd64461.h sh: Move hd64461.h to a more sensible location. 2006-09-27 13:42:57 +09:00
hw_irq.h [PATCH] genirq: add ->retrigger() irq op to consolidate hw_irq_resend() 2006-06-29 10:26:23 -07:00
ide.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
io.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
io_generic.h [PATCH] sh: I/O routine cleanups and ioremap() overhaul 2006-01-16 23:15:28 -08:00
ioctl.h [PATCH] Generic ioctl.h 2006-01-10 08:01:34 -08:00
ioctls.h [PATCH] sh/sh64: Fix bogus TIOCGICOUNT definitions 2006-02-01 08:53:20 -08:00
ipc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ipcbuf.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
irq-sh7780.h [PATCH] sh: drop maskpos from make_ipr_irq(), remove duplicate irq definitions 2006-02-01 08:53:20 -08:00
irq-sh73180.h [PATCH] sh: drop maskpos from make_ipr_irq(), remove duplicate irq definitions 2006-02-01 08:53:20 -08:00
irq.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
Kbuild Add empty Kbuild files for 'make headers_install' in remaining arches. 2006-06-18 12:58:53 +01:00
kexec.h [PATCH] sh: kexec() support 2006-01-16 23:15:27 -08:00
keyboard.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
kgdb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kmap_types.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
linkage.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
local.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
machvec.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
machvec_init.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
mc146818rtc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
microdev.h [PATCH] sh: SH4-202 microdev updates 2006-02-01 08:53:19 -08:00
mman.h [PATCH] add asm-generic/mman.h 2006-02-15 15:32:22 -08:00
mmu.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mmu_context.h sh: Add control register barriers. 2006-09-27 14:57:44 +09:00
module.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
msgbuf.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mutex.h [PATCH] mutex subsystem, add default include/asm-*/mutex.h files 2006-01-09 15:59:19 -08:00
namei.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
page.h sh: hugetlb updates. 2006-09-27 13:11:57 +09:00
param.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pci.h sh: Fix libata build. 2006-09-27 14:48:09 +09:00
percpu.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pgalloc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pgtable-2level.h [PATCH] Standardize pxx_page macros 2006-09-26 08:48:51 -07:00
pgtable.h [PATCH] Standardize pxx_page macros 2006-09-26 08:48:51 -07:00
poll.h [PATCH] POLLRDHUP/EPOLLRDHUP handling for half-closed devices notifications 2006-03-25 08:22:56 -08:00
posix_types.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
processor.h sh: prefetch()/prefetchw() support. 2006-09-27 14:20:54 +09:00
ptrace.h Fix 'make headers_check' on sh 2006-09-21 08:36:50 +01:00
resource.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rtc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rwsem.h [PATCH] lockdep: remove RWSEM_DEBUG remnants 2006-07-03 15:27:01 -07:00
scatterlist.h sh: Fix libata build. 2006-09-27 14:48:09 +09:00
sections.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
segment.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
semaphore-helper.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
semaphore.h [PATCH] semaphore: Remove __MUTEX_INITIALIZER() 2005-10-30 17:37:27 -08:00
sembuf.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
serial.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
setup.h sh: earlyprintk= support and cleanups. 2006-09-27 14:26:53 +09:00
sh_bios.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
shmbuf.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
shmparam.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sigcontext.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
siginfo.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
signal.h [PATCH] irq-flags: SH: Use the new IRQF_ constants 2006-07-02 13:58:48 -07:00
smc37c93x.h sh: Move smc37c93x.h for SystemH board use. 2006-09-27 11:16:20 +09:00
smp.h sh: remove cpu_online() definition from <asm/smp.h> 2006-09-27 14:32:57 +09:00
socket.h [AF_UNIX]: Datagram getpeersec 2006-06-29 16:58:06 -07:00
sockios.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
spinlock.h [PATCH] spinlock consolidation 2005-09-10 10:06:21 -07:00
spinlock_types.h [PATCH] spinlock consolidation 2005-09-10 10:06:21 -07:00
stat.h [PATCH] 2TB files: st_blocks is invalid when calling stat64 2006-03-26 08:57:00 -08:00
statfs.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
string.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
system.h sh: Add control register barriers. 2006-09-27 14:57:44 +09:00
termbits.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
termios.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
thread_info.h [PATCH] bitops: sh: make thread_info.flags an unsigned long 2006-03-26 08:57:15 -08:00
timer.h [PATCH] sh: Simple timer framework 2006-01-16 23:15:28 -08:00
timex.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tlb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tlbflush.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
topology.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
types.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
uaccess.h [PATCH] remove verify_area(): remove verify_area() from various uaccess.h headers 2005-09-07 16:57:35 -07:00
ubc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ucontext.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
unaligned.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
unistd.h sh: Wire up new syscalls. 2006-09-27 14:36:44 +09:00
user.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
watchdog.h sh: Various cosmetic cleanups. 2006-09-27 12:31:01 +09:00
xor.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00