[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.21.1804250009400.51102@chino.kir.corp.google.com>
Date: Wed, 25 Apr 2018 00:09:45 -0700 (PDT)
From: David Rientjes <rientjes@...gle.com>
To: Christoph Hellwig <hch@...radead.org>
cc: Linus Torvalds <torvalds@...ux-foundation.org>,
iommu@...ts.linux-foundation.org, linux-kernel@...r.kernel.org
Subject: Re: [GIT PULL] dma mapping fixes for 4.17-rc3
On Tue, 24 Apr 2018, Christoph Hellwig wrote:
> On Tue, Apr 24, 2018 at 11:54:26PM -0700, David Rientjes wrote:
> > Shouldn't that test for dev->coherent_dma_mask < DMA_BIT_MASK(32) be more
> > accurately <=?
>
> No, it should really be <. The exactly 32-bit case is already covered
> with GFP_DMA32. Eventualy it should be < 24-bit with a separate
> GFP_DMA32 case for > 32-bit && < 64-bit. Takashi has been working on
> that, but it is 4.18 material.
>
Ack, thanks.
Powered by blists - more mailing lists