From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.groups.io with SMTP id smtpd.web08.376.1610625220108852595 for ; Thu, 14 Jan 2021 03:53:40 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=LPbLzUoi; spf=pass (domain: redhat.com, ip: 216.205.24.124, mailfrom: lersek@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1610625219; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oLT4AcWePGdW7EEIdyw8E+sqxDCUn7GdH9V2Svd60q8=; b=LPbLzUoiRBV4ng+T0UQnPaNsFe8q9PKkm6xmLCaC+0+Qo/rWvtme+cR2PE/jhJcRbNGpbb 90ETD8uiJ4roPqBRfcvtlfXZusggFVSyzlYm3mtZ41K3Xp/tENciE8PZW510lXSJfXHRHw 4dRoOnE6j8VspAFbEgb2vyPyXXUcVF0= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-441-LW51ATL5NzyJPxwexTiQaw-1; Thu, 14 Jan 2021 06:53:35 -0500 X-MC-Unique: LW51ATL5NzyJPxwexTiQaw-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 59B3F15729; Thu, 14 Jan 2021 11:53:33 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-114-110.ams2.redhat.com [10.36.114.110]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4E0D35D6AD; Thu, 14 Jan 2021 11:53:30 +0000 (UTC) Subject: Re: [PATCH v4 0/9] Add extra pci roots support for Arm To: Jiahui Cen , devel@edk2.groups.io Cc: Jordan Justen , Ard Biesheuvel , Rebecca Cran , Peter Grehan , Anthony Perard , Julien Grall , Leif Lindholm , Sami Mujawar , xieyingtai@huawei.com, wu.wubin@huawei.com, Yubo Miao References: <20210112094549.10238-1-cenjiahui@huawei.com> From: "Laszlo Ersek" Message-ID: <956970aa-fd13-92fc-adb2-5308a493b334@redhat.com> Date: Thu, 14 Jan 2021 12:53:29 +0100 MIME-Version: 1.0 In-Reply-To: <20210112094549.10238-1-cenjiahui@huawei.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=lersek@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit On 01/12/21 10:45, Jiahui Cen wrote: > v3->v4: > * Refactor InitRootBridges/UninitRootBridges/GetRootBridges/FreeRootBridges. > * Fix library dependencies. > > v2->v3: > * Rename utility functions under the PciHostBridgeUtilityLib namespace. > * Remove some unused Library dependencies. > * Sort the Include headers. > > v1->v2: > * Separated into four patches. > * Factor the same logic parts into a new library. > > v3: https://edk2.groups.io/g/devel/message/69382 > BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3059 > QEMU: https://lore.kernel.org/qemu-devel/20201119014841.7298-1-cenjiahui@huawei.com/ > > This patch series adds support for extra pci roots for ARM. > > In order to avoid duplicated codes, we introduce a new library > PciHostBridgeUtilityLib which extracts common interfaces from > OvmfPkg/PciHostBridgeLib. It provides conflicts informing and extra pci > roots scanning. Using the utility lib, the uefi could scan for extra > root buses and recognize multiple roots for ARM. > > Cc: Jordan Justen > Cc: Laszlo Ersek > Cc: Ard Biesheuvel > Cc: Rebecca Cran > Cc: Peter Grehan > Cc: Anthony Perard > Cc: Julien Grall > Cc: Leif Lindholm > Cc: Sami Mujawar > Signed-off-by: Jiahui Cen > Signed-off-by: Yubo Miao I've finished reviewing this version; please submit v6. Thanks Laszlo