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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E5DABC433EF for ; Thu, 18 Nov 2021 14:58:45 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 32FA561548 for ; Thu, 18 Nov 2021 14:58:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 32FA561548 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A8F4482F65; Thu, 18 Nov 2021 15:58:42 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="mHXY5Csw"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3611782F89; Thu, 18 Nov 2021 15:58:41 +0100 (CET) Received: from mail-qt1-x835.google.com (mail-qt1-x835.google.com [IPv6:2607:f8b0:4864:20::835]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 80F7482E88 for ; Thu, 18 Nov 2021 15:58:37 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x835.google.com with SMTP id m25so6232186qtq.13 for ; Thu, 18 Nov 2021 06:58:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=9izWkUr63WQmPstuqVNGiBaMIU1BONCepY2bkTvqo14=; b=mHXY5CswYRVRQO1ZMdmB6YTXytqc926FIljbLsIhIUuIXJoygjR9ok8qCZaPKQVWTS 3gspiuZg2gznglEyp6Ym5ZlOgIXZ3w3TNvyKnji30toPK7Byr2q8AAADEkHxFCu8N8ib tCpjSCmLRQvyX7a1i7HqJRv+q3m5tFsNuwZHc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=9izWkUr63WQmPstuqVNGiBaMIU1BONCepY2bkTvqo14=; b=3iNlya2bk2Ckrf+PLrH8xcVooM7zxzll415F2XLMOX5PnFrskwEmmPBIB/Eee07/SU fOS8nwfWpYBPnwZhBdFNNlt2xFJqg9FZJUJSsBSSCPOdejJSX1c2N8/k7HPCVhl6kGBm XCZnIP95DDK3NYVon+JZIY7LYOJdo5Xkq6Mjl5/10jUxCwBtU+Vxc6y7nGqhqDa/Xl1z w4vUz5715YJ7fIdvrpGAkydE/Is9hdf3Omcqsy+iRs4/c1eiOTJ6+Ki5djAxR5708jXM qcXkwIh/cMPsEkUgiR+UJYHrbX6+EpdZTK35XUMa7KTkmNu2HAVvvenkDZxl684beMiw TI9w== X-Gm-Message-State: AOAM531Hkl90XNy/xapwr9BcurvN1S27sIe+K8+mxUUxEzXO3B9lrtIS oPMv64zYKlb1Mu6N12LXtlS1KC7AoGZDXQ== X-Google-Smtp-Source: ABdhPJzfhATy+PnSLMvuPxeK9Jjxxq0NB2OgBPUyyLWs07xH+gPd3CmIVN68sCUDZX+PxZsYcv3uAQ== X-Received: by 2002:a05:622a:1014:: with SMTP id d20mr27734326qte.399.1637247516444; Thu, 18 Nov 2021 06:58:36 -0800 (PST) Received: from bill-the-cat (2603-6081-7b01-cbda-6986-0eb7-a1cc-35fa.res6.spectrum.com. [2603:6081:7b01:cbda:6986:eb7:a1cc:35fa]) by smtp.gmail.com with ESMTPSA id b11sm1588431qtx.85.2021.11.18.06.58.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Nov 2021 06:58:35 -0800 (PST) Date: Thu, 18 Nov 2021 09:58:33 -0500 From: Tom Rini To: Michael Walle Cc: u-boot@lists.denx.de Subject: Re: [PATCH 10/10] board: sl28: disable random MAC address generation Message-ID: <20211118145833.GG24579@bill-the-cat> References: <20211115224551.3549744-1-michael@walle.cc> <20211115224551.3549744-11-michael@walle.cc> <20211116211442.GS24579@bill-the-cat> <20211117182435.GC24579@bill-the-cat> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="TOtiRR4sUKY7XQWN" Content-Disposition: inline In-Reply-To: X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.35 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean --TOtiRR4sUKY7XQWN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 18, 2021 at 09:29:51AM +0100, Michael Walle wrote: > Am 2021-11-17 19:24, schrieb Tom Rini: > > On Wed, Nov 17, 2021 at 05:45:58PM +0100, Michael Walle wrote: > > > Am 2021-11-16 22:14, schrieb Tom Rini: > > > > On Mon, Nov 15, 2021 at 11:45:51PM +0100, Michael Walle wrote: > > > > > > > > > Nowadays, u-boot (when CONFIG_NET_RANDOM_ETHADDR is set) will set > > > > > enetaddr to a random value if not set and then pass the randomly > > > > > generated MAC address to linux. > > > > > > > > First, for clarity I'm not nak'ing this. I kind of would like to s= ee a > > > > slight reword as I think some things aren't 100% correct, even if t= he > > > > "save random MAC to ethaddr environment variable" change goes in. = For > > > > example, it's quite long standing that (dev|pdata)->enetaddr popula= tes > > > > "mac-address" and "local-mac-address" and it seems in some older ca= ses > > > > we only set the "local-mac-address" property. > > >=20 > > > fdt_fixup_memory() in common/fdt_support.c does a env_get(mac). > >=20 > > Whoops, yes, I misrecalled this. >=20 > That means you are fine with this commit message? Well, so long as it goes in after the change that makes NET_RANDOM_ETHADDR update the environment, yes, it's all correct. --=20 Tom --TOtiRR4sUKY7XQWN Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmGWahkACgkQFHw5/5Y0 tyz4qQwAtoFvc6AW3JyOtisK7T3NE06g1TzZAQUbmQo8iWCZh+KAJPCFhZ+zgWk6 NCT0CjoAarELvNstzcCmA9slyjkt03q06ofL+ulaYzV3cwWgfR9vLxY/sLsf8npl zhy35ckb6AtRp9U7idPpKwsROC4ng1Tr58EI1Sz9h4I7y4DI9HfpS4+TyJSyBdzF O+tEThadtUlR1w0dfw3U94AxSd0nCrqlB3hX7BnN3haxIgu/2y0PuM19W6JLB7mB JeEHJ2WQnFY0mifIZYAGyYp6V9ZqfEHRjb7HtOkn1Qyv738lIKCyVabtI0bUdzYA N59srR8afbj/eqPppt6BcIPGBkeeIoMz5OMnjXpIgzeXkwojpsoNQEWphZlSI/IN R0HQ4+o9Yg65rcHgEFLhBpU8APLUcCIRqJNPsiS7+8u/YrcuMkEx+0YP+pyyCI3X FQus0aqJU+wPyPQGsdK4neMKWFkft7Y9Cw2Qr3Uu80Bz53I35RMgUIVdI7tTogG5 JxPOMtXA =PAvt -----END PGP SIGNATURE----- --TOtiRR4sUKY7XQWN--