Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2295976rdb; Thu, 21 Sep 2023 14:29:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGblHFFnw9dlvKUqz1aJvFtcQkb9pZXMoLfEpIQztC/JNhl7yVL7FtqHauJBNwzfpoL7rG2 X-Received: by 2002:a05:6808:2092:b0:3ad:af12:2fe0 with SMTP id s18-20020a056808209200b003adaf122fe0mr7277123oiw.3.1695331762002; Thu, 21 Sep 2023 14:29:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695331761; cv=none; d=google.com; s=arc-20160816; b=fLcwnaAu124UzGZAz3ieN6C3Rsb5LaMY251sM2jHkHfw+IufrJcaYXULQeI2Nxxjcq 6jedwafNZF1KokmWASvqmsoCLOw+Euh2PBpF3zuPEG05gPzTrVGK2+u4++eAzdTyD8kE P1NPg8DkYdraresXAUeuDBAs1Tc6DJiHUdCNqrwPWIXsKiDsviV8gt0kLQzsOAyb0Fmc yEStp3KvJMBSyZdj8sLJdmuNkSMmnEMzvEIx7NoEXQfsYkMLXUtD5pfKFhx1bJpW5hm7 l1sLG9lsGuKyx/XzOefClxF7MJwyuBLxzIzgIS4iIJu2tmn/wI8WKDKLbJnGnS+GXO1j sTIg== 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=qJtvP+fLeafs+Z84XeBbHAZ7Dmey9K1dxQvBg956qdc=; fh=dh8BVDKA9dNuNRp30mb2Jec+OfmlTrsi2DekkwkM31o=; b=y/UA0OWUp+p5CNk/aIGQhdCm9LhgWCoGhiO/TDKyrbbQsVPxhXy4XDdquqgyATnZ6g 4w5Dqb001zIWnsgyeQws4NeRMOc73ee5zQ/LdjZr5MNEQTvk5eJLQ30Z8Ls4kiTW8LcU TBllbGg7pZpjMXI3anNqFz5jPnc0TWVL3WTXmKptsQpjseWE37kTVGjRM7hD66HNsUjh d2Gpz4X2y0iEZATABO87b+6U+x7GUGRzidUlxRazDNGjP3dQ4onS3aXF72wwKXuVkzmG nA3IuiDh/3DCwyxQKT5iOl0NSHiAFqt554H41QMThHYo0Bp8Kdz73kKDhL8TU35DiMj6 pvJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QYPRqg52; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id v70-20020a638949000000b0056cab36f3e1si2246994pgd.221.2023.09.21.14.29.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Sep 2023 14:29:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QYPRqg52; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (Postfix) with ESMTP id 58E168392327; Thu, 21 Sep 2023 14:13:37 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232226AbjIUVNT (ORCPT + 99 others); Thu, 21 Sep 2023 17:13:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231891AbjIUVMu (ORCPT ); Thu, 21 Sep 2023 17:12:50 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E572A9ED; Thu, 21 Sep 2023 10:07:28 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5E79EC4E689; Thu, 21 Sep 2023 12:21:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695298861; bh=KjzToofit3Y0FeaIc14Emfkd61E5wMUffmNSlgfWlws=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=QYPRqg52qxooQYcthEAw6iPy3gYDm21MYLktLHDAFDD++GvQsqO3Pbl8kWx66N/k4 Ph1CAC1jiL8JbHCS47VNxUhcpRQYmEs1O/swIpxSAf2AIBRdwLCD/mCVMbTGWgQ/Mh MnaAOkLhXGjOvwo584s9DUETmNucy7IQJPhqjP88A6fiibMY48yT58OyvlVMnxwOKQ xpRwmKPmoncBvidVZz1wY5nHgntHNAdLpGnqyN0MTnCnOy5Y/+uHtfxuS02/m9zc+S Y4e+hK97eCLA1c/pqsmEHfoHXoIMVj4vNPnxhgF4MR8n1V7KpY2ZRJ2HsOBzTW3MjB mUCvSxGbx7mgg== Received: by mail-lj1-f169.google.com with SMTP id 38308e7fff4ca-2bfea381255so14450931fa.3; Thu, 21 Sep 2023 05:21:01 -0700 (PDT) X-Gm-Message-State: AOJu0Yxg6EfmUwUYQqqAT2nePFV5hcTFEIXnYMNzdwebgE1Qs8WlHyi6 SHBl0SS8JU5Oaru30ch/ShQY7CZeFQUdSihLww== X-Received: by 2002:a2e:9952:0:b0:2b9:3684:165 with SMTP id r18-20020a2e9952000000b002b936840165mr4739244ljj.8.1695298859522; Thu, 21 Sep 2023 05:20:59 -0700 (PDT) MIME-Version: 1.0 References: <1692120000-46900-1-git-send-email-lizhi.hou@amd.com> <20230915193008.6d87b8a0@bootlin.com> In-Reply-To: From: Rob Herring Date: Thu, 21 Sep 2023 07:20:46 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH V13 0/5] Generate device tree node for pci devices To: Andy Shevchenko Cc: Herve Codina , Jonathan Cameron , Lizhi Hou , Andrew Lunn , linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, max.zhen@amd.com, sonal.santan@amd.com, stefano.stabellini@xilinx.com 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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.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 (fry.vger.email [0.0.0.0]); Thu, 21 Sep 2023 14:13:37 -0700 (PDT) On Mon, Sep 18, 2023 at 2:17=E2=80=AFAM Andy Shevchenko wrote: > > On Fri, Sep 15, 2023 at 07:30:08PM +0200, Herve Codina wrote: > > On Wed, 13 Sep 2023 14:17:30 +0300 > > Andy Shevchenko wrote: > > > On Tue, Sep 12, 2023 at 02:12:04PM -0500, Rob Herring wrote: > > > > On Mon, Sep 11, 2023 at 3:37=E2=80=AFPM Andy Shevchenko > > > > wrote: > > > > > On Tue, Aug 15, 2023 at 10:19:55AM -0700, Lizhi Hou wrote: > > ... > > > > > > Can you point out to the ACPI excerpt(s) of the description of an= ything related > > > > > to the device(s) in question? > > > > > > > > I don't understand what you are asking for. > > > > > > Through the email thread it was mentioned that this series was tested= on the > > > ACPI enabled platform, Jonathan (IIRC) asked why do we need to have a= shadow > > > DT for the something that ACPI already describes. That's why I'm tryi= ng to > > > understand if it's the case. and if so, how can we improve the approa= ch. > > > > Patches from Frank Rowand series [1] are needed to create an of_root_no= de if a DT > > was not provided by the firmware, bootloader, etc that run the kernel. > > > > [1]: https://lore.kernel.org/lkml/20220624034327.2542112-1-frowand.list= @gmail.com/ > > > > Current Lizhi's series creates nodes from the PCI host node during the = PCI > > enumeration. It creates PCI-PCI bridge and PCI device nodes. > > > > I use these series on an ACPI system. > > > > I need one more missing component: the node related to the PCI host bri= dge > > This was the purpose of Clement's work. This work was not sent upstream= yet and I > > am working on it in order to have a full tree from the of_root to the P= CI device > > ie: > > of_root <-- Frank Rowand series > > + of_host_pci_bridge <-- Clement's work > > + pci_bridge <-- Current Lizhi series > > + pci_bridge <-- Current Lizhi series > > ... > > + pci_dev <-- Current Lizhi series > > > > Hope that this status helped. > > Thanks for the explanation! I suppose it's better to have three series co= mbined > into one and being sent with a better cover letter to explain all this. You can go back (years now) and see that. I asked for this to be split up into manageable chunks and not solve multiple problems at once. No point in trying to do DT on top of ACPI if DT on top of DT doesn't work first. Rob