Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5426650imm; Tue, 31 Jul 2018 10:40:54 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfr2AcOrciT6+FVFg0ZS0H49Dz6LxFICpojqgrU0awER1nS7Qq+BVu5P71q69qMa6XHRx9r X-Received: by 2002:a17:902:ac1:: with SMTP id 59-v6mr21356032plp.18.1533058853950; Tue, 31 Jul 2018 10:40:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533058853; cv=none; d=google.com; s=arc-20160816; b=a+IEDOKZt6vNbvvlkQ4NqOh7B2n12KKiYnQ5uwVCgenennfYPO70fWfZ7oLg+rD5Eu LFVE6SF/YfNP3DrbzgOchcO5mCXuyR6BS2NCxxDFAR7qweSQdldFyRdOhu3z/vOV2JBW 2s1dDc83Fs0fg0+0l0rJ1YqLQdP8FT28UyBSYs0W3AaDqhBghtTpMBKlEN393jnnaZcn 3M2W1Mk8k1UVKlyXM6jDjXRV7guKQ1dTdhqMy+k3Gy8ilPPhshqT1So1XLEknFgVE2pr D3+nezulhMnKiMKBgft5I/TK/srSS3UcHIIZAvCRUYSvDxEw0inGZ42yHN2KciqslHnL IgEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=IWu0hHJ60IJFxovi5QHYRpuAWtEB4yJPWtSw9el28Lc=; b=T60WTqaOldwuIwdIAFjqwTDaMSUZjsczUWjopT5K3LYeoHsCcgZ4EW1cksVTfTewmS OexMLwhS+8pk1EZDBf/Re05eUGa3EkTo84ZWEVUkP3s8xAlXfEILBb1BonZgd10FOFg3 8OKtlzPyVm0fvp7Nw0UNr/pYqI0wSvN9Z0i9yda/V0dP9zI2sBvJ0C44hmjCbVxJwfBn rRfxE5LeJqEIQhQDaZzcHA44q+lvtsqrYxYu3xzHiSR+ja9YM5jdKPkMJlgzBJ/4Ub1e Zu4ZV1HSB9mgYTPW8Uddwnb7UXwLhMl734sUvMqz158l2jeU4SxE4yGmV4oMbGtJ15XD Z8rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=UOLIxHIs; 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 d27-v6si12342496pgm.67.2018.07.31.10.40.39; Tue, 31 Jul 2018 10:40:53 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=UOLIxHIs; 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 S1730449AbeGaTUZ (ORCPT + 99 others); Tue, 31 Jul 2018 15:20:25 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:37841 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728327AbeGaTUY (ORCPT ); Tue, 31 Jul 2018 15:20:24 -0400 Received: by mail-pf1-f195.google.com with SMTP id a26-v6so6455810pfo.4; Tue, 31 Jul 2018 10:39:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=IWu0hHJ60IJFxovi5QHYRpuAWtEB4yJPWtSw9el28Lc=; b=UOLIxHIslXEp5sZTABPIEC/oLs9sdH/IMWsEmrDV5//q0/xdRq1M8/OQre3YAdKRUe FFnIN0Ed7J4Wta9VaBTTiRFtB7iD3gap+Ce8DS9jJkw+ZPzUfWHHc0CKfvNQUlGL3Iwb 8eJ8RY63kEjyr22qjeMAOb8rUkQwxUsLD3LcGS5Pxk1oEgDUlhHmB/raTq002jZAoXrI utbmjmbGNDgvrPTZtSpFWWMwAOVDN0d6xhzaTPzz8/FbOhRaWdj2r0R+ipu3THthgmsP iqOjMHOfbsiuZY0docjX5zIsUgCvGPw4ZJ5L+GpA6G29c19LhP7+EA/XkFqwfBVrHQtD 4jPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=IWu0hHJ60IJFxovi5QHYRpuAWtEB4yJPWtSw9el28Lc=; b=HwDeEc+7yr/X+uD/XltyjbL4cjI1WtB3WmGeeRkMA4NdiMS/dV/D/VtNUiP9+MyK3w oZ6wW+g0jNA7KKJPARAAjgEznhEv5q5ZH6IvpeXyTCFx3Kraj3FX3vXC+H9hD+vdRxOm aZiy/z8Xf5cyXwwgvATeZOglDc0DPwk8NJG417CBlRAoOAF9iEY1o+40OnSC/f5S0XJE eIGtPFjqHdv3iecYspH6tC/KyvZVa/2TgwIYtZT2UdFwSEBVohIsoP9SDRIv6Fpwhz7f eJopk3KQLeKJxY1C94cPyk/kDLUNk6O/yG+C+9jPGRLjYWrg5xayEgFkToDsK51cKxRj hwZA== X-Gm-Message-State: AOUpUlHBqLG1s9K0R1mw2OCH88Wc4APaiNLy7oJCfkkJ7YpbfKtE4CIp UJlS9wXntx4bhP63yvOFeuKiWjfP X-Received: by 2002:a62:5a01:: with SMTP id o1-v6mr23454899pfb.0.1533058742289; Tue, 31 Jul 2018 10:39:02 -0700 (PDT) Received: from localhost (108-223-40-66.lightspeed.sntcca.sbcglobal.net. [108.223.40.66]) by smtp.gmail.com with ESMTPSA id u2-v6sm22310811pfn.59.2018.07.31.10.39.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 31 Jul 2018 10:39:01 -0700 (PDT) Date: Tue, 31 Jul 2018 10:38:59 -0700 From: Guenter Roeck To: Robin Murphy Cc: Stefan Agner , Christoph Hellwig , Krzysztof Kozlowski , Ard Biesheuvel , Rob Herring , Frank Rowand , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Fugang Duan Subject: Re: [BUG BISECT] Ethernet fail on VF50 (OF: Don't set default coherent DMA mask) Message-ID: <20180731173859.GA17007@roeck-us.net> References: <20180727140448.GA29001@lst.de> <20180728165820.GA5731@roeck-us.net> <45f7fc82-fb9c-e666-4ada-c5338d2c1c96@arm.com> <39fa11ce4b7dd151d98868f375baf818@agner.ch> <0e893142-a5db-d119-6eb3-f849db6b5d04@arm.com> <4ce17098-850f-3bb0-b977-8d7932e74e06@arm.com> <20180731154353.GA29601@roeck-us.net> <10c2ca4d-d587-2705-2802-b6df3dc72fd4@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <10c2ca4d-d587-2705-2802-b6df3dc72fd4@arm.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 31, 2018 at 04:58:41PM +0100, Robin Murphy wrote: > On 31/07/18 16:43, Guenter Roeck wrote: > >On Tue, Jul 31, 2018 at 03:09:34PM +0100, Robin Murphy wrote: > >>>Please note that sparc images still generate the warning (next-20180731). > >> > >>Ugh, OK, any ideas what sparc does to create these platform devices that > >>isn't of_platform_device_create_pdata() and has somehow grown an implicit > >>dependency on of_dma_configure() since 4.12? I'm looking, but nothing jumps > >>out... > >> > > > >I suspect it might be of_device_register(), called from > > arch/sparc/kernel/of_device_64.c:scan_one_device() > > arch/sparc/kernel/of_device_32.c:scan_one_device() > > Right, that's as far as I got as well, so I'm struggling to see how these > things ever got DMA masks set before the of_dma_configure() call moved out > of of_platform_device_create_pdata(), or why it wasn't a problem prior to > the generic dma_ops rework if they didn't :/ > Ah, ok. No idea, sorry. All I know is that the messages were first seen with next-20180727. Guenter