Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3935580imm; Tue, 29 May 2018 17:29:29 -0700 (PDT) X-Google-Smtp-Source: ADUXVKK/tKnzBLkCqIL/IOjAvsrMnn+ErUQg3Gu+A21VRG4MKKKV2HKuhrbZSLg2S8kSKusjM2cQ X-Received: by 2002:a17:902:5517:: with SMTP id f23-v6mr588863pli.108.1527640169446; Tue, 29 May 2018 17:29:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527640169; cv=none; d=google.com; s=arc-20160816; b=I0QAL8jnP8uLKcriruZ88c9M1SkQfUyQyrPRN42RsqHwzG5v8DIOG+i9ASBs0lJ+Ml KsQJ1pPYRauIEj9n9OyweuwNXj+YfGdG4d0pei0th7bOY697VhPbzZ2OljGMYcT+IxRo ZT2GxsgcQRBqhfc88dZ0M/p7qAAyZjZ4Od7Og4gv27mG1aXWT/OePSRRQo5JRxCAFRC+ MuAg3ihUCLntePnQbKz30WyBZWYPOPZfeIspFQ3Mtv7eoBz1bE4aYtsRUGPr0e7ZzCNU E6WzwcpoVqVoWEzTCCxLF3In2QmFp+JpR0HlzCkH/PolOVGP11Vf0mZba+w2AT4ziZpe rcAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=MHqBTKQI6OOTBBaBrQ2fjby2hc7SJDOa6E3eYUXLs9E=; b=XizOhamMYCtzKZhwtP5q2XDjBSUqxmwV+qCupUI6h9HiStFlc2dOh38q4FDZy8Bc5C qpHnPXcLBMKP3KafonWujxIvl4bW8/Z15Zn/l+OjUDatI6oCvvELS24Jo4Z/eam8LFrZ o10K5+ohJwdbIKQldnugv1ANczH+fR++4LbSjpNibXrXO1Ter83pPfYrHTsRca7UniC6 7VonWcl6DuLag8T92+KzK2hSmTpSInxni7/2LpnsEX+bNiS/ECTWYsPC6rdmX6It37/J Ne7N+Z+NAGyziYAv7ceAxu2dBwIo+517+DOUIZqf9hWt14kyWDnntnVaQ37skjARq0+4 EZ/w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w20-v6si33886507pfn.12.2018.05.29.17.29.13; Tue, 29 May 2018 17:29:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966337AbeE3A2X (ORCPT + 99 others); Tue, 29 May 2018 20:28:23 -0400 Received: from icp-osb-irony-out7.external.iinet.net.au ([203.59.1.107]:54506 "EHLO icp-osb-irony-out7.external.iinet.net.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965323AbeE3A2U (ORCPT ); Tue, 29 May 2018 20:28:20 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2DnAACH7w1b/zXSMGcNTxoBAQEBAQIBA?= =?us-ascii?q?QEBCAEBAQGDGYENbTqDd5U3AQEBAQEBBn8IIXUalTMqhE0Cgjg4FAECAQEBAQE?= =?us-ascii?q?BAoEIhTUBAQEDIxVBEAsNCwICJgICVwYBDAYCAQGDHgKBchykS22CHBqEPoNqg?= =?us-ascii?q?WMFgQmIOYEHgQ8kDIIoNYJ6hHmCVAKHI5E/CAGFbIJXhhcIh3iFDIlsiHeBczM?= =?us-ascii?q?aCCgIgn4fggEXEWkBAYddhVBdkAQBAQ?= X-IPAS-Result: =?us-ascii?q?A2DnAACH7w1b/zXSMGcNTxoBAQEBAQIBAQEBCAEBAQGDGYE?= =?us-ascii?q?NbTqDd5U3AQEBAQEBBn8IIXUalTMqhE0Cgjg4FAECAQEBAQEBAoEIhTUBAQEDI?= =?us-ascii?q?xVBEAsNCwICJgICVwYBDAYCAQGDHgKBchykS22CHBqEPoNqgWMFgQmIOYEHgQ8?= =?us-ascii?q?kDIIoNYJ6hHmCVAKHI5E/CAGFbIJXhhcIh3iFDIlsiHeBczMaCCgIgn4fggEXE?= =?us-ascii?q?WkBAYddhVBdkAQBAQ?= X-IronPort-AV: E=Sophos;i="5.49,458,1520870400"; d="scan'208";a="84602333" Received: from unknown (HELO [10.44.0.22]) ([103.48.210.53]) by icp-osb-irony-out7.iinet.net.au with ESMTP; 30 May 2018 08:28:17 +0800 Subject: Re: [RFC PATCH] m68k: set dma and coherent masks for Macintosh SONIC based ethernet To: Geert Uytterhoeven , Finn Thain , Christoph Hellwig Cc: Michael Schmitz , Guenter Roeck , Joshua Thompson , linux-m68k , Linux Kernel Mailing List 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> From: Greg Ungerer Message-ID: <10880132-7686-78f6-7f9f-3fc29c3e554a@linux-m68k.org> Date: Wed, 30 May 2018 10:28:15 +1000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Geert, On 28/05/18 20:15, Geert Uytterhoeven wrote: > On Mon, May 28, 2018 at 7:26 AM, Finn Thain wrote: >> On Mon, 28 May 2018, Michael Schmitz wrote: >>> Am 27.05.2018 um 17:49 schrieb Finn Thain: >>>> On Sun, 27 May 2018, Michael Schmitz wrote: >>>> >>>>> That should have fixed the warning already ... >>>> >>>> It's still not fixed (hence my "acked-by" for Geunter's patch). >>>> >>> >>> Odd - does link order still matter even though the >>> arch_setup_dev_archdata() function from the core platform code is >>> declared as a weak symbol? >>> >>> I'll see what I can find out on elgar ... >>> >> >> Any one of the numerous patches/rfcs/suggestions that I sent will avoid >> the WARN splat. >> >> When I said "it's still not fixed", what I meant to say was, "it's still >> not fixed in mainline and no proposed fix was accepted to the best of my >> knowledge". > > Indeed. > > Do we have a consensus on the way forward? The merge window for > v4.18 will open soon. For whatever it is worth I thought Finn's patch was the best approach (https://lkml.org/lkml/2018/5/17/333, "m68k: Set default dma mask for platform device"). We seem to be hitting quite a few places (within m68k) that otherwise need individual fixes. There is no immediate need to revert existing changes that have already been applied if we use this now either (like my FEC fix, commit f61e64310b75 "m68k: set dma and coherent masks for platform FEC ethernets"). Regards Greg