Github url: https://github.com/niruiyu/edk2/tree/XenOvmf
Maurice, The OVMF above Xen issue is similar to the Coreboot. The PCI bus enumeration is performed by non-UEFI code. OvmfPkg/PciHostBridgeLib scans the entire PCI bus to detect all the root bridges. Could you please check whether the code (especially the function ScanForBridges()) can also be used in Coreboot? So that Coreboot can directly use core PciHostBridgeDxe. Regards, Ray From: Ni, Ruiyu Sent: Monday, May 9, 2016 2:29 PM To: Gary Lin <g...@suse.com> Cc: edk2-devel@lists.01.org Subject: RE: [Patch 0/6] PciHostBridgeDxe: Bug fix and OVMF above Xen support Gary, Can you please check whether the patch can fix the OVMF above Xen issue? Regards, Ray >-----Original Message----- >From: Ni, Ruiyu >Sent: Monday, May 9, 2016 2:26 PM >To: edk2-devel@lists.01.org<mailto:edk2-devel@lists.01.org> >Cc: Ni, Ruiyu <ruiyu...@intel.com<mailto:ruiyu...@intel.com>> >Subject: [Patch 0/6] PciHostBridgeDxe: Bug fix and OVMF above Xen support > >The patch serials fix two bugs in PciHostBridgeDxe driver. >And it adds a new field in PCI_ROOT_BRIDGE structure to support OVMF above >Xen support. > >Ruiyu Ni (6): > MdeModulePkg/PciHostBridgeDxe: Don't miss prefetchable MMIO aperture > MdeModulePkg/PciHostBridgeDxe: Fix a Base/Limit comparing bug > OvmfPkg/PciHostBridgeLib: Set correct Base/Limit for absent resource > MdeModulePkg/PciHostBridgeLib: Add ResourceAssigned field > MdeModulePkg/PciHostBridgeDxe: Honor ResourceAssigned > OvmfPkg/PciHostBridgeLib: Scan for root bridges when running over Xen > > .../Bus/Pci/PciHostBridgeDxe/PciHostBridge.c | 96 +++- > .../Bus/Pci/PciHostBridgeDxe/PciRootBridge.h | 4 +- > .../Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c | 106 ++-- > MdeModulePkg/Include/Library/PciHostBridgeLib.h | 2 + > .../Library/PciHostBridgeLib/PciHostBridgeLib.c | 550 +++++++++++++++++++-- > .../Library/PciHostBridgeLib/PciHostBridgeLib.inf | 1 + > 6 files changed, 658 insertions(+), 101 deletions(-) > >-- >2.7.0.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel