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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BC2CFC433F5 for ; Mon, 15 Nov 2021 14:31:24 +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 D3BF461882 for ; Mon, 15 Nov 2021 14:31:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D3BF461882 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=denx.de 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 6BA0C835DD; Mon, 15 Nov 2021 15:31:21 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1636986681; bh=7/o7ARW2FeNglDAePYDiqmBrcfEPNJ2jugjqWER1gCw=; h=To:cc:From:Subject:In-reply-to:References:Date:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=iLBAXj3yMWmssskOHTXmmnFDx9cHc2qkyxK7QfNZQh4JeqODZXzJan56NJDPuX0Q1 KJWWERtkukN6UJ6EoMifLggcf3kXZlsU2q4s2na4L40p0VwwMmNE96fOH3leOuc8XM SJdCivgI6awnaA5bAoD0W1KK9PHhoiaVNybg/YI5FU9lQWHMRrjtn4jQRvBFFFLovV QHFzbVQUucHwF0IZ/ikcBwvcttH0sJkJz4YBr/XwWbsh5rgCrEWkAkNW/ejpwxgk5A U+7bO5DO7ax9JNiZq+dTfXU1E8dssIBpI2GEVripx9NrfsSiIVjvqk7NE6NKQQoYfx H1nL1z15mNCbg== Received: from janitor.denx.de (unknown [62.91.23.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: noc@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id EE6A183693 for ; Mon, 15 Nov 2021 15:31:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1636986680; bh=7/o7ARW2FeNglDAePYDiqmBrcfEPNJ2jugjqWER1gCw=; h=To:cc:From:Subject:In-reply-to:References:Date:From; b=bowvDDOrT910Nyo9ZG9Z2FmNJWimeUoXPs6XPxc3HdsmBWYeG19bCovW/Xp28Cbed 9pwdrFoUKwhFLkHBtri4oj1rbWs2gNFOXVX4rp5R7H+hIcHwpL3dzQwN0jgjk6TVIJ Be5qnyPFNYjpqJz/z4n1XC2YrXXdtUrVhXNmPtcCRV3NsmlFVOCkylEttjqowrJH+T q0Ad9IiT+cbt4wcN4unAhWah5WlHsq+ODrcHmLeT4vApjZi0AX1W0j5Owf7AnaqdH/ 0dzNaIDLu455oqsHxAXEXkDrCTkBfVuKILEYHCiw1PyRlq+uPe3g+5VRgoXQjPkIpl FzYromKfxEAcQ== Received: by janitor.denx.de (Postfix, from userid 108) id 3A0D4A029A; Mon, 15 Nov 2021 15:31:19 +0100 (CET) Received: from gemini.denx.de (gemini.denx.de [10.4.0.2]) by janitor.denx.de (Postfix) with ESMTPS id BD027A0148; Mon, 15 Nov 2021 15:31:10 +0100 (CET) Received: from gemini.denx.de (localhost [IPv6:::1]) by gemini.denx.de (Postfix) with ESMTP id 63A341E0CB7; Mon, 15 Nov 2021 15:31:10 +0100 (CET) To: Michael Walle cc: Marek Vasut , u-boot@lists.denx.de, Grygorii Strashko , Michal Simek , fried.dev@gmail.com, joe.hershberger@ni.com, sjg@chromium.org From: Wolfgang Denk Subject: Re: [PATCH RFC] cmd: fix net list command MIME-Version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 8bit In-reply-to: References: <20211115121152.3470910-1-michael@walle.cc> <32aff992-c84b-7b71-b412-7594c2a7d20e@denx.de> <257391f0-9d69-62cc-2353-8f4fc0751d7d@denx.de> Comments: In-reply-to Michael Walle message dated "Mon, 15 Nov 2021 14:46:34 +0100." Date: Mon, 15 Nov 2021 15:31:10 +0100 Message-ID: <1646331.1636986670@gemini.denx.de> 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 Dear Michael, In message you wrote: > > And again you're masking the error and possible fixes by linux itself. > Seems like this isn't an argument. Respecting the explicit will of the user (i. e using what he configured in U-Boot and passed to the kernel) is not an error. it is intended and documented behaviour. > Sorry, if the original intention was to make "net list" work > correctly, then why is there now such a huge fuzz around that > CONFIG_NET_RANDOM_ETHADDR config option and why can't we just > fix the error with "net list" and leave the behavior like it > was for years. Maybe you explain what exactly the ``error with "net list"'' is, considering the fact that it is U-Boot which determins the "correct" MAC address and passes it to Linux. And if the user configures U-Boot such that a random MAC address is used, then this _is_ the correct MAC address, as normally (*) U-Boot is just a tool that does what the user requests. (*) Exceptions are situations where U-Boot's user interfaces are locked down for example for security reasons. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de A modem is a baudy house.