[PATCH v3 11/12] ARM: mvebu: Relocate Armada 370 PCIe device tree nodes
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Wed Jun 19 03:15:35 EST 2013
Dear Arnd Bergmann,
On Tue, 18 Jun 2013 18:29:35 +0200, Arnd Bergmann wrote:
> To clarify my earlier comment, I think it would be nicer to write this as
>
> ranges =
> <0x82000000 0 0x40000 0xffff0001 0x40000 0 0x00002000
> 0x82000000 0 0x80000 0xffff0001 0x80000 0 0x00002000
> 0x82000000 1 0 MBUS_ID(0x12, 0x34) 0 1 0
> 0x82000000 2 0 MBUS_ID(0x13, 0x34) 0 1 0
> 0x81000000 1 0 MBUS_ID(0x12, 0x35) 0 0 0x10000;
> 0x81000000 2 0 MBUS_ID(0x13, 0x35) 0 0 0x10000>;
>
> The MBUS_ID numbers above are made up since I don't know them, but this way you can
> describe how the entire 4GB MMIO address space of the PCI bus is mapped into the
> MBUS address space.
This is *NOT* possible because we don't know in advance how much memory
space and I/O space each PCIe device will require.
Arnd, we've discussed this at length with you while getting the PCIe
driver merged, and we've explained this to you numerous times. Could
you please understand that *any* of your proposal that suggests writing
down static windows for PCIe devices will *not* work?
> Does this make sense?
Not at all. Please read once again the hundreds of e-mails we've
exchanged about the need for dynamic windows for PCIe devices, which
lead us to have the emulated PCI-to-PCI bridge stuff. I'm starting to
be fed up to re-explain this to you over-and-over again.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
More information about the devicetree-discuss
mailing list