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 05D41C433F5 for ; Tue, 16 Nov 2021 13:29:20 +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 60D0261B42 for ; Tue, 16 Nov 2021 13:29:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 60D0261B42 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 7D62383909; Tue, 16 Nov 2021 14:29:16 +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=1637069357; bh=0PCNpA2AbGba5APPdtcUJIF0PRX4tqy5QJphUv9oD5E=; h=To:cc:From:Subject:In-reply-to:References:Date:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=IgXI9NOVT9wHT50CDS6p+elBfIOA+sIE07ctGyPPFB5TnSgZAYdPHt3iNKckJTdRV VAf3RXDoAgbyY98C2sRHiYVwnkoUDND/hfVEkcRLEoD4fulIDCLizg2Ud+78jBKojQ sioXTn5eJtGRCj79JivoVrvQxLVkTciwEDWc++pynngCtVJIThwgWxmtGIYV86+gHy D9TrsHf5Lk5qx3J/zOIO+0+ek4CGgsrI/GYafeB0Fxkjqf6qXLA5s9myARqvoSoCej EF9azRIqAaz1qAe33uny8p/vugvjsgK0ZdUU+viutX4aJqxJVg4jiOliMDTd4pfeTF QIuxoX2FFELbA== 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 2D67483909 for ; Tue, 16 Nov 2021 14:29:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1637069353; bh=0PCNpA2AbGba5APPdtcUJIF0PRX4tqy5QJphUv9oD5E=; h=To:cc:From:Subject:In-reply-to:References:Date:From; b=NTld6GfO+6tvr5yKHsxTP/akF/G2VsLyAEUdtz4Sygz7R6fhxNdFmXRe3/MpPB/QR ksQcsaRDvo7mvpeWyz3NNwwo4DCDX9JNA8JIzvTub6+I4oaoQe4OsPhzUiNEMvTUuC GrZkBBtg2WlFNcl2wgjTMykCoMsrQhDemWoncF4fpNRMV0/l0dnSTRx7dL6W9xLrBx If0ZRDV1u38EGkAV8UOz4XxF/DtU829q+CsEi4rWznPVb1PONZumE1/cs6qken3tOM g20562deieF2yYWxkVBb6eyP2BD/dH6a1aA080yZGQRyO0ga+EDrSEeCIpFgap1rRi TDSIr1NmGJgAA== Received: by janitor.denx.de (Postfix, from userid 108) id 76578A0260; Tue, 16 Nov 2021 14:29:12 +0100 (CET) Received: from gemini.denx.de (gemini.denx.de [10.4.0.2]) by janitor.denx.de (Postfix) with ESMTPS id 0CD64A0120; Tue, 16 Nov 2021 14:29:04 +0100 (CET) Received: from gemini.denx.de (localhost [IPv6:::1]) by gemini.denx.de (Postfix) with ESMTP id AE9441E0CB7; Tue, 16 Nov 2021 14:29:03 +0100 (CET) To: Michal Simek cc: Michael Walle , Marek Vasut , u-boot@lists.denx.de, Grygorii Strashko , fried.dev@gmail.com, joe.hershberger@ni.com, sjg@chromium.org, Tom Rini 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> <1646331.1636986670@gemini.denx.de> <2a51974b-41cf-56e4-c9c9-e6b699f27f5c@xilinx.com> <1649664.1636989609@gemini.denx.de> Comments: In-reply-to Michal Simek message dated "Mon, 15 Nov 2021 17:12:02 +0100." Date: Tue, 16 Nov 2021 14:29:03 +0100 Message-ID: <1732477.1637069343@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 Michal, In message you wrote: > > In perfect world u-boot will just get it and use. And if manufacturer > doesn't do it properly but want to enable ethernet in u-boot random > address could be a solution for them. > And then in Linux where drivers are available you will use the right one. You miss the point. The whole argument is about who is control of the system - can I as user do what I want, or are there some stupid limitations in the system that prevent me from doing it. But if the user of the system decides to use a specific MAC address (for whatever reason ever), the software should just do what he requests, and use this MAC address on no other one. It is up to the user to decide which is "the right one". > But back to this patch. I think it is good that net list will show all > mac addresses even they are not saved in environment. Agreed. 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 girl with a future avoids the man with a past. -- Evan Esar, "The Humor of Humor"