On Tue, May 29, 2018 at 07:59:37AM +1200, Michael Schmitz wrote: > Hi Geert, > > my preference would be Finn's patch introducing a m68k > arch_setup_pdev_archdata(). It nicely preserves what bus code sets up > prior to registering a platform device (important for Zorro devices > using platform or mfd devices), and allows overriding by drivers that > need it.
Let's go with those for now. > > If ever a kernel-wide consensus is reached to move this setup to the > generic arch_setup_pdev_archdata(), we can still back out his patch at > that time. Finn found one counterexample where absence of DMA mask > signaled 'do not use DMA', so I think moving the DMA mask setup to > generic code is unlikely to happen any time. This is the right thing to do in the long run, and I'll spend some time auditing all dma_mask users for the next merge window.