On 18/06/14 02:48, Benjamin Herrenschmidt wrote:
On Wed, 2014-06-18 at 11:05 +1000, Dave Airlie wrote:
I don't think we ever ioremap GART, it should kmap GART pages, ioremap should only happen for VRAM areas AFAIK,
This isn't some 32-bit vs 36-bit BAR or something, I seem to remember BenH mentioning something like that before.
Yes, it's a recurring problem in the DRM with physical addresses that are bigger than 32-bit on 32-bit systems. There have been patches done to fix that but afaik never quite "completed". I can dig internally if I can put my hand onto something.
Thanks Ben, that would be much appreciated.
If possible at all, can you try to configure your SoC to bring the MMIO space of the PCIe within the bottom 32-bit of the chip address space ?
Will give it a try.
Thanks again,
Martyn