[PATCH 1/2] pci: Add IORESOURCE_BIT entry for PCIe ECAM resources.

Grant Likely grant.likely at linaro.org
Mon Jun 2 08:09:45 PDT 2014


On Sat, 31 May 2014 20:41:04 +0200, Arnd Bergmann <arnd at arndb.de> wrote:
> On Saturday 31 May 2014 01:36:40 Liviu Dudau wrote:
> > We would like to be able to describe PCIe ECAM resources as
> > IORESOURCE_MEM blocks while distinguish them from standard
> > memory resources. Add an IORESOURCE_BIT entry for this case.
> > 
> > Signed-off-by: Liviu Dudau <Liviu.Dudau at arm.com>
> 
> I still don't see any value in this at all. What is the advantage
> of doing this opposed to just having a standardized 'reg' property
> for a particular compatible string?

I'm inclined to agree. It doesn't seem appropriate to put config space
in ranges, and the host controller binding is responsible for
identifying how config space is memory mapped.

g.



More information about the linux-arm-kernel mailing list