[edk2-devel] UefiPayloadPkg: assert error in PciHostBridgeDxe

King Sumo kingsumos at gmail.com
Wed May 12 10:43:07 UTC 2021


For anyone having this issue,the below patch detects the error in PciHostBridge aperture, from 9elements github repository: https://github.com/9elements/edk2-1/commit/6be829a631e3e0e7f6043c88cfef33f9a0588298

also available in system76 repo: https://github.com/system76/edk2.git

commit cf6caab535e84e5d3b3f1462d7ad57c7a914a5b8
Author: Patrick Rudolph <patrick.rudolph at 9elements.com>
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 at 9elements.com>


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#75068): https://edk2.groups.io/g/devel/message/75068
Mute This Topic: https://groups.io/mt/75269502/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/edk2-devel-archive/attachments/20210512/381039ea/attachment.htm>


More information about the edk2-devel-archive mailing list