Patchwork [4/6] UBUNTU: SAUCE: force DMA buffers to non-bufferable on highbank

login
register
mail settings
Submitter Ike Panhc
Date May 31, 2012, 9:52 a.m.
Message ID <1338457947-27718-1-git-send-email-ike.pan@canonical.com>
Download mbox | patch
Permalink /patch/162126/
State New
Headers show

Comments

Ike Panhc - May 31, 2012, 9:52 a.m.
From: Rob Herring <rob.herring@calxeda.com>

BugLink: http://bugs.launchpad.net/bugs/1000831

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 7c8a7d8..4248422 100644
--- a/arch/arm/mm/Kconfig
+++ b/arch/arm/mm/Kconfig
@@ -895,7 +895,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