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 8AE74C4332F for ; Thu, 7 Oct 2021 16:03:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6C91D60F5B for ; Thu, 7 Oct 2021 16:03:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242326AbhJGQF1 (ORCPT ); Thu, 7 Oct 2021 12:05:27 -0400 Received: from marcansoft.com ([212.63.210.85]:56266 "EHLO mail.marcansoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233486AbhJGQF0 (ORCPT ); Thu, 7 Oct 2021 12:05:26 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: marcan@marcan.st) by mail.marcansoft.com (Postfix) with ESMTPSA id E0FED419BC; Thu, 7 Oct 2021 16:03:26 +0000 (UTC) Subject: Re: [PATCH v5 14/14] arm64: dts: apple: j274: Expose PCI node for the Ethernet MAC address To: Marc Zyngier , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org Cc: Bjorn Helgaas , Rob Herring , Lorenzo Pieralisi , =?UTF-8?Q?Krzysztof_Wilczy=c5=84ski?= , Alyssa Rosenzweig , Stan Skowronek , Mark Kettenis , Sven Peter , Robin Murphy , Joey Gouly , Joerg Roedel , kernel-team@android.com References: <20210929163847.2807812-1-maz@kernel.org> <20210929163847.2807812-15-maz@kernel.org> From: Hector Martin Message-ID: Date: Fri, 8 Oct 2021 01:03:24 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20210929163847.2807812-15-maz@kernel.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: es-ES Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 30/09/2021 01.38, Marc Zyngier wrote: > At the moment, all the Minis running Linux have the same MAC > address (00:10:18:00:00:00), which is a bit annoying. > > Expose the PCI node corresponding to the Ethernet device, and > declare a 'local-mac-address' property. The bootloader will update > it (m1n1 already has the required feature). And if it doesn't, then > the default value is already present in the DT. > > This relies on forcing the bus number for each port so that the > endpoints connected to them are correctly numbered (and keeps dtc > quiet). > > Signed-off-by: Marc Zyngier > --- > arch/arm64/boot/dts/apple/t8103-j274.dts | 23 +++++++++++++++++++++++ > 1 file changed, 23 insertions(+) > Acked-by: Hector Martin -- Hector Martin (marcan@marcan.st) Public Key: https://mrcn.st/pub