On Wed, 25 Apr 2018, Christoph Hellwig wrote: > The following changes since commit 6d08b06e67cd117f6992c46611dfb4ce267cd71e: > > Linux 4.17-rc2 (2018-04-22 19:20:09 -0700) > > are available in the Git repository at: > > git://git.infradead.org/users/hch/dma-mapping.git tags/dma-mapping-4.17-3 > > for you to fetch changes up to 60695be2bb6b0623f8e53bd9949d582a83c6d44a: > > dma-mapping: postpone cpu addr translation on mmap (2018-04-23 14:44:24 > +0200) > > ---------------------------------------------------------------- > A few small dma-mapping fixes for Linux 4.17-rc3: > > - don't loop to try GFP_DMA allocations if ZONE_DMA is not actually > enabled (regression in 4.16)
Shouldn't that test for dev->coherent_dma_mask < DMA_BIT_MASK(32) be more accurately <=?