From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from szxga04-in.huawei.com (szxga04-in.huawei.com [45.249.212.190]) by mx.groups.io with SMTP id smtpd.web09.28622.1605490415691353544 for ; Sun, 15 Nov 2020 17:33:36 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: huawei.com, ip: 45.249.212.190, mailfrom: cenjiahui@huawei.com) Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4CZBRK5TK3z15LnQ; Mon, 16 Nov 2020 09:33:17 +0800 (CST) Received: from [10.174.184.155] (10.174.184.155) by DGGEMS412-HUB.china.huawei.com (10.3.19.212) with Microsoft SMTP Server id 14.3.487.0; Mon, 16 Nov 2020 09:33:22 +0800 Subject: Re: [edk2-devel] [PATCH v2 0/4] Add extra pci roots support for Arm To: , , Ard Biesheuvel CC: , , , References: <20201109130511.5946-1-cenjiahui@huawei.com> <286c4d14-82f4-6238-2fb1-15e6072fad07@redhat.com> From: "Jiahui Cen" Message-ID: <0575acab-fb25-9805-8735-f85f57d8764a@huawei.com> Date: Mon, 16 Nov 2020 09:33:21 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <286c4d14-82f4-6238-2fb1-15e6072fad07@redhat.com> X-Originating-IP: [10.174.184.155] X-CFilter-Loop: Reflected Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit On 2020/11/14 3:44, Laszlo Ersek wrote: > On 11/12/20 09:49, Ard Biesheuvel wrote: >> On 11/9/20 2:05 PM, Jiahui Cen wrote: >>> Changes with v1 >>> v1->v2: >>> Separated into four patches. >>> Factor the same logic parts into a new library. >>> >>> v1: https://edk2.groups.io/g/devel/topic/72723351#56901 >>> BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3059 >>> QEMU: >>> https://lore.kernel.org/qemu-devel/20201103120157.2286-1-cenjiahui@huawei.com/ >>> >>> >>> This patch series adds support for extra pci roots for ARM. >>> >> >> Why? > > I don't know Jiahui Cen's particular reasons; on x86, pxb-pcie is useful > for associating PCIe hierarchies with particular NUMA nodes. See > "docs/pci_expander_bridge.txt" in the QEMU tree. > > Also, in Jiahui Cen's QEMU blurb linked above, the following is included: > >> Currently pxb-pcie is not supported by arm, >> the reason for it is pxb-pcie is not described in DSDT table >> and only one main host bridge is described in acpi tables, >> which means it is not impossible to present different io numas >> for different devices. > > So I guess this work aims to extend the same PCI(e)<->NUMA association > feature, from x86 to ARM. > > Thanks, > Laszlo > > > . > Right, we'd like to extend the pxb-pcie feature on ARM so that PCI(e) can be associated with particular NUMA nodes. Thanks, Jiahui