MIPS: Add option to disable software I/O coherency.
authorSteven J. Hill <Steven.Hill@imgtec.com>
Mon, 25 Mar 2013 18:47:29 +0000 (13:47 -0500)
committerSteven J. Hill <Steven.Hill@imgtec.com>
Wed, 1 May 2013 21:32:49 +0000 (16:32 -0500)
commitb6d92b4a6bdb880b39789c677b952c53a437028d
treef14d30f02314d75860aa1ed12449410e6659513b
parentc34c09c81d659e13e15947580198fa652af3ca1a
MIPS: Add option to disable software I/O coherency.

Some MIPS controllers have hardware I/O coherency. This patch
detects those and turns off software coherency. A new kernel
command line option also allows the user to manually turn
software coherency on or off.

Signed-off-by: Steven J. Hill <Steven.Hill@imgtec.com>
arch/mips/include/asm/dma-coherence.h [new file with mode: 0644]
arch/mips/include/asm/dma-mapping.h
arch/mips/include/asm/mach-generic/dma-coherence.h
arch/mips/mm/c-r4k.c
arch/mips/mm/dma-default.c
arch/mips/mti-malta/malta-setup.c
arch/mips/mti-sead3/sead3-setup.c