[PATCH 07/15] ARM: dove: use fixed PCI i/o mapping
Arnd Bergmann
arnd at arndb.de
Mon Jul 9 16:37:30 EDT 2012
On Monday 09 July 2012, Rob Herring wrote:
> Why use 1M when 64K is enough based on our prior conversations? The more
> we standardize the configuration, the more we can make common. I think
> the majority of the pci setup functions can be consolidated. It's really
> just data differences for the resource setup. I only used 1M alignment
> in case there were some alignment requirements in the h/w and it can't
> handle a starting pci bus address of 0x10000. I think it's just the
> Marvell parts that do this, so if anyone knowledgeable on those parts
> can comment it would help.
IIRC among the plat-orion platforms (dove, kirkwood, mv78xx0, orion), this
one is the only one where you use 64kb in the resource but 1MB for the
mapping, while in the other ones they are always the same. I agree that
the 64kb resource doesn't hurt, we should just be more consistent.
Arnd
More information about the linux-arm-kernel
mailing list