]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: mvebu: completely disable hardware I/O coherency
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 16 Jan 2015 16:11:27 +0000 (17:11 +0100)
committerAndrew Lunn <andrew@lunn.ch>
Sat, 17 Jan 2015 17:46:55 +0000 (11:46 -0600)
commit153ee4259d8fa9db6d5946d67424eaec32c75022
tree39ecf0922ae98ebbe7bc232076d65d849444af4c
parent965987c19682f64bdd8b57d2f524ab43dbed1995
ARM: mvebu: completely disable hardware I/O coherency

The current hardware I/O coherency is known to cause problems with DMA
coherent buffers, as it still requires explicit I/O synchronization
barriers, which is not compatible with the semantics expected by the
Linux DMA coherent buffers API.

So, in order to have enough time to validate a new solution based on
automatic I/O synchronization barriers, this commit disables hardware
I/O coherency entirely. Future patches will re-enable it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: <stable@vger.kernel.org> # v3.8+
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
arch/arm/mach-mvebu/coherency.c