Re: [PATCH 1/2] m68k: Set default dma mask for platform devices

From: Christoph Hellwig
Date: Fri May 18 2018 - 04:03:36 EST


> This implementation of arch_setup_pdev_archdata() differs from the
> powerpc one, in that this one avoids clobbering a device dma mask
> which has already been initialized.

I think your implementation should move into the generic implementation
in drivers/base/platform.c instead of being stuck in m68k.

Also powerpc probably wants fixing, but that's something left to the
ppc folks..