Hello, I'm bringing up EDK2 (technically Project Mu, but the parts I'm concerned about are pretty much the exact same as in base EDK2 so it should be mostly the same) on a platform (platforms repo here: https://github.com/AppleWOA/apple_silicon_platforms_mu, PciHostBridgeLib is in Silicon/Apple/AppleSiliconPkg/Library/AppleSiliconPciHostBridgeLib), and I'm having some trouble with the PCIe Host Bridge and the PciHostBridgeDxe. Following the example of JunoPkg in edk2-platforms, I'm making a PcieHostBridgeLib for my platform, but for some reason, it's assuming the address space granularity to be 32 bit (it should be in 64 bit address space as default, the platform i'm bringing up on does have a 32-bit aperture, but adding the translation to make that work in PciHostBridgeLib isn't working either, hitting an ASSERT in a base EDK2 component), which is causing the platform to do an invalid memory access. Is there a way I can set the host bridge's address space granularity and force it to be 64-bit? I tried defining the bridge in the DSDT, but it didn't seem to really have any effect, and looking at the base EDK2 PciHostBridgeDxe and PciBusDxe drivers seems to show that the address space granularity is defined when an autogenerated ACPI descriptor is made, so i'm not sure how I would safely change it. Any help would be appreciated. Boot log from DXE core onwards attached for convenience, part I'm concerned about is around when it says to SubmitResources for PciRoot(0x0) Thanks, Arminder -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#120026): https://edk2.groups.io/g/devel/message/120026 Mute This Topic: https://groups.io/mt/107528139/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-