Thread (1 message) 1 message, 1 author, 2010-08-19

ARM: 2.6.3[45] PCI regression (IXP4xx and PXA?)

From: khc@pm.waw.pl (Krzysztof Halasa)
Date: 2010-08-19 16:56:58
Also in: lkml

FUJITA Tomonori [off-list ref] writes:
quoted
quoted
+++ b/arch/arm/mm/dma-mapping.c
@@ -77,6 +77,11 @@ static struct page *__dma_alloc_buffer(struct device *dev, size_t size, gfp_t gf
 	if (mask < 0xffffffffULL)
 		gfp |= GFP_DMA;
 
+#ifdef CONFIG_DMABOUNCE
+	if (dev->archdata.dmabounce)
+		gfp |= GFP_DMA;
+#endif
+
 	page = alloc_pages(gfp, order);
 	if (!page)
 		return NULL;
I'll re-send the patch in the proper format. Can you send it to
mainline for 2.6.36?
Guess that's a question for Russell.
-- 
Krzysztof Halasa
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help