Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1226592

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

From Christoph Hellwig <hch@lst.de>
Newsgroups linux.kernel
Subject Re: [PATCH] x86: Fix gfp flags for coherent DMA memory allocation
Date 2015-09-17 02:10 +0200
Message-ID <q9uVY-3hs-5@gated-at.bofh.it> (permalink)
References <q8wGv-8aY-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@lst.de>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] x86: Fix gfp flags for coherent DMA memory allocation Junichi Nomura <j-nomura@ce.jp.nec.com> - 2015-09-14 09:50 +0200
  Re: [PATCH] x86: Fix gfp flags for coherent DMA memory allocation Junichi Nomura <j-nomura@ce.jp.nec.com> - 2015-09-15 11:40 +0200
  Re: [PATCH] x86: Fix gfp flags for coherent DMA memory allocation Tony Luck <tony.luck@gmail.com> - 2015-09-16 23:50 +0200
  Re: [PATCH] x86: Fix gfp flags for coherent DMA memory allocation Christoph Hellwig <hch@lst.de> - 2015-09-17 02:10 +0200
  [tip:x86/urgent] x86/pci/dma:   Fix gfp flags for coherent DMA memory allocation tip-bot for Junichi Nomura <tipbot@zytor.com> - 2015-09-17 16:30 +0200

csiph-web