Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3268343pxk; Mon, 7 Sep 2020 08:03:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxjkn01sr32m62OyY4oIv1inWH5JqegW8so8Y+3IeVW+HzFLE/WYpUYgdpR23j/LD1CyvMm X-Received: by 2002:a50:b946:: with SMTP id m64mr22733351ede.92.1599490982659; Mon, 07 Sep 2020 08:03:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599490982; cv=none; d=google.com; s=arc-20160816; b=n+E1rGUXF0F955+3Y+YZHxd1vRqje81B8hGA1yOWT/IF1Xsco0sNqGbX9Fxdei5GPi c4zeA8Rp6HsY9o1VG/AolyYP/5kkvZOKyP/R7B5lbdmr2qjAJwlWQueMfbmz0aADrn8D ds+pF1d/465Ss173chzqMHa+5Wm2y3i3S2va7BfiW/XXRD2jG920tNT1lDGIYYQa+WSi kHLd6BWXhoxh2w25cXARi+H5pvMxQOjBdv4XPGozeuX7553O5IDUDGAZXPBHzB0yuDra zhs9dfCIRGFGqf1e4euwq7B8HRIvKlMjkez5th3PqKsOMMVcBF9vCwyhg0ZI0dSvlMXO iIpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ExGaszMXbJ16MWtcxlqazP5NEARr4KFGaUea1TH+I1k=; b=AeOTp0/COiQOqki0/JSFJfzwbRIXQasFkS5HFqkxEPz9rLgNzVAxryUKvXyAFqKYqD AgfYwu9o4HnSX4tQ3M8MKs59hgnKqcsUaoOPt0F/VuWnlRe2Gob8ZBdbu+eA9T7PHzi5 nrmi5YnwsYovqYpsa9/irhoufTE0WBMrk4OENqUjoxIWo6rzZBJqAeLTxfnC9eYx3yJX Amr0l4u0CdWEOksIov66yBE1rk580UQHrWXx2Z9Xb0Hf6a6L5iganm3m/JuScH4W6LUR LCLdMeUlyRqZdI87TDsEUrh5z6gnHLmWFxO2ltf1wb6rY1fJpteaoEwt1+smqCHCHw1w 6oHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=orHIKfDi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gh1si3560293ejb.604.2020.09.07.08.02.39; Mon, 07 Sep 2020 08:03:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=orHIKfDi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730095AbgIGO5w (ORCPT + 99 others); Mon, 7 Sep 2020 10:57:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:59094 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730043AbgIGOwQ (ORCPT ); Mon, 7 Sep 2020 10:52:16 -0400 Received: from pali.im (pali.im [31.31.79.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1C6AE207C3; Mon, 7 Sep 2020 14:52:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599490336; bh=f8HxqXH7tHss6ZiCBaaA0cUjl6LlaIV5sUDUNL9e7yg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=orHIKfDizSwpfmH34MNTOHyuhXW86bupmxfvz/ZrEPD8JYyYK80o9iCkK1haZTLUG Z3oBkzfgKks1O7surQiFDs/NVyRB7cR8SE2zo+FYTcRL/F8haqKxFrorpNlOZSodAp k91d+RjTpVsKS2ELEY053kB23Wb6hV14Zqb2GgnM= Received: by pali.im (Postfix) id EF6DB814; Mon, 7 Sep 2020 16:52:13 +0200 (CEST) Date: Mon, 7 Sep 2020 16:52:13 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Andrew Lunn Cc: Jason Cooper , Gregory Clement , Sebastian Hesselbarth , Rob Herring , Tomasz Maciej Nowak , Andre Heider , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: dts: marvell: espressobin: Add ethernet switch aliases Message-ID: <20200907145213.fwlyz4k6scible7x@pali> References: <20200907112718.5994-1-pali@kernel.org> <20200907144228.GV3112546@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200907144228.GV3112546@lunn.ch> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Monday 07 September 2020 16:42:28 Andrew Lunn wrote: > On Mon, Sep 07, 2020 at 01:27:17PM +0200, Pali Rohár wrote: > > Espressobin boards have 3 ethernet ports and some of them got assigned more > > then one MAC address. MAC addresses are stored in U-Boot environment. > > > > Since commit a2c7023f7075c ("net: dsa: read mac address from DT for slave > > device") kernel can use MAC addresses from DT for particular DSA port. > > > > Currently Espressobin DTS file contains alias just for ethernet0. > > > > This patch defines additional ethernet aliases in Espressobin DTS files, so > > bootloader can fill correct MAC address for DSA switch ports if more MAC > > addresses were specified. > > > > DT alias ethernet1 is used for wan port, DT aliases ethernet2 and ethernet3 > > are used for lan ports for both Espressobin revisions (V5 and V7). > > > > Fixes: 5253cb8c00a6f ("arm64: dts: marvell: espressobin: add ethernet alias") > > Signed-off-by: Pali Rohár > > I'm not sure a Fixes: is appropriate here. What is actually broken? > This just seems like a new feature. Hello Andrew! With "fixes" I mean that this patch fixes aliases list in that mentioned commit as it was incomplete. Probably better would be "related" or "extended" keyword in this case. But I do not know. I would not say it is a "new feature". But rather that patch in this email fixes issue that Linux kernel did not set correct MAC address for DSA slave ports. I think it is something which could be backported also to stable releases as "ignoring" vendor/factory MAC address is not correct behavior. If you have an idea how to reformulate commit description I will do it.