Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp472019rdb; Tue, 5 Dec 2023 10:13:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IH98WZqYDabWqBkhk+aCg+UNhUsIKUm34Y1XNJSQA9N9njjuFp4bP7Bi1HL18E+IbSg84Fk X-Received: by 2002:a17:90a:c7c7:b0:285:25b3:4d5d with SMTP id gf7-20020a17090ac7c700b0028525b34d5dmr1372064pjb.8.1701800034269; Tue, 05 Dec 2023 10:13:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701800034; cv=none; d=google.com; s=arc-20160816; b=PNTU4mj6cyBjVDeYcaWzRFA0nZfV0EgHobowDz/nQy8JwIE2x8rBqi/1pbSZodyiAp yIy7M7ZEs3bNBDkYSd5LD3FOdRC0r5Drgiex/WgLTzcKpalVX5O59oKlF7+11D7yd+xF cJ/0IJ+imD80/KpIvv1kgT2wNgmEPaawGgQGF/FVEdwiGZXo7oCX6a5lnMwnuxKepK/P Y1/7GMGy0cE4vjpIZkv1K8YoB7YpjyxkFGePk0TCQVVY/q9Jw76iHBrR7aFYXfBPOONp Aiijpmgz8YcSvJSpKQGGIfOVvbxkGme5fuN2Ewo1EYFWUc/3tjUu2N2Pq3Ewk8XwZtYf EdjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=mXq0MfZRsUUXWF9wD5yNB4JShTMDiPdjDXjC0F7taj4=; fh=XoyEK0IngLIax2JwGfP43qQdjHnL4nRDsjWO3HYtiek=; b=qSl31CQom5HRY/OGzjrDu4N90qM1QMG4T5ztUY/SS3v2X6Dz74H0DPWE0NOtonft9B QHD0cgKBG7ne3YEcTwjb8gvj/dn/GI3PjdaH0h0P1XutZHtHFpzz2zwD5FOBr9MCvJ3u BsikSDZr0LHI8SmEqu+3mn6hcgCF2fKTDrN2kFZd8Dk8hPiSAHSqP5nUdwvtNs3CncOX raHzTq5iytD7o/tBbwF7ZvxNH5p1HX5yNs376cJcS5EFNHURjYoMIgYif7rIwGAsS8ic BSSf7xjBct7ApHkywkpIP09vM1K6XxLWmKQgT+J+E9Ylcn32GYQ1Iv0KP7pW+BPpcCsY 4WFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gateworks-com.20230601.gappssmtp.com header.s=20230601 header.b="Zk/tiMBt"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id nl9-20020a17090b384900b002869bbe240asi4525610pjb.8.2023.12.05.10.13.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 10:13:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@gateworks-com.20230601.gappssmtp.com header.s=20230601 header.b="Zk/tiMBt"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 7AC7D81E1419; Tue, 5 Dec 2023 10:13:51 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235596AbjLESNb (ORCPT + 99 others); Tue, 5 Dec 2023 13:13:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235105AbjLESNa (ORCPT ); Tue, 5 Dec 2023 13:13:30 -0500 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D90D122 for ; Tue, 5 Dec 2023 10:13:36 -0800 (PST) Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-54c77e0832cso4550450a12.0 for ; Tue, 05 Dec 2023 10:13:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gateworks-com.20230601.gappssmtp.com; s=20230601; t=1701800014; x=1702404814; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=mXq0MfZRsUUXWF9wD5yNB4JShTMDiPdjDXjC0F7taj4=; b=Zk/tiMBtakw5L3FcipK7znbHmefycm8fIrj6JtDEjulBR1qOK/8He7CaAkzszZjWR+ VQ+GpOf/tBRj+PujLs3pwnGHYR++Oi+mD8oqydqQbNoftKvFF9uP1k0ns874PSttsUBA nmGfosSDzXPhZhG01ZbapclY9kjDI8Vg5gQoDQ2q7WraPdijNmLH+/fBAHsjJ7EBqJMP 5vV/ofOm0KMkL08yUMXBqoz0MkGqtpEtooWZrEXwgxvFcg5PLyi5lsSEO14hwXXLt8mx yyF89RVlPbQGc47vsrLV+IWdvjaK4NBABHYszrrkD+FBHeWe0ATJtktTzh5wytw3jQBm Rrgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701800014; x=1702404814; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mXq0MfZRsUUXWF9wD5yNB4JShTMDiPdjDXjC0F7taj4=; b=MizvDAniqaZ1LlfEqGLT9HI6KPL/NBVWbac5Lahg5xCZY1IKyCxpjFB9X4lQXrWDi4 bROuKdOQ0xRUtzYs4fPya1v26gweVEeOlig6GFJi3QckKnfqkSe8t3QTWk43EtuswiQY +eGsbW1/dFKlRGhDt3LFlyUrB7wzcjfWoMZN4St/RsXPO5JadxtzY+zRP4tf8FpSN8xI 9aKsUEz2Si0JUVC/1criXFIj7J4YrjAzKgC36LoJ6zTgXBR4nenkrLInHjo7EzDo/qvX gi9BV9JKEOayiIwXBg3vq5c9RzQYGys4J1GInRboaaeNNUAG5VvSdLqmqyhap/mrX2lm d11Q== X-Gm-Message-State: AOJu0YzCnrbzFr6mvSrrGtjbBc3ywij3HT65dsxvl4lxDtZIOC1nlSqY sZVvQnBfnN5cG+ilgACKptiOa2lGZ7U/fJ+6Hlfh4w== X-Received: by 2002:a17:906:73d1:b0:a19:b93c:d28e with SMTP id n17-20020a17090673d100b00a19b93cd28emr4703493ejl.2.1701800014652; Tue, 05 Dec 2023 10:13:34 -0800 (PST) MIME-Version: 1.0 References: <20231130191815.2421978-1-robh@kernel.org> In-Reply-To: From: Tim Harvey Date: Tue, 5 Dec 2023 10:13:21 -0800 Message-ID: Subject: Re: [PATCH] arm64: dts: imx8mm-venice: Fix PCI bus nodes To: Rob Herring Cc: Fabio Estevam , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Tue, 05 Dec 2023 10:13:51 -0800 (PST) On Thu, Nov 30, 2023 at 2:33=E2=80=AFPM Rob Herring wrote= : > > On Thu, Nov 30, 2023 at 1:28=E2=80=AFPM Fabio Estevam wrote: > > > > Hi Rob, > > > > On Thu, Nov 30, 2023 at 4:18=E2=80=AFPM Rob Herring w= rote: > > > > > > The imx8mm-venice boards PCI bus nodes are a complete mess. The > > > unit-addresses are wrong. The PCI bridge nodes are incomplete missing > > > "device_type" and "ranges" and just wrong for "#address-cells" and > > > "#size-cells" values. > > > > > > All of these issues are reported warnings if anyone bothered to pay > > > attention. Sigh. Rob, Sorry about that. At the time the dt was submitted there were still so many dt warnings it wasn't very clear what was a legitimate issue and the PCI bindings are not that easy to understand. > > > > The warnings are gone in linux-next: > > > > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/com= mit/arch/arm64/boot/dts/freescale?h=3Dnext-20231130&id=3Dd61c5068729a76a618= 3a897bcad4bf26e8d3d674 > > Linux-next is wrong. The ethernet device should have a node name of > 'ethernet'. The 'pcie' node name and 'device_type =3D "pci"' is for PCI > buses/bridges only. So as Fabio has tried to fix this with a patch that landed in linux-next this patch won't apply. I'll submit one that covers your changes. It's always been unfortunate to have to have this level of detail in a device-tree just to allow boot firmware to populate the mac address of a PCI ethernet device. Best Regards, Tim