Can you use git send-email to send your patches? (Note the email
double-space strangeness below)

I don't think CorebootPayloadPkg should depend on DuetPkg.

Regarding the PciEnumeration issue, in OVMF we set
gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration to TRUE at
runtime for Xen to disable enumeration. Maybe CorebootPayloadPkg could
just set it as a fixed PCD to TRUE?

Regarding using DuetPkg/SataControllerDxe in CorebootPayloadPkg, well,
we tried to create a common module under PcAtChipsetPkg to share with
OVMF, but it was rejected.

The recommendation was to duplicate the code in OVMF:
http://permalink.gmane.org/gmane.comp.bios.tianocore.devel/9036

Shouldn't CorebootPayloadPkg then do something similar?

One unfortunate outcome of the SataControllerDxe discussion for OVMF
is that we still haven't managed to enable SATA in OVMF... But, I
think this is maybe because Reza got tired of trying to work with us.
:)

-Jordan

On 2015-05-08 09:02:11, Ma, Maurice wrote:
>    Current CorebootPayloadPkg uses PciHostBridge and PciBusNoEnumeration
> 
>    driver. It will cause the PCI bus resource incorrectly set in root
> 
>    bridge instance. As a result all PCI devices behind a PCI bridge will
> 
>    not show up in Shell 'PCI' command.
> 
>     
> 
>    To resolve it use PciRootBridgeNoEnumeration driver instead.
> 
>     
> 
>    Contributed-under: TianoCore Contribution Agreement 1.0
> 
>    Signed-off-by: Maurice Ma <maurice...@intel.com>
> 
>    ---
> 
>    CorebootPayloadPkg/CorebootPayloadPkg.fdf        | 2 +-
> 
>    CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc    | 2 +-
> 
>    CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc | 4 ++--
> 
>    3 files changed, 4 insertions(+), 4 deletions(-)
> 
>     
> 
>    diff --git a/CorebootPayloadPkg/CorebootPayloadPkg.fdf
>    b/CorebootPayloadPkg/CorebootPayloadPkg.fdf
> 
>    index a1e72e7..810dcb1 100644
> 
>    --- a/CorebootPayloadPkg/CorebootPayloadPkg.fdf
> 
>    +++ b/CorebootPayloadPkg/CorebootPayloadPkg.fdf
> 
>    @@ -110,7 +110,7 @@ INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
> 
>    #
> 
>    # PCI Support
> 
>    #
> 
>    -INF PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
> 
>    +INF DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf
> 
>    INF DuetPkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf
> 
>     
> 
>     #
> 
>    diff --git a/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc
>    b/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc
> 
>    index feae027..a661f5d 100644
> 
>    --- a/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc
> 
>    +++ b/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc
> 
>    @@ -312,7 +312,7 @@
> 
>       #
> 
>       # PCI Support
> 
>       #
> 
>    -  PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
> 
>    +  DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf
> 
>       DuetPkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf
> 
>       
> 
>       #
> 
>    diff --git a/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc
>    b/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc
> 
>    index d954666..ecd12fb 100644
> 
>    --- a/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc
> 
>    +++ b/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc
> 
>    @@ -313,8 +313,8 @@
> 
>      
> 
>       #
> 
>       # PCI Support
> 
>    -  #
> 
>    -  PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
> 
>    +  # 
> 
>    +  DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf
> 
>       DuetPkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf
> 
>       
> 
>       #
> 
>    --
> 
>    1.8.3.1
> 
>     
> 
>    Thanks
> 
>    Maurice

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to