]> 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)
commit98a522739b9e0d32a7e9d58a8ffe8619b5fde3a0
treef14d30f02314d75860aa1ed12449410e6659513b
parent8b4850db123faa5739a6730f65a9d560a6a789e9
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