drivers: pci: pcie_dw_common: add upper-limit to iATU
authorBen Dooks <ben.dooks@sifive.com>
Thu, 20 Oct 2022 15:51:09 +0000 (16:51 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 12 Dec 2022 19:03:11 +0000 (14:03 -0500)
commit4c56d75117341103388f001818a0a1f8f6c449f1
tree907f482d89dd275c1a5f7d20be10b2401a02bed9
parent1eaffe39583a784390d579c3ca9e06b58164f4d0
drivers: pci: pcie_dw_common: add upper-limit to iATU

The 4.6 spec added an upper 32bits to the ATU limit, and since this
driver is already assuming the unrolled feature added in the 4.8
specification this really should be set.

This is causing a bug with testing against the QEMU model as it
defaults the viewports to fully open and not setting this causes
the config viewport to become most of memory (obviously stopping
the emulated system working correctly)

Signed-off-by: Ben Dooks <ben.dooks@sifive.com>
drivers/pci/pcie_dw_common.c
drivers/pci/pcie_dw_common.h