Patchwork [17/18] TEMP: force DMA buffers to non-bufferable on highbank

login
register
mail settings
Submitter Ike Panhc
Date May 17, 2012, 6:46 a.m.
Message ID <1337237210-3885-1-git-send-email-ike.pan@canonical.com>
Download mbox | patch
Permalink /patch/159837/
State New
Headers show

Comments

Ike Panhc - May 17, 2012, 6:46 a.m.
From: Rob Herring <rob.herring@calxeda.com>

The xgmac driver has problems with bufferable DMA descriptors. For now,
change the memory type to get things working reliably.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Ike Panhc <ike.pan@canonical.com>
---
 arch/arm/mm/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig
index 67f75a0..aeaf699 100644
--- a/arch/arm/mm/Kconfig
+++ b/arch/arm/mm/Kconfig
@@ -867,7 +867,7 @@  config ARM_L1_CACHE_SHIFT
 config ARM_DMA_MEM_BUFFERABLE
 	bool "Use non-cacheable memory for DMA" if (CPU_V6 || CPU_V6K) && !CPU_V7
 	depends on !(MACH_REALVIEW_PB1176 || REALVIEW_EB_ARM11MP || \
-		     MACH_REALVIEW_PB11MP)
+		     MACH_REALVIEW_PB11MP || ARCH_HIGHBANK)
 	default y if CPU_V6 || CPU_V6K || CPU_V7
 	help
 	  Historically, the kernel has used strongly ordered mappings to