[PATCH v3 11/12] ARM: mvebu: Relocate Armada 370 PCIe device tree nodes
Jason Gunthorpe
jgunthorpe at obsidianresearch.com
Wed Jun 19 12:53:48 EDT 2013
On Wed, Jun 19, 2013 at 02:11:58PM +0200, Arnd Bergmann wrote:
> > Mmm.. and why is this option acceptable?
>
> As I explained on IRC, there is no requirement to pick a specific bus
> aperture. The only two sensible choices are to make the bus address
> the same as the CPU address, or to make the bus address start at 0,
> which is what this does.
PCI bus addresses must not alias other addresess in the system or
you'll get weirdness. For instance DMA initiated from the PCI bus at
address 0, intended to read from SDRAM at 0 must not be claimed by
another device on the PCI bus. IMHO, a 1:1 mapping between PCI and CPU
is strongly preferred. Any other configuration will need some
additional techniques to avoid aliasing.
Jason
More information about the linux-arm-kernel
mailing list