Skip to content

Commit 38541bf

Browse files
arndbLinus Walleij
authored andcommitted
ARM: no longer force unbuffered DMA for realview
Commit 42c4daf ("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 42c4daf without introducing regressions, but we must never start using DMA on this platform in the future. Signed-off-by: Arnd Bergmann <[email protected]> Cc: Russell King <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
1 parent 3c30a4a commit 38541bf

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

arch/arm/mm/Kconfig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,8 +1005,6 @@ config ARM_L1_CACHE_SHIFT
10051005

10061006
config ARM_DMA_MEM_BUFFERABLE
10071007
bool "Use non-cacheable memory for DMA" if (CPU_V6 || CPU_V6K) && !CPU_V7
1008-
depends on !(MACH_REALVIEW_PB1176 || REALVIEW_EB_ARM11MP || \
1009-
MACH_REALVIEW_PB11MP)
10101008
default y if CPU_V6 || CPU_V6K || CPU_V7
10111009
help
10121010
Historically, the kernel has used strongly ordered mappings to

0 commit comments

Comments
 (0)