[edk2-devel] [PATCH 32/43] OvmfPkg/PciHostBridgeLib: remove Bhyve and Xen support
Philippe Mathieu-Daudé
philmd at redhat.com
Thu May 27 08:32:54 UTC 2021
On 5/26/21 10:14 PM, Laszlo Ersek wrote:
> The "OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf" instance is
> used by the following platforms in edk2:
>
> OvmfPkg/AmdSev/AmdSevX64.dsc
> OvmfPkg/OvmfPkgIa32.dsc
> OvmfPkg/OvmfPkgIa32X64.dsc
> OvmfPkg/OvmfPkgX64.dsc
>
> All these platforms statically inherit PcdPciDisableBusEnumeration=FALSE
> from "MdeModulePkg.dec". Remove the the PCD and everything that depends on
> it from the PciHostBridgeLib instance. Namely, remove the logic that
> determines the root bridge apertures by (a) scanning the entire bus,
> device and function number space, and (b) parsing the BAR values that were
> pre-set by the Bhyve or Xen machinery.
>
> "XenSupport.c" used to be listed explicitly in "Maintainers.txt", remove
> it from that spot too.
>
> Cc: Andrew Fish <afish at apple.com>
> Cc: Ard Biesheuvel <ardb+tianocore at kernel.org>
> Cc: Jordan Justen <jordan.l.justen at intel.com>
> Cc: Leif Lindholm <leif at nuviainc.com>
> Cc: Michael D Kinney <michael.d.kinney at intel.com>
> Cc: Philippe Mathieu-Daudé <philmd at redhat.com>
> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2122
> Signed-off-by: Laszlo Ersek <lersek at redhat.com>
> ---
> OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf | 7 -
> Maintainers.txt | 1 -
> OvmfPkg/Library/PciHostBridgeLib/PciHostBridge.h | 13 -
> OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.c | 6 -
> OvmfPkg/Library/PciHostBridgeLib/XenSupport.c | 471 --------------------
> 5 files changed, 498 deletions(-)
Reviewed-by: Philippe Mathieu-Daude <philmd at redhat.com>
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#75773): https://edk2.groups.io/g/devel/message/75773
Mute This Topic: https://groups.io/mt/83110982/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list