]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: no longer force unbuffered DMA for realview
authorArnd Bergmann <arnd@arndb.de>
Wed, 25 Nov 2015 16:32:17 +0000 (17:32 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 15 Dec 2015 08:41:33 +0000 (09:41 +0100)
commit38541bf48588d5350e45167510766f8bb6ba6582
treeeb92ca892dc02ba5d7481337e971d8a77ce09238
parent3c30a4a357bd1011322782d6a60fa284d8bd8286
ARM: no longer force unbuffered DMA for realview

Commit 42c4dafe803dca ("ARM: 6202/1: Do not ARM_DMA_MEM_BUFFERABLE
on RealView boards with L210/L220") changed the generic setting for
ARM_DMA_MEM_BUFFERABLE to be disabled on any Realview kernel that includes
support for any of the ARM11 variations. Doing this was required to
allow doing DMA without a lockup in the l2x0 cache controller on the
Realview platform.

Unfortunately, in a kernel that also contains support for any ARMv7
based machine, the same change makes it impossible to do DMA on ARMv7,
which gets in the way of enabling multiplatform support on Realview.

As confirmed by Catalin Marinas and Linus Walleij, the current
code for Realview that we have in the kernel does not actually
perform any DMA, and this is unlikely to change in the future.
Therefore we can revert 42c4dafe803dca without introducing regressions,
but we must never start using DMA on this platform in the future.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mm/Kconfig