From mboxrd@z Thu Jan 1 00:00:00 1970 From: thierry.reding@avionic-design.de (Thierry Reding) Date: Fri, 28 Dec 2012 22:06:22 +0100 Subject: [RFC v1] PCIe support for the Armada 370 and Armada XP SoCs In-Reply-To: <20121222155040.61829b00@skate> References: <20121214151045.GA22304@avionic-0098.adnet.avionic-design.de> <20121214172729.GA7671@obsidianresearch.com> <20121216123340.GB31780@avionic-0098.adnet.avionic-design.de> <20121217182911.GA10448@obsidianresearch.com> <20121217194147.GA2767@avionic-0098.adnet.avionic-design.de> <50CFD0B3.6030208@wwwdotorg.org> <20121218025113.GA27029@obsidianresearch.com> <50D0A1EA.9090009@wwwdotorg.org> <20121220153231.GA11256@avionic-0098.adnet.avionic-design.de> <20121222155040.61829b00@skate> Message-ID: <20121228210622.GA4519@avionic-0098.adnet.avionic-design.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Sat, Dec 22, 2012 at 03:50:40PM +0100, Thomas Petazzoni wrote: > Dear Thierry Reding, > > On Thu, 20 Dec 2012 16:32:31 +0100, Thierry Reding wrote: > > > The complete code can be found in my tegra/next branch[0]. Beware that I > > haven't cleaned up that branch in a while, so anything but looking at > > the end result is not very recommended =). The branch contains patches > > (untested) to make Harmony and TrimSlice initialize the PCIe from the > > device tree, so anyone inclined to give this a spin should be able to do > > so. If you want to try out the software emulated host bridge, you can > > just uncomment the "#define EMULATE_HOST_BRIDGE 1" at the top of > > arch/arm/mach-tegra/pcie.c. > > Thanks for putting your code online. I've started using it already for > the Marvell PCIe support, at least the host-bridge.c helpers you've > written, and also to have a look at the DT binding you've implemented. That's great. I've been thinking about this some more and one problem we'll be facing is that none of the fake host bridges actually exist and therefore don't have any official PCI IDs. What I did for Tegra was just choose one of the nForce IDs, but that's obviously hackish. One solution would be to convince somebody benevolent to sponsor an ID for this particular purpose. I think Red Hat did so for Virtio. Thierry -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: not available URL: