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 <af...@apple.com> > Cc: Ard Biesheuvel <ardb+tianoc...@kernel.org> > Cc: Jordan Justen <jordan.l.jus...@intel.com> > Cc: Leif Lindholm <l...@nuviainc.com> > Cc: Michael D Kinney <michael.d.kin...@intel.com> > Cc: Philippe Mathieu-Daudé <phi...@redhat.com> > Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2122 > Signed-off-by: Laszlo Ersek <ler...@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 <phi...@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/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-