Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp6001629rdb; Mon, 18 Sep 2023 00:18:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEFxrYgNBPB20MWte1bLridlcyb+cjGiKyE2pzh9pWrdI6A4PLH8jdpbBRJjwUyxqI3+5kX X-Received: by 2002:a05:6a00:2192:b0:68a:31b2:5219 with SMTP id h18-20020a056a00219200b0068a31b25219mr9733728pfi.22.1695021509794; Mon, 18 Sep 2023 00:18:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695021509; cv=none; d=google.com; s=arc-20160816; b=jh1zi+vvM56xaGKHFoyqxn4NeDvZbBuGqM5/ADKcsBZWmW807wmYu6YfP6tzKF8XOA bFJ6MQR0FCvEIbZoBsDDjz8L7q9NRXnUlDW9t1LDD4XKLOqBjHs5UCaLEgI4+eCnQaAI xSPthl/RPTsiuC7HnGgnuLYmR9SZEcrh5Rvt74KjXtpuQ/Ox9jsdLqEg5j8Lcb2hTJKG uN2/Jyti5pk0KOri9kZGuayLRSyrZJElzcO7MktA9gEWt09cSu/HYKldKmB1xcgXtqm5 +lX/YfnNGfjuJ+Kn/ciFf91Hf0iZXqztQMUxSXtrGdE/Z7bQYd/8DH9sWxKvjUFU1O+0 1uPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=RxEvWzlbgO03ERFec0AiSiS3lL1D45sJhRzdROz9Vlw=; fh=10yVBvLa1ynU2pRpOr0pCjGCbF4cn4HYGwY218Wz0ew=; b=UArXMazQ/F5Kb9y6mOOAF/z3/CcrjvRmfNxfRsd/PJLvA4JcHA7jPmKsJ0UC3V+u+6 7cQeH39Hqxi5lODZ+a66tENNE70xmDVfkdd5YTrFv2grsYiNycoRK7Ozxjgwb99jufnx 5YkwOrGAL5wcVI0e0M5hf5yR8Ru4C2wmY+BKoLqURxi4K7LFWIhSHMMpk7jNpAiUTC4z Nzcbmxvsgp/jflWJoGtaBIOZLNVX3PZGLfB/DYqn4i8YYFhAlgf0bS7zVBeAiylAnBXy uoQyRDUG0kHjUL9r/Vw+UPyT7Gmo4gzZpXQmdynO2NQHTV4M4MeOiEM3DiTKVoOC3H7Y KDxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=XX3yh7FF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id z6-20020aa78886000000b0068fbac77dd0si7668682pfe.226.2023.09.18.00.18.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 00:18:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=XX3yh7FF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id DB33E8024C17; Mon, 18 Sep 2023 00:18:23 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240080AbjIRHR5 (ORCPT + 99 others); Mon, 18 Sep 2023 03:17:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240087AbjIRHRn (ORCPT ); Mon, 18 Sep 2023 03:17:43 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E2C1A8; Mon, 18 Sep 2023 00:17:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695021458; x=1726557458; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=KsfAbNSSH07DrMGxoNkMeYYnB9cf5vxCWMe2RiqJX1A=; b=XX3yh7FFe1eWIYf3o4NwdH8U8p0+6UzaSL4IE9FwQqRIjaOLv5zZ1hQz sLBJxRvpbsucRCEvaAeiht0IBiaohTMyUQKJAdzOx8ExATkOMcm2uUfwu 0Bu/6mctYBmvASgm2Pr/Wh7K13EFtdBtPwoWROoSskU2T4jD5h07CUeGY itxiwGAV9nnGEAWnwfNOBI6Xs6DEUE+nRh4ZKqwSXUEOmFmxvEJQafx5B CQM1f28MRve9/pchNq51SWvC8whWErkk1L1bvpk242vjxjvRWr1n5Hi/i oofCGT8dTvOFIEbESmb9iVcMKrBGBQHYF8cPorv7+lHIOpG69dqLWtQjU A==; X-IronPort-AV: E=McAfee;i="6600,9927,10836"; a="382328532" X-IronPort-AV: E=Sophos;i="6.02,156,1688454000"; d="scan'208";a="382328532" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Sep 2023 00:17:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10836"; a="888926792" X-IronPort-AV: E=Sophos;i="6.02,156,1688454000"; d="scan'208";a="888926792" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga001.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Sep 2023 00:16:51 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.97-RC0) (envelope-from ) id 1qi8Va-0000000EDuQ-1Nt2; Mon, 18 Sep 2023 10:17:26 +0300 Date: Mon, 18 Sep 2023 10:17:26 +0300 From: Andy Shevchenko To: Herve Codina , Jonathan Cameron Cc: Rob Herring , 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 Subject: Re: [PATCH V13 0/5] Generate device tree node for pci devices Message-ID: References: <1692120000-46900-1-git-send-email-lizhi.hou@amd.com> <20230915193008.6d87b8a0@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230915193008.6d87b8a0@bootlin.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, 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 groat.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 (groat.vger.email [0.0.0.0]); Mon, 18 Sep 2023 00:18:24 -0700 (PDT) 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 PM 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 anything 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 trying to > > understand if it's the case. and if so, how can we improve the approach. > > Patches from Frank Rowand series [1] are needed to create an of_root_node 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 bridge > 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 PCI 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 combined into one and being sent with a better cover letter to explain all this. Also it might make sense (in my opinion) to Cc Jonathan (I did it here). Sorry, Jonathan, if you are not wanting this. -- With Best Regards, Andy Shevchenko