aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFUJITA Tomonori <[email protected]>2008-09-08 18:10:13 +0900
committerIngo Molnar <[email protected]>2008-09-08 15:50:07 +0200
commit823e7e8c6ef12cd1943dc42fe7595ca74e8cc3d7 (patch)
tree56f4b01741353ad4d24f24adeeedd68eaa041354 /tools/perf/scripts/python
parent8a53ad675f86ee003482b557da944e070d3c4859 (diff)
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 <[email protected]> Acked-by: Joerg Roedel <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions