Files
linux/arch/x86/kernel
FUJITA Tomonori 823e7e8c6e x86: dma_alloc_coherent sets gfp flags properly
Non real IOMMU implemenations (which doesn't do virtual mappings,
e.g. swiotlb, pci-nommu, etc) need to use proper gfp flags and
dma_mask to allocate pages in their own dma_alloc_coherent()
(allocated page need to be suitable for device's coherent_dma_mask).

This patch makes dma_alloc_coherent do this job so that IOMMUs don't
need to take care of it any more.

Real IOMMU implemenataions can simply ignore the gfp flags.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-09-08 15:50:07 +02:00
..
2008-07-24 10:47:22 -07:00
2008-07-16 10:58:55 +02:00
2008-07-18 14:35:14 +02:00
2008-07-20 09:18:17 +02:00
2008-07-23 18:00:30 -07:00
2008-07-23 17:55:22 -07:00
2008-07-27 21:43:11 +02:00
2008-07-08 13:16:14 +02:00
2008-08-14 13:23:45 +02:00
2008-07-01 11:03:31 +02:00
2008-04-26 17:35:47 +02:00
2008-06-02 11:55:52 +02:00
2008-01-30 13:33:10 +01:00
2008-07-16 10:54:39 +02:00
2008-04-19 19:19:54 +02:00
2008-04-27 12:00:28 +03:00
2008-08-15 08:35:43 -07:00
2008-07-26 12:00:04 -07:00
2008-07-16 12:15:17 -07:00
2008-06-12 18:05:42 -07:00
2008-07-06 14:01:50 +02:00
2008-07-16 12:15:17 -07:00
2008-07-08 12:23:31 +02:00
2008-07-18 18:51:57 +02:00
2008-08-18 07:48:07 +02:00
2008-08-08 15:22:02 -07:00
2008-05-25 08:58:24 +02:00