Re: UefiPayloadPkg: assert error in PciHostBridgeDxe

King Sumo

For anyone having this issue,the below patch detects the error in PciHostBridge aperture, from 9elements github repository:
also available in system76 repo:
commit cf6caab535e84e5d3b3f1462d7ad57c7a914a5b8
Author: Patrick Rudolph <patrick.rudolph@...>
Date: Mon Oct 12 07:55:44 2020 -0600
UefiPayloadPkg/Library/PciHostBridgeLib: Add warning for coreboot/EDK2 incompability
EDK2 expects PCI bars to be continously be allocated without "gaps" of reserverd
memory in between.
coreboot places PCI bars anyware in the PCI MMIO space, interleaved with MMCONF
and reserved I/O MMIO space.
Warn about this behaviour and refuse to add the BAR to the PCI aperature as it would
cause the PciHostBridgeDxe fo fail.
Signed-off-by: Patrick Rudolph <patrick.rudolph@...>

Join to automatically receive all group messages.