Re: [RFC] m68k: Set up dma mask for platform devices

2018-05-14 Thread Greg Ungerer
Hi Finn, On 13/05/18 11:00, Finn Thain wrote: This avoids a WARNING splat when loading the macsonic or macmace driver. Please see commit 205e1b7f51e4 ("dma-mapping: warn when there is no coherent_dma_mask"). This implementation of arch_setup_pdev_archdata() differs from the one in arch/powerpc

[RFC] m68k: Set up dma mask for platform devices

2018-05-12 Thread Finn Thain
This avoids a WARNING splat when loading the macsonic or macmace driver. Please see commit 205e1b7f51e4 ("dma-mapping: warn when there is no coherent_dma_mask"). This implementation of arch_setup_pdev_archdata() differs from the one in arch/powerpc in that this one avoids clobbering an existing dm