Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1299287rdb; Wed, 6 Dec 2023 14:46:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IGjjLn6ycmd+8XEl+Y8D/vKuCOiEeqtyOZ6oTMZmYNUIewA/lBlH18ZhCYnmRQzyN2wbTgf X-Received: by 2002:a05:6358:71cd:b0:170:911:8b80 with SMTP id u13-20020a05635871cd00b0017009118b80mr2035482rwu.28.1701902788388; Wed, 06 Dec 2023 14:46:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701902788; cv=none; d=google.com; s=arc-20160816; b=tHesEbMGnTtwDHuCSIjSqLrgCFFv14RZPGONZlMrn/D3dZuB5QTEVe9xExNkR3BvSe sda3W6OqAIY7iG5gqnvgoI+SSi8zN9G+so5llxkfZlaWm8ZChBn1U8B6sJBk/7w/08DM eL4kkccQGxrxrmw20UecvL9rcLt3D3FPx/EmDZaKsqdXW6ZWxuEYHSLKTu+e1Iq8da6F XP0wZsKbzZNBEDRLJcdUtkI4GZZOiEXsrnO6wnZKE50i995p5Wm9gUZquvrYCMrghVNl taRBLVPx7qsEQBp7F2YsWMJwFLKGoCj100D+5dgPUuSnXw+67U35xehnwJgqBUio00Dp xwtQ== 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=8X83r5OTQETJP3BACOnnNmvlcihfILbuzFscWCAxC/E=; fh=WvvcGPAr/gLkjDHAgY+3LEF98BS1qjYEROQPLoAqHG8=; b=BdTWx1LtXaAMFuhcEryDIrd+uizHSKhGXYmYgJuqohOa15RPRIzh7rY13uTSntpOFC nhzZr1FcxfpF8TAraAwJQtGfmoN2fT9+Stf0B3UAsT1ZQyjVDhzdBfb3vMkGuf2I0V7V FRHkUVTjo/I6ooeN7TGG6pzwkbQTbURu9pAcshU1mwiv6QAdfmPMs38ENQKRs0dTWNp4 7yt2a1h1d2a0tjIPfOiUnJjF5Uv5ztuuZJoSzOLy6QuihzLhSAu7VZWy29d2PTmRbG51 qZA5oPBYf8wDEUtSmlZQPNxjezJvJCHD4LE8o9VdvyvVuscmX+HYpruWsdOav1eRohRo eCJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DBITz3Ev; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id y26-20020a056a00181a00b006ce91f62ca8si55465pfa.246.2023.12.06.14.46.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 14:46:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DBITz3Ev; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 2A19D80A6880; Wed, 6 Dec 2023 14:46:25 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377662AbjLFWqH (ORCPT + 99 others); Wed, 6 Dec 2023 17:46:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229642AbjLFWqF (ORCPT ); Wed, 6 Dec 2023 17:46:05 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F4309A for ; Wed, 6 Dec 2023 14:46:12 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EFD94C433CC; Wed, 6 Dec 2023 22:46:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701902772; bh=8X83r5OTQETJP3BACOnnNmvlcihfILbuzFscWCAxC/E=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=DBITz3Evb8Pwetp5R1BX/tFnkZoyAtKKUV/uWrwF7tABe7ICWL3lGLG9fGeJRNEh2 hIAMeKvSoWhjBrD4nKn2NWSbVgPCWdnY9ceLFo7AAlnHqqdp1hfdZol1ciWCOeWYRk OxJiPudSZ6CT+S/HHLd/56imUBovQ5/bcBj8n6KOEXm5dPqchdhBXKnOhyxFt8n8Da B6sgEDnIXTEZnSf/qI77+lTdDMC0NljfrbIakg8olJFkf2/GQl81wNy4SxqGPNRcmd 1AYuSo/VkMYO6IPK9N0CA0G4+84nrBd/W5FIjMfgoq+sr0CILC8JN9Fkl4P5lghfGK YzrPfzXhS0Qbg== Received: by mail-lf1-f46.google.com with SMTP id 2adb3069b0e04-50bfd7be487so31240e87.0; Wed, 06 Dec 2023 14:46:11 -0800 (PST) X-Gm-Message-State: AOJu0YxxielvOk4tzptiIZEbRZ5p7eH80M3dYbMyI1fJbTcePWGaf7En 8dauot9twohfk8lhgR1unH1iolK2DVN8EaBQMQ== X-Received: by 2002:a05:6512:2251:b0:50b:f0df:57bb with SMTP id i17-20020a056512225100b0050bf0df57bbmr1074743lfu.49.1701902769936; Wed, 06 Dec 2023 14:46:09 -0800 (PST) MIME-Version: 1.0 References: <20231130191815.2421978-1-robh@kernel.org> In-Reply-To: From: Rob Herring Date: Wed, 6 Dec 2023 16:45:57 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] arm64: dts: imx8mm-venice: Fix PCI bus nodes To: Tim Harvey 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=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 pete.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 (pete.vger.email [0.0.0.0]); Wed, 06 Dec 2023 14:46:25 -0800 (PST) On Tue, Dec 5, 2023 at 12:13=E2=80=AFPM Tim Harvey = wrote: > > On Thu, Nov 30, 2023 at 2:33=E2=80=AFPM Rob Herring wro= te: > > > > 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 = wrote: > > > > > > > > The imx8mm-venice boards PCI bus nodes are a complete mess. The > > > > unit-addresses are wrong. The PCI bridge nodes are incomplete missi= ng > > > > "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/c= ommit/arch/arm64/boot/dts/freescale?h=3Dnext-20231130&id=3Dd61c5068729a76a6= 183a897bcad4bf26e8d3d674 > > > > 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. Thanks. > 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. More unfortunate are incomplete h/w designs lacking the MAC address. :( Not really any way around it I think if you want something that works for any device and any number of devices. Rob