Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp107860imm; Thu, 2 Aug 2018 14:59:40 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeR4lc3GHbybvbyP+LyC05ia84D784lRjhoYNMtGc7NwEX952X7dqzRz/ElK3eYSEP0x/vC X-Received: by 2002:a63:4b1f:: with SMTP id y31-v6mr1152806pga.14.1533247180822; Thu, 02 Aug 2018 14:59:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533247180; cv=none; d=google.com; s=arc-20160816; b=zqBjhiBuQ/GKTpnLv+ezJwAkSuYJwiCgqktgQZIlI4iYg9MM7ZVbi+iTtSfqY3WU9f XkFysXiLeH3aU3aqPpwfMpv3A18Dw5wXhjlRk/7LN1t5B0BCUZLOMKEwsXqWzuDrbVpY 7zOC6kYaEabhqz+HIDDzQLI47Z8v3otc4ARe7YhuH0BV+tGbnLUTREPVNXW32fjtQm+4 pTT0Br0PyxN/HETMxkgiFmBDYlxfhc+DqScDgf1vNGEeI4Oy+xyScRpZHvYVEu5tEOj3 hd2G4/ZC6NjvI2NTGU9ER0oiEpNgAOCgp+ELXJu1rrMPBsvgi2J6WxqLocvRBlIBdi3U KUrw== 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:references:message-id:date :thread-index:thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=i/0Z9PWppazdGH0LswE3E+xcVjn8uhGDoGX3irYTElE=; b=w4y0PJ9aKkJXp8k6F/eWQrhX6v7aQpqkH7ErJWJPt/ctu3ypDYtoidytjncZ43YK3E pZZsBuCskGnnKFVCMcFdwKeLf6pxDt25Z2xKgUl5VdP2Buzhx34vhhTn6KMH+AouF1Ip s3cmJo8HEu1LQFkhF1C3FExRGWYo2eFMqkPmoG1lafdRUSAIbHL8jFNrqlRAP8taRdw+ /y25/9ox5n+7ZJOPhTOUxMIvc1t/gupRghzre7Hba5qhhSKeNk9qpvgfWenDCBEp7nWK LHPHjkPo/WQV5PIFqEx9mi44Ebh77vnVzY7LwtiHJhixKC3x3+xfjC+5qxI74aQgLJiu q6Fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=Wzeqpi1S; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u76-v6si3569997pfj.58.2018.08.02.14.59.26; Thu, 02 Aug 2018 14:59:40 -0700 (PDT) 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; dkim=pass header.i=@synopsys.com header.s=mail header.b=Wzeqpi1S; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732361AbeHBXvH (ORCPT + 99 others); Thu, 2 Aug 2018 19:51:07 -0400 Received: from us01smtprelay-2.synopsys.com ([198.182.47.9]:57718 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731311AbeHBXvH (ORCPT ); Thu, 2 Aug 2018 19:51:07 -0400 Received: from mailhost.synopsys.com (mailhost1.synopsys.com [10.12.238.239]) by smtprelay.synopsys.com (Postfix) with ESMTP id 2B64624E114E; Thu, 2 Aug 2018 14:58:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1533247083; bh=i/0Z9PWppazdGH0LswE3E+xcVjn8uhGDoGX3irYTElE=; h=From:To:CC:Subject:Date:References:From; b=Wzeqpi1S1mpVBITkQYrFGfq/sQVj71EolBcL4dE3hweBFKLDLF9mGXqq86P0oFsNf enge7YPAr2C5zOH83YvCBrqlDMokzGQjokXH/oFpN0SaDW4DLa+UAaXJrZstTK5pZM rdqdLqmJZJJj7WrprO9143/WqPv3nC4GlOIDlOui0ieWIkqTvp/bgprM+YPybF+aq6 5CkMQUKDt9B+qjwUS9NBJpUxN+ssFiS3XsENxXeUX7zXNCrd5+X2qovgOA2rpv1q1N xO82dQXRDWtNXYHF/v84n1ZMV0XSSzdzPhsJLjYUTRdBqqmUDzrlxPY6VtWGmz20Ff J5Eaymz4/M3lg== Received: from us01wehtc1.internal.synopsys.com (us01wehtc1-vip.internal.synopsys.com [10.12.239.236]) by mailhost.synopsys.com (Postfix) with ESMTP id 14AC35AC7; Thu, 2 Aug 2018 14:58:03 -0700 (PDT) Received: from us01wembx1.internal.synopsys.com ([169.254.1.253]) by us01wehtc1.internal.synopsys.com ([::1]) with mapi id 14.03.0361.001; Thu, 2 Aug 2018 14:58:02 -0700 From: Vineet Gupta To: Alexey Brodkin , "linux-snps-arc@lists.infradead.org" CC: "linux-kernel@vger.kernel.org" , Rob Herring , "stable@vger.kernel.org" , "devicetree@vger.kernel.org" Subject: Re: [PATCH] ARC: AXS10x/HSDK: Allow U-Boot to pass MAC-address to the kernel Thread-Topic: [PATCH] ARC: AXS10x/HSDK: Allow U-Boot to pass MAC-address to the kernel Thread-Index: AQHUKkpVkbG0NJVU9ECvTFZ36touEQ== Date: Thu, 2 Aug 2018 21:58:02 +0000 Message-ID: References: <20180802101937.6202-1-abrodkin@synopsys.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.144.199.104] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/02/2018 03:19 AM, Alexey Brodkin wrote:=0A= > Otherwise kernel uses random MAC which is not very conveniet.=0A= =0A= Curious what exactly is the issue - why does the user care what MAC is assi= gned ?=0A= =0A= > With that change in place use might set desired MAC in U-Boot=0A= > with "setenv ethaddr 11:22:33:44:55:66", save environment and=0A= > then from boot to boot the same MAC will be used by the kernel.=0A= >=0A= =0A= And what if one is running without uboot - it will resort to all zeros vs. = random=0A= yet working MAC ?=0A= =0A= =0A=