Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp787016img; Thu, 28 Feb 2019 07:52:44 -0800 (PST) X-Google-Smtp-Source: APXvYqytPbKlo1KkjMhkgUP5XTERX7tNtEB2rIGIz2UHvoR20hR9binyUlRUP+V2QJxXrYlk0/93 X-Received: by 2002:a17:902:822:: with SMTP id 31mr53784plk.290.1551369164167; Thu, 28 Feb 2019 07:52:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551369164; cv=none; d=google.com; s=arc-20160816; b=jqNv1Jt0HzumE9bW5dhkxhwShQHaBQgj9ss4j431ULQ8r7SLViwCS6bGoZTRxIoqnY w7db+IxqsK9+3NV+3f8RhfIZjP8y6QekexOc7ltw/H31uXeOEPugbAvQmQZNscJtRYms pnZOv8+CS29S9LEn+QbKkBcPPxhKo0uqDNEVQuuk+A1FlksC0AJAGSeyDRaG90fPqzfE k+oLACk6OPkFOyefEWH4N4vgbD6V72GXjdcvfETyAo82XwsQqUf92tzJblIL4Cz4vEZX /CwIfyjRGa3AhYeo+KRNew2a2DJ+suuHyX0V73mr7E34KfrdJCz3JtblwnPTSJlSOD1K FzKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=J1rgXjUMuozRSVYZXnP8v+eIuHWCRx4jQcEoWIUgGIg=; b=YzDdi0+y17nWRFmFNnPN84TCfDmOOxwGx2YddpVnQlni7FAWvX3VF57/vJnFv50+p+ 2bytDMtaZOw4GkAAyGAnFvudt3jTAz9kSeFt2Yk8OoZkjsyEEL3hLfSKnPScDJsfeVy/ ynWgRix6c3mjW1ASca8hBzXtxjj6MwkcHg5yMr9ACdN0FXSFwprXx2x81xP5RDBYg1Rj cMbCTVWe1Y6Rsef/ALnwJ31mKOI3p6FhRbzAfbC7qeRYI3QsEvkNwzb2kPL9tfxvgNca ZWRnhuj0V0NWUyurJsEIPc7YkIdJzOBALL9t4pn22xuEqms/1rFSxSh3BbfEwsNs8lgI 9U6A== 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 o3si17832998pll.162.2019.02.28.07.52.29; Thu, 28 Feb 2019 07:52:44 -0800 (PST) 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 S1732750AbfB1Pvr convert rfc822-to-8bit (ORCPT + 99 others); Thu, 28 Feb 2019 10:51:47 -0500 Received: from smtp.asem.it ([151.1.184.197]:61141 "EHLO smtp.asem.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727878AbfB1Pvq (ORCPT ); Thu, 28 Feb 2019 10:51:46 -0500 Received: from webmail.asem.it by asem.it (smtp.asem.it) (SecurityGateway 5.5.0) with ESMTP id SG003723608.MSG for ; Thu, 28 Feb 2019 16:51:42 +0100S Received: from ASAS044.asem.intra (172.16.16.44) by ASAS044.asem.intra (172.16.16.44) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Thu, 28 Feb 2019 16:51:40 +0100 Received: from ASAS044.asem.intra ([::1]) by ASAS044.asem.intra ([::1]) with mapi id 15.01.1261.035; Thu, 28 Feb 2019 16:51:40 +0100 From: Flavio Suligoi To: Andrew Lunn CC: Jeff Kirsher , "David S . Miller" , "intel-wired-lan@lists.osuosl.org" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v3] net: e1000e: add MAC address kernel cmd line parameter Thread-Topic: [PATCH v3] net: e1000e: add MAC address kernel cmd line parameter Thread-Index: AQHUz2za8U5Pv4cZVkOebP6EQ2CVPqX1RhaAgAAUBLA= Date: Thu, 28 Feb 2019 15:51:40 +0000 Message-ID: References: <1551361135-404-1-git-send-email-f.suligoi@asem.it> <1551361951-1595-1-git-send-email-f.suligoi@asem.it> <20190228153245.GA17912@lunn.ch> In-Reply-To: <20190228153245.GA17912@lunn.ch> Accept-Language: it-IT, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.16.17.161] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-SGHeloLookup-Result: pass smtp.helo=webmail.asem.it (ip=172.16.16.44) X-SGSPF-Result: none (smtp.asem.it) X-SGOP-RefID: str=0001.0A0B020E.5C78038D.000B,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 (_st=1 _vt=0 _iwf=0) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -----Original Message----- > From: Andrew Lunn > Sent: gioved? 28 febbraio 2019 16:33 > To: Flavio Suligoi > Cc: Jeff Kirsher ; David S . Miller > ; intel-wired-lan@lists.osuosl.org; > netdev@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH v3] net: e1000e: add MAC address kernel cmd line > parameter > > On Thu, Feb 28, 2019 at 02:52:31PM +0100, Flavio Suligoi wrote: > > Sometimes, in some embedded systems boards (i.e. ARM boards), > > the NVM eeprom is not mounted, to save cost and space. > > > > In this case it is necessary to bypass the NVM management > > and directly force the MAC address using a kernel command-line > > parameter (macaddr). > > Hi Flavio > > Why not use device tree, since this is an ARM platform? Hi Andrew, we produce a lot of boards and we have to change the MAC address, from u-boot, for every board. So I must save in the u-boot environment (SPI NOR flash) the MAC address for every board. Flavio > > Andrew