diff options
author | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2018-05-14 18:47:50 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-05-26 12:46:50 -0400 |
commit | 52ba907328ec069ff1cec6cbe659f1714c68ed33 (patch) | |
tree | 50d60d713e2146e3b558d1dd5f35f17cdde51d4a /configs/rsk7203_defconfig | |
parent | 2a8e80dfcede89b5f7c6dddc5d3336f3282a6d36 (diff) |
PCI: dm: Ignore 64-bit memory regions if CONFIG_SYS_PCI_64BIT not set
Currently, qemu_arm_defconfig and qemu_arm64_defconfig only work with
the 'highmem=off' parameter passed to QEMU's virt machine. The reason is
that when 'highmem' is not disabled, QEMU appends 64-bit a memory
resource to the PCI controller's regions property in DT in addition to
the 32-bit PCI memory window in low memory. And the current DT parsing
code picks the last (thus the 64-bit one) memory resource, whose address
eventually gets silently truncated to 32 bits because
CONFIG_SYS_PCI_64BIT is not set, which obviously causes PCI to break.
Avoid this problem by ignoring memory regions whose addresses are above
the 32-bit boundary when CONFIG_SYS_PCI_64BIT is not set.
Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'configs/rsk7203_defconfig')
0 files changed, 0 insertions, 0 deletions