Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp149270imm; Wed, 3 Oct 2018 13:31:39 -0700 (PDT) X-Google-Smtp-Source: ACcGV62eG5gcHSef40QzgR48iSJDkJVrm3hFFyjYOiFUsFVwsQ+0oGKldyyjLJIP5VoKJiv8YToS X-Received: by 2002:a63:1411:: with SMTP id u17-v6mr2780038pgl.247.1538598698959; Wed, 03 Oct 2018 13:31:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538598698; cv=none; d=google.com; s=arc-20160816; b=af9OJAx/vjfwRHk4wpkYMHH79QpDpHlnJQUTa3dQbGi0d2s+vFwMhlEoSxqVPejLgj 31HOu7w/pDYFeZWCROxS0NvK7AzgFsBQ5OGhqbbt9rJvQBnkCPZhzKaiE3NkoyPee/sh 9Wrr3jDugKM1O5mYJmMWeH9ARl8uLqAxOOiG4AxKKCFKR8db+Al7w0ABTzXzdlTg4Iaw oV3PIV//xesxZYh2mGnxM9RG1ROZihfquUbhMHkqB3X3AV7itQDhmmeFnJKw5BM6m3m0 kRuXiqOFM6RQUaHurWN+CToNhPLX9P8RmPkBo2vLLzYDGO+ifryJMnIju48BFfCzM6co yZMA== 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; bh=dNrHzejU1SoItiu3BxHHf+0ClyeoTUNFmv/n36a+zyk=; b=alNcnOsmc4oZI1Wac7e+hD4Ewq7BlGit+6+J++ecjk0HMR4VhrW2P+6GuVGBPCgleH vumIJpQeiWb79EfNMh9NTop8BliwiwQ3+yL4KB5VoQ2ws4leUO1xxQJNwNl8odPuMpPR RLZr1f2pDhHhlzVZvgB06GOIIWFKpkcalRBIgOuIiW29aUQSh8Txtp/lnBaTcjsWO0jc lJhb91iSmmpciW3IbA393i0vuckpaynsGAxqh2wwE+XSkNTIqhKFCTayaVJn55UVI/l2 5YAXPcxj9OdrHEt+zMAebqsOZHZXnL0P0u0iQ8VfogN3uuz2qOY2vSzNUBYOMjHJNZmi tpjw== 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 q16-v6si2398432pgb.18.2018.10.03.13.31.23; Wed, 03 Oct 2018 13:31:38 -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 S1727268AbeJDDUp (ORCPT + 99 others); Wed, 3 Oct 2018 23:20:45 -0400 Received: from bmailout1.hostsharing.net ([83.223.95.100]:51487 "EHLO bmailout1.hostsharing.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727007AbeJDDUo (ORCPT ); Wed, 3 Oct 2018 23:20:44 -0400 Received: from h08.hostsharing.net (h08.hostsharing.net [83.223.95.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.hostsharing.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (not verified)) by bmailout1.hostsharing.net (Postfix) with ESMTPS id 337F83000088B; Wed, 3 Oct 2018 22:30:45 +0200 (CEST) Received: by h08.hostsharing.net (Postfix, from userid 100393) id 0CF17AEBA; Wed, 3 Oct 2018 22:30:45 +0200 (CEST) Date: Wed, 3 Oct 2018 22:30:44 +0200 From: Lukas Wunner To: Bartosz Golaszewski Cc: Brian Norris , "David S . Miller" , Jonathan Corbet , Sekhar Nori , Kevin Hilman , Russell King , Arnd Bergmann , Greg Kroah-Hartman , David Woodhouse , Boris Brezillon , Marek Vasut , Richard Weinberger , Grygorii Strashko , Srinivas Kandagatla , Naren , Mauro Carvalho Chehab , Andrew Morton , Dan Carpenter , Florian Fainelli , Ivan Khoronzhuk , Sven Van Asbroeck , Paolo Abeni , Alban Bedel , Rob Herring , David Lechner , Andrew Lunn , linux-doc , Linux Kernel Mailing List , Linux ARM , linux-i2c , "open list:MEMORY TECHNOLOGY..." , Linux-OMAP , netdev , Bartosz Golaszewski , Brian Norris Subject: Re: [PATCH v2 00/29] at24: remove at24_platform_data Message-ID: <20181003203044.md7767we6nnjv4vh@wunner.de> 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: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 03, 2018 at 10:15:23PM +0200, Bartosz Golaszewski wrote: > The only user of arch_get_platform_mac_address() is sparc. It returns > an address that seems to be read from some kind of EEPROM. I'm not > familiar with this arch though. I'm wondering if we could somehow > seamlessly remove this call and then convert all users of > eth_platform_get_mac_address() to using device_get_mac_address()? My recollection is that '90s SparcStations had a battery-backed memory containing the MAC address. When the battery wore out, the machine would fail to boot because the address was either all ones or all zeros. I recall setting the MAC address in that memory using Forth from the boot prompt. Ah, the good old days!