diff options
author | Junichi Nomura <[email protected]> | 2015-09-14 07:38:36 +0000 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2015-09-17 16:22:11 +0200 |
commit | 590f07874e8e3c83729b919312c65aea2533c8cf (patch) | |
tree | e79e7338f0f3186d386ee5f4cae3c13636354795 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f (diff) |
x86/pci/dma: Fix gfp flags for coherent DMA memory allocation
Commit 6894258eda2f reversed the order of gfp_flags adjustment in
dma_alloc_attrs() for x86 [arch/x86/kernel/pci-dma.c] As a result,
relevant flags set by dma_alloc_coherent_gfp_flags() are just
discarded and cause coherent DMA memory allocation failure on some
devices.
Fixes: 6894258eda2f ("dma-mapping: consolidate dma_{alloc,free}_{attrs,coherent}")
Signed-off-by: Jun'ichi Nomura <[email protected]>
Tested-by: Tony Luck <[email protected]>
Acked-by: Christoph Hellwig <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions