address translation for PCIe-to-localbus bridge
Grant Likely
grant.likely at secretlab.ca
Tue Nov 12 03:51:17 EST 2013
On Tue, 12 Nov 2013 08:05:12 +0100, Thomas Petazzoni <thomas.petazzoni at free-electrons.com> wrote:
> Dear Grant Likely,
>
> On Mon, 11 Nov 2013 15:50:50 +0000, Grant Likely wrote:
>
> > > So the mbus would register an address xlate for its node that is
> > > called instead of ranges parsing. For the example in my last message
> > > the FPGA driver would register an xlate that made addresses relative
> > > to its own BAR0 address.
> >
> > There are already bus-specific transations available. Take a look at
> > struct of_bus in drivers/of/address.c
>
> Hum, right, but unless I'm wrong the of_busses[] array of struct of_bus
> is fixed in drivers/of/address.c, and as it is, there is no way for a
> specific bus driver to provide its own struct of_bus. So that would
> need to be extended, right?
Yes... or embed what you need in drivers/of/address.c for the time
being.
g.
More information about the linux-arm-kernel
mailing list