From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on archive.lwn.net X-Spam-Level: X-Spam-Status: No, score=-5.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by archive.lwn.net (Postfix) with ESMTP id DD93A7D082 for ; Thu, 4 Oct 2018 14:38:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727380AbeJDVbn (ORCPT ); Thu, 4 Oct 2018 17:31:43 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:60138 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727322AbeJDVbn (ORCPT ); Thu, 4 Oct 2018 17:31:43 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w94EYH8v090817; Thu, 4 Oct 2018 14:35:55 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=corp-2018-07-02; bh=3zAwkcCqsiJJ3tf4fDUCP8h5IpJmykzD0Smpt5CumTM=; b=i3CBSemwUW/9qWBIil8nUkq9cFzwriFnJQ8mTPe5poKPjYoQqGokTy/dOeKPEOMy5mkN u9t30YcaVeSyuHgNHdO5xktLnqaivihYbgecYVvUc5GjB39wQWnbUQdtLfEhFaNPezm6 iLgWOApEkvv+s1cWqNgqT75z7BJZ0JcUQL9RQNnPAR4nurmsg72Q2RaQajaW3BzU6EIa c+GXhzrFtxFaacVlKwRrzHSYYAN9KXmuOpKV6ktiddR2fxOuyV7m5sfxl5K+3nsUB7dC tMN8x4LHT64HiBDhaCiIVO0vjYqcFT31OU2/0L43XTu76dCpuXAUJLGpFqUofuxwwkt5 Cg== Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp2130.oracle.com with ESMTP id 2mt0tu4r43-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 04 Oct 2018 14:35:54 +0000 Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w94EZsnx018685 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 4 Oct 2018 14:35:54 GMT Received: from abhmp0020.oracle.com (abhmp0020.oracle.com [141.146.116.26]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w94EZnbE016456; Thu, 4 Oct 2018 14:35:49 GMT Received: from oracle.com (/10.39.202.251) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 04 Oct 2018 14:35:48 +0000 Date: Thu, 4 Oct 2018 10:35:08 -0400 From: Sowmini Varadhan To: Arnd Bergmann 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 Subject: Re: [PATCH v2 00/29] at24: remove at24_platform_data Message-ID: <20181004143508.GG13299@oracle.com> References: <20180810080526.27207-1-brgl@bgdev.pl> <20180831194643.GA62862@ban.mtv.corp.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9035 signatures=668707 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1810040137 Sender: linux-doc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org 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. --Sowmini