From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754712AbeE2HCF (ORCPT ); Tue, 29 May 2018 03:02:05 -0400 Received: from verein.lst.de ([213.95.11.211]:53558 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754609AbeE2HCD (ORCPT ); Tue, 29 May 2018 03:02:03 -0400 Date: Tue, 29 May 2018 09:08:13 +0200 From: Christoph Hellwig To: Michael Schmitz Cc: Geert Uytterhoeven , Finn Thain , Christoph Hellwig , Guenter Roeck , Joshua Thompson , Greg Ungerer , linux-m68k , Linux Kernel Mailing List Subject: Re: [RFC PATCH] m68k: set dma and coherent masks for Macintosh SONIC based ethernet Message-ID: <20180529070813.GA32615@lst.de> References: <1527378785-13326-1-git-send-email-linux@roeck-us.net> <55c1c33b-4a34-bd72-57de-577ce8d95e0b@gmail.com> <2ffd0de6-e8d6-6449-7c05-cbbfd8a99a97@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.