Re: [RFC PATCH] m68k: set dma and coherent masks for Macintosh SONIC based ethernet

From: Christoph Hellwig
Date: Mon May 28 2018 - 01:27:44 EST


On Sat, May 26, 2018 at 09:15:05PM -0700, Guenter Roeck wrote:
> Good point. Maybe it would be better to limit the warning to SMP systems
> instead of (unnecessarily) fixing drivers all over the place ?

No. The coherent_dma_mask is the mask used for dma_alloc_coherent and
dma_alloc_attrs. It has nothing to do with cache coherent in SMP
systems.