[PATCH v2 19/28] ARM: Add fixed PCI i/o mapping

Russell King - ARM Linux linux at arm.linux.org.uk
Thu Mar 1 09:08:17 EST 2012

On Thu, Mar 01, 2012 at 01:52:35PM +0000, Arnd Bergmann wrote:
> Ok. I've looked up the manual for IOP134x and it's very clear there that
> it has only two 64k I/O windows but no more (developer manual, sections
> and Limiting the virtual space to 64k would result in
> seeing only one of the buses, but 1 MB is enough if we map both buses
> in there.

I think it was the 80312, and the manual does limit the window to 64k.

I did try shifting the PCI bus IO base for outbound transactions to
zero, and although the PCI BAR setup and bridge setup was correct, the
peripherals would not respond.  (That's because I've always hated the
way these buses are setup, mapping their PCI spaces at the physical
address location.)

I came to the conclusion that there was an undocumented problem which
meant that it doesn't work.

More information about the linux-arm-kernel mailing list