Messages in this thread | | | Date | Wed, 16 Sep 2015 14:47:35 -0700 | Subject | Re: [PATCH] x86: Fix gfp flags for coherent DMA memory allocation | From | Tony Luck <> |
| |
On Mon, Sep 14, 2015 at 12:38 AM, Junichi Nomura <j-nomura@ce.jp.nec.com> wrote: > 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() > is just discarded and causes coherent DMA memory allocation failure > on some devices. > > Fixes: 6894258eda2f ("dma-mapping: consolidate dma_{alloc,free}_{attrs,coherent}") > Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
Tested-by: Tony Luck <tony.luck@intel.com>
Is this en-route to Linus? I can't boot 4.3-rc1 without this patch.
-Tony
| |