Re: [PATCH] x86: Fix gfp flags for coherent DMA memory allocation

From: Christoph Hellwig
Date: Wed Sep 16 2015 - 20:04:51 EST


On Mon, Sep 14, 2015 at 07:38:36AM +0000, Junichi Nomura 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.

Oops, sorry. Thanks for fixing this:

Acked-by: Christoph Hellwig <hch@xxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/