]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[efi] Fall back to assuming identity mapping of MMIO address space
authorMichael Brown <mcb30@ipxe.org>
Fri, 30 Oct 2020 14:22:55 +0000 (14:22 +0000)
committerMichael Brown <mcb30@ipxe.org>
Fri, 30 Oct 2020 14:25:41 +0000 (14:25 +0000)
commit9b25f6e5cf517f426de80ede618398ef01e385f9
tree96e3e438148ed0270265b9b3564699498fa3cb54
parent16873703ddea2d64fac1809967ef5198b8764baa
[efi] Fall back to assuming identity mapping of MMIO address space

Some UEFI systems (observed with a Supermicro X11SPG-TF motherboard)
seem to fail to provide a valid ACPI address space descriptor for the
MMIO address space associated with a PCI root bridge.

If no valid descriptor can be found, fall back to assuming that the
MMIO address space is identity mapped, thereby matching the behaviour
prior to commit 27e886c ("[efi] Use address offset as reported by
EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL").

Debugged-by: Tore Anderson <tore@fud.no>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/interface/efi/efi_pci.c