From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 20DE9C2BD09 for ; Fri, 28 Jun 2024 14:26:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type:Subject:Cc:To: From:Date:References:In-Reply-To:Message-Id:MIME-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=rj4AKH/BAW4E3u7lDfoUs+9+o77HTLdNsSE3KnyYUs4=; b=dmm7ikYdaek68t2/S5hb2qO9iQ ulR3jHE2L19mzHAmrTgkQqHnEAD9tmlY+S8ErBSs7IDG8inLV+HIgJiPk9kzsit57I3uqOC29NnYI CNh0FFuA1O4lRSArYtXIveSNpU8kZNLjPMdexBBYJk9SxmTtyS8I9MODaJq/6fhzoLavMPM1o9nno WRTaVCeKEPzpefoAbzKa9kfZCHcW2OBepy+bwTOVj0O/HI7ZVlrbC68FssQzlWKKZkDdme5uSUBfU y2p19iEFTgbC5TF8gCLhA0mjdPNoGrGTol+swNL6QF4ROP7jdUv1mLpb9863MlvP9S3jjxtEwMXxq M94IPIqA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sNCYG-0000000E04L-3Url; Fri, 28 Jun 2024 14:26:12 +0000 Received: from fout6-smtp.messagingengine.com ([103.168.172.149]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sNCY7-0000000E019-2Xlt for linux-arm-kernel@lists.infradead.org; Fri, 28 Jun 2024 14:26:05 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfout.nyi.internal (Postfix) with ESMTP id 433211380275; Fri, 28 Jun 2024 10:26:02 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute5.internal (MEProxy); Fri, 28 Jun 2024 10:26:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1719584762; x=1719671162; bh=rj4AKH/BAW 4E3u7lDfoUs+9+o77HTLdNsSE3KnyYUs4=; b=URwT8LrTxIdgcHIf4mFkwX8fNX EreTkmLEU2F09s0ZctPVqdiCfIaa1+jCtMumiTjXMRhzolquEKEVTIfHGDollXLv N4aDZ64nrSFcUUouzXcZZEsuCUI63PgQPO989im0RbsctkCL4GtGpAtRC/SPP9cg IQeXTOl4pTvo95qjUXNa/1odCDnKG8WETJlx6VDrYhNjgbWPqXRqoAh3JxvqdAtT mI+f9HyPvcYn+322h9h7Y5JWzQi3qE+nyO1jSKq9orUALktp/4chPATZUnGRBNbR nE4p0rYggdnw83nQ5vvmVQ5XFNfdObzshmIppr/Rz8YP2I1z4JUgpR6G8H5A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1719584762; x=1719671162; bh=rj4AKH/BAW4E3u7lDfoUs+9+o77H TLdNsSE3KnyYUs4=; b=o7RMCC5SMUyAlj5gOiyLF1W11Fxt/Oxbsds1xbSCk4UC xfdmWDErU5Sw50Mc5zU5eyrxYHAqRSViR3NedyDsVzfP8YZxYcl++8MmdrmMBL2T ZUz1PwdANTyBcyaka5FbD2Mc3XI1eellXPKkSsZKUwKx/xWP4wnTGXueWD75KvyC ZtciZHDK3GMSEHgPpYEpVJ3pfGYnhznjV7QuB/VeD3tD4c/vPA3tjyW2lSBpIS0y yq35IjOkgLdwdMFS5p+cewlqcQtxQOzlHiNKrGOd+5UmQLOmNJPxDczuHHZbU/9l G4m0j2u9KbSbILOSpvk/w/zHvannL9v1c/xeH1SgZg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrtdejgddvtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvvefutgesthdtredtreertdenucfhrhhomhepfdetrhhn ugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusgdruggvqeenucggtffrrghtth gvrhhnpeffheeugeetiefhgeethfejgfdtuefggeejleehjeeutefhfeeggefhkedtkeet ffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrrh hnugesrghrnhgusgdruggv X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id B175EB6008D; Fri, 28 Jun 2024 10:26:01 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-538-g1508afaa2-fm-20240616.001-g1508afaa MIME-Version: 1.0 Message-Id: <0aa1f738-c02d-49d7-af11-5bf284677e81@app.fastmail.com> In-Reply-To: <49a71ee7-b86b-4f44-b7b3-dc0a6433e1c3@microchip.com> References: <20240628080146.49545-1-andrei.simion@microchip.com> <58ec4d44-3393-4b0b-83c4-3f66b0e2de1e@app.fastmail.com> <49a71ee7-b86b-4f44-b7b3-dc0a6433e1c3@microchip.com> Date: Fri, 28 Jun 2024 16:25:41 +0200 From: "Arnd Bergmann" To: "Andrei Simion" , "Bartosz Golaszewski" , "Rob Herring" , krzk+dt@kernel.org, "Conor Dooley" , "Nicolas Ferre" , "Alexandre Belloni" , "Claudiu Beznea" , "Greg Kroah-Hartman" Cc: linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v3 0/3] Read MAC address through NVMEM for sama7g5ek Content-Type: text/plain X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240628_072604_087870_92471241 X-CRM114-Status: GOOD ( 14.33 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Jun 28, 2024, at 16:06, Andrei.Simion@microchip.com wrote: > On 28.06.2024 11:29, Arnd Bergmann wrote: >> >> As far as I can tell, even with this logic in place, users >> are better off just having the boot loader read the EEPROM >> and storing the MAC address in the in-memory dtb as we do >> on other platforms. > > Our boot chain is ROM BOOT -> AT91Bootstrap -> U-Boot -> Linux Kernel. > U-Boot is the stage where we set up the MAC address. > We can skip U-Boot and use the following boot chain ROM BOOT -> > AT91Boostrap -> Linux Kernel. Right, I can see how that is useful. Can you add that description in the patch? > This patch set is useful for this scenario and also for redundancy (if > something related with NET/EEPROM fails in U-Boot). Not sure if redundancy is what we want the boot loader level ;-) Arnd