[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+8MBbJ6-KfdVaVvWo4ehf0vbmQQzEEGNbc4vpYRm3cEbW6mWA@mail.gmail.com>
Date: Wed, 16 Sep 2015 14:47:35 -0700
From: Tony Luck <tony.luck@...il.com>
To: Junichi Nomura <j-nomura@...jp.nec.com>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"x86@...nel.org" <x86@...nel.org>,
"tglx@...utronix.de" <tglx@...utronix.de>,
"mingo@...hat.com" <mingo@...hat.com>,
Christoph Hellwig <hch@....de>, "hpa@...or.com" <hpa@...or.com>
Subject: Re: [PATCH] x86: Fix gfp flags for coherent DMA memory allocation
On Mon, Sep 14, 2015 at 12:38 AM, Junichi Nomura <j-nomura@...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@...jp.nec.com>
Tested-by: Tony Luck <tony.luck@...el.com>
Is this en-route to Linus? I can't boot 4.3-rc1 without this patch.
-Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists