Thread (22 messages) 22 messages, 8 authors, 2014-04-22

Re: [PATCH v5 2/4] arm64: dts: APM X-Gene PCIe device tree nodes

From: Jason Gunthorpe <hidden>
Date: 2014-03-26 16:35:32
Also in: linux-arm-kernel, linux-pci, lkml

On Wed, Mar 26, 2014 at 09:28:42AM -0500, Rob Herring wrote:
Where is the right place for config space? This binding has it here
and others have it in ranges. 
I think all the drivers in drivers/pci/host use 'reg', this was
discussed in the dt-bindings list and AFAIK no new drivers have used
ranges since it was brought up.
Given that config space type is defined for ranges, I would think
that is the right place. But Liviu's patches do not process config
space entries in ranges. Perhaps we need a config space resource
populated in the bridge struct.
When we talked about this earlier on the DT bindings list the
consensus seemed to be that configuration MMIO ranges should only be
used if the underlying memory was exactly ECAM, and was not to be used
for random configuration related register blocks.

The rational being that generic code, upon seeing that ranges entry,
could just go ahead and assume ECAM mapping.

Jason
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help