Yes.
The OVMF above Xen is so hard to setup. So I simulate a test case in normal 
OVMF.
Please revert the "test" commit when you check out this branch.
It's not a complete test case.

Regards,
Ray

>-----Original Message-----
>From: edk2-devel [mailto:[email protected]] On Behalf Of Gary Lin
>Sent: Monday, May 9, 2016 3:02 PM
>To: Ni, Ruiyu <[email protected]>
>Cc: [email protected]
>Subject: Re: [edk2] [Patch 0/6] PciHostBridgeDxe: Bug fix and OVMF above Xen 
>support
>
>On Mon, May 09, 2016 at 06:33:40AM +0000, Ni, Ruiyu wrote:
>> Github url: https://github.com/niruiyu/edk2/tree/XenOvmf
>>
>Hi Ray,
>
>There is one "test" commit remaining in the branch :)
>
>Gary Lin
>
>> 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 <[email protected]>
>> Cc: [email protected]
>> 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: [email protected]<mailto:[email protected]>
>> >Cc: Ni, Ruiyu <[email protected]<mailto:[email protected]>>
>> >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
>> [email protected]
>> https://lists.01.org/mailman/listinfo/edk2-devel
>>
>_______________________________________________
>edk2-devel mailing list
>[email protected]
>https://lists.01.org/mailman/listinfo/edk2-devel
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to