]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc728f75eea753b81c49ca2ddcea140cce5fc8334
treef14d30f02314d75860aa1ed12449410e6659513b
parent055acf0f448c4cf041eac71a76ad4f80ca102124
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