So I somewhat blindly guessed that the "PCIe" address space block contained a PCIe Base Spec compliant configuration register space starting at base address 0x00.

I'm now printing a bunch of info about the root complex which seems plausible. But I need to figure out how to enumerate the link partner still.

Serial console log showing a bunch of register information and device IDs about the PCIe root complex
0

If you have a fediverse account, you can quote this note from your own instance. Search https://ioc.exchange/users/azonenberg/statuses/115651844411401601 on your instance and quote it. (Note that quoting is not supported in Mastodon.)