Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp6376773rwb; Tue, 9 Aug 2022 14:17:08 -0700 (PDT) X-Google-Smtp-Source: AA6agR4mKwvDV0yC4TSVQGCsbRjAWpTPPGamBM11r+6yQCzS7bN8B/Ub7bMxKmi43Tbz3mCwWYS1 X-Received: by 2002:a17:902:ca0b:b0:16d:d562:42dc with SMTP id w11-20020a170902ca0b00b0016dd56242dcmr24034057pld.26.1660079828155; Tue, 09 Aug 2022 14:17:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660079828; cv=none; d=google.com; s=arc-20160816; b=waB2+cNg+GNopGn6bDX6hdbN8hxLJgIS97nEY2DLlmXq+2dtRjpAXivCnbe18gK6tS xx7HtByT+j/AsZeJBaCvECWdzbIGxjJ1PPjdnow2dYJQyu0XMY2ur1Ghbl+BHuv+YEoV IsmMOPhnabCRv4APOpEIKRbIMvg9hrypOxMWoJ+2rUdbzHFJJBtUUY3UTRoqBosZZrLD QgehpzESNFptYXNZ907JK+GSPhu4t29UcAF+mk7sV/kD3B2k4iBu0sf5Bt7qbU3Rpo6F iw+LCdsxaPRJvceNDd1pY5ffwJlXBTrOaEy+1wiKWCX617BAOyIxXwrwmFeLnPteO/gX +cKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=YA1ChAIaflzxJQXuJSaD3QPZpDf4b7GkMzdcfIzO804=; b=lo6Ng3R3kTNoaQ1YLL1UA8g2lhdUejWA69Ov2BE1Yv1K0SlPGw+mTbnJEBx5CGwwI6 uxIbwAMg8E9CQoC7pbZlxcUN2o1IUetxcrg1X5HEVqch6LLm2IFxkLfl9T/sCQs3I24G 6HuRdjz49mFsUvyBox+cqtyKgTUsQ4fhXU26qXNsXQ2mHRkWKYBQMcM2KYMPPMXnht59 QCmQ1wjrP/56X2VEW4wPZpjqE1d9pr2z0YMzdUFEuiKTzi6BTKvdvPa1l+vZmD/9JLE1 bDyeASoW7lUivm7YHCRfFWPcMpLuaA3Q71WJGuMLabTx2Zj/Wr3iPHOp/qPR0mVkRQT0 13kA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=f0dw6ZFU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d68-20020a633647000000b0041bc3507335si14447272pga.158.2022.08.09.14.16.52; Tue, 09 Aug 2022 14:17:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=f0dw6ZFU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S245722AbiHIUp0 (ORCPT + 99 others); Tue, 9 Aug 2022 16:45:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343714AbiHIUpW (ORCPT ); Tue, 9 Aug 2022 16:45:22 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B990360E5 for ; Tue, 9 Aug 2022 13:45:18 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4A85060EE2 for ; Tue, 9 Aug 2022 20:45:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7FB39C433C1; Tue, 9 Aug 2022 20:45:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1660077917; bh=9KJdonOg4u1iSkkOzi21IONx6muGEp+9s546Vhnx15Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=f0dw6ZFU6iW5hCI1Mou34KdaBR06Qk85oO0GD+xFfyP+dP8MNRN8avo4amp3GZ7EE gT2b+bDpw5gwz8zH3+D5m3kLgbDAm41VJLqax4TOBRYi4ZZQiaMWa8a/cN+atGSTrU usVeI7l7RZhenk5OakuJnlEToTfk8LLXpOVNmARWHRZ+iXNZW/1of5qug6hWYw+wyY +RKS1Y3U41SJIEaHQXOvcdKhe8b347NrSZtj49t4iSq7EQnbNkJJLMvjoAIAPJYgUx WfZwQr+4ESAK/1lNBjvamXU3eJOExTrce7bsvRQpOOYImPTakjM30VmBm4M1P3rqAs 1pYmP56JTNpoQ== Received: by pali.im (Postfix) id 9D6F4C1F; Tue, 9 Aug 2022 22:45:14 +0200 (CEST) Date: Tue, 9 Aug 2022 22:45:14 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Andrew Lunn Cc: Gregory Clement , Sebastian Hesselbarth , Rob Herring , Marek =?utf-8?B?QmVow7pu?= , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: dts: turris-omnia: Add ethernet aliases Message-ID: <20220809204514.wu2om56mljsw4flz@pali> References: <20220727130926.1874-1-pali@kernel.org> <20220727131504.avbfyoydzgcf6wyo@pali> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20180716 X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday 09 August 2022 22:28:51 Andrew Lunn wrote: > On Wed, Jul 27, 2022 at 03:15:04PM +0200, Pali Rohár wrote: > > On Wednesday 27 July 2022 15:09:26 Pali Rohár wrote: > > > This allows bootloader to correctly pass MAC addresses used by bootloader > > > to individual interfaces into kernel device tree. > > > > > > Signed-off-by: Pali Rohár > > > --- > > > > Maybe this should have Fixes line? > > > > Fixes: 26ca8b52d6e1 ("ARM: dts: add support for Turris Omnia") > > Is it broken with older kernels? That is a big part of Fixes: to > indicate it needs back porting. Is this a new u-boot feature? > > Andrew This is old u-boot feature. I was investigating why u-boot is not able to correctly modify loaded omnia dtb file when booting linux kernel and I found out that it is because it cannot due to missing ethernet aliases. Also there is a new u-boot feature for omnia to correctly put phy-reset-gpios property into eth 2 node based on board hw revision. So this is another purpose for which we should have those aliases, to allow kernel to correctly reset wan (eth 2) PHY. I would suggest this change for backporting into stable.