Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1063788imm; Thu, 4 Oct 2018 07:41:10 -0700 (PDT) X-Google-Smtp-Source: ACcGV61NNQf0dl1PclPnyINZu8PUaZlNTXATssqgQ4pkODF6uDXgnvFEAq6Wci9fbrnpcQ2lGeyy X-Received: by 2002:a63:5a0d:: with SMTP id o13-v6mr6009569pgb.267.1538664070082; Thu, 04 Oct 2018 07:41:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538664070; cv=none; d=google.com; s=arc-20160816; b=kJ7FYpe4U1VUa/7mDc9BaOYltbvDPPXJo1UFWPG5dk5KELTNyWeWfyoHFlJ/g+Q04G dKQFh7GDG/6eOu5pXIvM+D5BvJuLXDlxgyHrfF/xiR1m4cKi4c3UTmXfnuySdic9TpRK 3QPaV6L5jhcRqCJCYP+rahyd+sxUQjms6N4f1jBVzrsJcg/DwBirXOjQoYAdAmS9RnZt yR01tygUngIRmAUDKNrGEEo8otY2LRjMequf0xI60eV1e0et69ItUEgytuzXMf0NdwJB 8WmEApyhakPfZzb36CJ9kRmCMJrH+5TgfmFv8n8mTaXeELaumDiQ3nC9JXPM1VEzJPW9 qkhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=S8kY2KZcv5clBm6IljvPQOeVp2ZgUbugkxxstMi9iu4=; b=XqpQUF8Jo/nDzP9+5R0vsbXWmf/T2EVcWqiIUk+zCpw2KAxTmsU3PYU73CV52R2nuU QUN8xpS9xhI8hH2Mlw8DLMDO/8zq2XmWYzt+EII7zZe+T3XsgRAjfNaqK8hauzDWyQLD R5/2ElkI3vkN2bG7sL+EbJEd/nG4CgeN7RwA8YgsaDfdgkX0ra6TAr1kzH9W8fLBHFDV GKGm4UHgJ/xLEsrV8Z0ZbX3tnioPuJJB1pOYk1tsymeDB2WmDiwB23TMpt0+A7043+ho k2XtyqgXfCGNrvHDCqjq7mA3A+2Lvdr4k0jf6drwd5myJWyL+m+LHbC7RrB9/Nu9KBNn OJAQ== 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 a16-v6si3991953pfi.34.2018.10.04.07.40.54; Thu, 04 Oct 2018 07:41:10 -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 S1727787AbeJDVcq (ORCPT + 99 others); Thu, 4 Oct 2018 17:32:46 -0400 Received: from mail-qt1-f194.google.com ([209.85.160.194]:40611 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727381AbeJDVcq (ORCPT ); Thu, 4 Oct 2018 17:32:46 -0400 Received: by mail-qt1-f194.google.com with SMTP id b4-v6so2047195qtc.7; Thu, 04 Oct 2018 07:39:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=S8kY2KZcv5clBm6IljvPQOeVp2ZgUbugkxxstMi9iu4=; b=LteK12j7+1ovzWLhcudq8dzCfbqFNeSv94ZLe+pBTae2uDitXV4kN0ySnBHoVGRQlw f0LDAPfa74T/dIWKHc7QrhGEp/FIkauUpLYdr1gqDACD34LN4hcZBgP9x4iioUn3VchP 3+/rPm2h3lCSDYXMVKPkZ6y48PF/Z9XkyngUdt9Fka8vHSU3QUJPCr0BRd98O2qMxt2W 9VW3UnO2hNEdV3Lny9lk+T4Wy0y4NyFkCklJRyD7f36lFm5iOuKQKz+eUltBdbIeACEH dHSYFoERl66B94cEyW1GOaVmGG5UwAzKJXM9WR4DrnkdGGl/FodsY4RBK/ipIQyMHG6D Y59A== X-Gm-Message-State: ABuFfoivFbN0Q9cb8jbuHXsI0DxrTzXUirZE3qGLt/fRJspOIdxedjyl OYsBum26xzD9gWrXhj604tOwe6o1shvph9WMvtQ= X-Received: by 2002:aed:3f08:: with SMTP id p8-v6mr5532329qtf.185.1538663949960; Thu, 04 Oct 2018 07:39:09 -0700 (PDT) MIME-Version: 1.0 References: <20180810080526.27207-1-brgl@bgdev.pl> <20180831194643.GA62862@ban.mtv.corp.google.com> <20181004143508.GG13299@oracle.com> In-Reply-To: <20181004143508.GG13299@oracle.com> From: Arnd Bergmann Date: Thu, 4 Oct 2018 16:38:51 +0200 Message-ID: Subject: Re: [PATCH v2 00/29] at24: remove at24_platform_data To: Sowmini Varadhan Cc: Bartosz Golaszewski , Florian Fainelli , Brian Norris , David Miller , Jonathan Corbet , Sekhar Nori , Kevin Hilman , Russell King - ARM Linux , gregkh , David Woodhouse , Boris Brezillon , Marek Vasut , Richard Weinberger , Grygorii Strashko , Srinivas Kandagatla , naren.kernel@gmail.com, Mauro Carvalho Chehab , Andrew Morton , Lukas Wunner , Dan Carpenter , ivan.khoronzhuk@linaro.org, svendev@arcx.com, pabeni@redhat.com, Alban Bedel , Rob Herring , David Lechner , Andrew Lunn , "open list:DOCUMENTATION" , Linux Kernel Mailing List , Linux ARM , Linux I2C , linux-mtd , linux-omap , Networking , Bartosz Golaszewski , Brian Norris Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 4, 2018 at 4:36 PM Sowmini Varadhan wrote: > > Just catching up on this thread, so please excuse any unintentional > misquotes here. > > > > > > David: I couldn't find a place in sparc code where any ethernet device > > > > > would be registered, so is there a chance that nobody is using it? > > > > > > > > SPARC uses a true Open Firmware implementation, so it would register > > > > drivers through the CONFIG_OF infrastructure. > > correct > > > The calls are not even that old, and clearly added intentionally for sparc, > > see commit ba94272d08a7 ("i40e: use eth_platform_get_mac_address()") > > which added the first one. > > Yes, correct again. Wouldn't PPC also end up doing the same thing? > > See also commit c762dff24c06 (for ixgbe) - without this fix sparc systems > will come up with a bogus mac address and then you end up having to > manually fix this in ugly ways. The of_get_mac_address() portion is not controversial at all I think, the question was whether we need the fallback to arch_get_platform_mac_address() in any of the drivers that call eth_platform_get_mac_address(). Arnd