Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp140943rwn; Fri, 16 Sep 2022 17:07:26 -0700 (PDT) X-Google-Smtp-Source: AMsMyM61/sTtlNAGDZvZrIT4CZRdtrcy7BpTDCKhNeVxB5QkSkLY9e15lxNTWZLKpxdtS582qEl4 X-Received: by 2002:a05:6402:5cb:b0:452:e416:2bc4 with SMTP id n11-20020a05640205cb00b00452e4162bc4mr5928602edx.114.1663373245911; Fri, 16 Sep 2022 17:07:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663373245; cv=none; d=google.com; s=arc-20160816; b=vvWC03Qq1j3WIpOCMAJjmU01YzN/mC+kivZuXaFm1E8MsSWeqOJGTNJbrv0XGkBzYG YKDY6+gANsvQKkOc16we3LRsr1l59AlW4AepNpndgAszJ9ES6rOfGFvg+XbQBjGOb0Fv v8UDY2v+k+4dWBGO6tWhxoLXgQZKNEZQlHyzB0wu+JnJPM52prK/cMLEOcAjTmPmybGj PYPnPZkPm3M3oaeYaskBuy6DLC8dNsu6wczgMPj/zNdRPl63u1/F19UEoSyaEME05Au3 or1n70L7RFi2z8ToEoaypIvebl/NtdgJ+LRpN1Mld+eeT630GxrRozqvBE5ZtRy6Pm+0 cfMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=funh6DJxWPKQkGfqUouZIN3Ckh5ufZaw1R0aisyo43c=; b=HWZ+cGR/C1wdmZ3UuBpNBa6ph9WzWjcQJM8R7K1+RwfpBJuDPY5HnuNzgvmcZ17l3A HPd7oNSaW24DFOoUI/epplyzSuvlqsE3FHiHkQGWDFlBhxzBVr3brhmxm89esPlAieWq kZIfRAJ/0QlS1BTaaAN9+OOd+JlHGYjIf+AKdDVDdx8rSaNBb3LUdxVhKrggzKoxim+m sFZ4DZpm/VkYOD8ZD5GfNnNOfg6xQ0NAjCsaGxdiG1hfFmItmLlz2D4Bz07pgiQ9RgqB 2Di82R2pVMF7+IgV3SIahE7V5uGhPdkLKHCKLWKe8JU3o/X3QU3FdZerlhitPvwVD2Hc pwPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=l328SO8T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f10-20020a17090631ca00b00734804bb362si7260166ejf.568.2022.09.16.17.06.59; Fri, 16 Sep 2022 17:07:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=l328SO8T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229851AbiIPXU6 (ORCPT + 99 others); Fri, 16 Sep 2022 19:20:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229769AbiIPXU4 (ORCPT ); Fri, 16 Sep 2022 19:20:56 -0400 Received: from mail-qt1-x829.google.com (mail-qt1-x829.google.com [IPv6:2607:f8b0:4864:20::829]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F554AE9F2; Fri, 16 Sep 2022 16:20:54 -0700 (PDT) Received: by mail-qt1-x829.google.com with SMTP id g23so12559855qtu.2; Fri, 16 Sep 2022 16:20:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=funh6DJxWPKQkGfqUouZIN3Ckh5ufZaw1R0aisyo43c=; b=l328SO8TvVV7UOhz1dOPe/bmFOmHvWUkrjVaJ0F+GwdsDP9wYS2oYd9MHN5CT8x/rB syWkCxANnXOc2rELuAzgablk5E4p6BNFm0CPmEYWY8DmwmBI0A0HZL3Vk7TgBdJKiSBJ YJ/I7CYHd75D24Wdti8hQPslJKIpTk/28AWSqIt96mFCPlkrE9XieXfJdH0JZbsA22v5 ER1OfvGZARJK0aidVc/4zhtH5Rbl+jO6hrYm8uy9AlHJDucPWZcbDos2UtZUNzSPBo6Y hxIe1p4Rlp73HP48R9EK74OdoG16Xx5e8404+ELuZsyuwZy+gDLdR9mhl0bCoaH18dfQ L+8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=funh6DJxWPKQkGfqUouZIN3Ckh5ufZaw1R0aisyo43c=; b=xAq//KuCmUzpekyGytY4l28RpZSpJ9OOTNXnt9pVEF+UEDNeBydT+XkaPKxivI02mb mnF4cb7IslQ7QFBoPt7rIXhfaziPnVFVjN9rD6202CvwtengDA0dYF4h/I/P8sIsgIpZ O7I57b7sx01s+h1QY2spIUGal9lk0nWGE6uC7oecs56eckvEPlo9GY/skMCliKcJjKgT y094KT649ZvdMXKD1Uscrpb5AUHqnHJvzDgUiyrlSRFTU0ZWuJchGyBza+o1YFCIRu2i 2wRb4KUT0ywiI2tql76YeWp1q9YCY+jwX2a8eMjZh6LbGxsdXoI1LfELTk9g5FeXup3I 1//w== X-Gm-Message-State: ACrzQf3f0hUWQIdAUZMPpdtGN9qYB9hdUOL+jT5sFg4eBywI4fqESHAV pSV/oJt862rgRsu80FP7kZI= X-Received: by 2002:a05:622a:141:b0:35c:d7b7:62c1 with SMTP id v1-20020a05622a014100b0035cd7b762c1mr3179178qtw.376.1663370453665; Fri, 16 Sep 2022 16:20:53 -0700 (PDT) Received: from ?IPV6:2600:1700:2442:6db0:90c9:b1c1:5c9e:9030? ([2600:1700:2442:6db0:90c9:b1c1:5c9e:9030]) by smtp.gmail.com with ESMTPSA id f12-20020a05620a408c00b006bb78d095c5sm7916099qko.79.2022.09.16.16.20.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 16 Sep 2022 16:20:53 -0700 (PDT) Message-ID: <1a4381ea-53a6-1ed0-100f-e622457ccc87@gmail.com> Date: Fri, 16 Sep 2022 18:20:52 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH RFC 2/2] pci: create device tree node for selected devices Content-Language: en-US From: Frank Rowand To: Rob Herring , Lizhi Hou Cc: linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, helgaas@kernel.org, clement.leger@bootlin.com, max.zhen@amd.com, sonal.santan@amd.com, larry.liu@amd.com, brian.xu@amd.com, stefano.stabellini@xilinx.com, trix@redhat.com References: <1661809417-11370-1-git-send-email-lizhi.hou@amd.com> <1661809417-11370-3-git-send-email-lizhi.hou@amd.com> <20220902185403.GA173255-robh@kernel.org> <63c31198-ac4d-f3c7-9259-ea7dc6373b23@gmail.com> In-Reply-To: <63c31198-ac4d-f3c7-9259-ea7dc6373b23@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/13/22 02:03, Frank Rowand wrote: > On 9/12/22 01:33, Frank Rowand wrote: >> On 9/2/22 13:54, Rob Herring wrote: >>> On Mon, Aug 29, 2022 at 02:43:37PM -0700, Lizhi Hou wrote: >>>> The PCI endpoint device such as Xilinx Alveo PCI card maps the register >>>> spaces from multiple hardware peripherals to its PCI BAR. Normally, >>>> the PCI core discovers devices and BARs using the PCI enumeration process. >>>> And the process does not provide a way to discover the hardware peripherals >>>> been mapped to PCI BARs. >> >> < snip > >> >>> >>> The above bits aren't really particular to PCI, so they probably >>> belong in the DT core code. Frank will probably have thoughts on what >>> this should look like. >> >> < snip > >> >> I will try to look through this patch series later today (Monday 9/12 >> USA time - I will not be in Dublin for the conferences this week.) >> >> -Frank > > I have collected nearly 500 emails on the history behind this patch and > also another set of patch series that has been trying to achieve some > somewhat similar functionality. Expect me to take a while to wade through > all of this. I'm still working at understanding the full picture of patch 2/2. -Frank > > -Frank