On Wed, Sep 09, 2009 at 05:20:44PM +0200, Stefano Tebaldi wrote: > Hi all, > > I will have to work with a board (SoC) with an ARM926EJ-S and several > peripherals including a PCIe core that can act either as RC or EP > > I have to run on it Linux Kernel 2.6.19 or higher and I can start from > a porting done for another similar board with the same ARM (but > without PCIe) > > Unfortunately at the moment I have not the board yet and in the > meanwhile I am doing some study and analysis activity. In the case of > PCIe RC mode, I am wondering which activities I will have to do on > Linux internals and PCI/PCIe Linux subsystem, in particular on the > PCIe port driver (pcieport-driver in linux/drivers/pci/pcie). I can't > understand if it is suitable for any Root Complex device or I will > have to write a specific driver. In my case the PCIe Root Complex is > delivered from Synopsys and is not a typical Intel PCI Express port > that can be find on a normal PC Use the other RISC architectures for inspiration. They have the same problem. I wrote the PCI support for PARISC for two different PCI (not PCIe) Host Bus controllers. See drivers/parisc/dino.c and lba_pci.c. I'll warn that lba_pci.c doesn't support PCI-PCI bridges correctly and it's been on my TODO list for more than a year. So consider the code from Alpha, ARM, IA64, or SPARC to compare against. IA64 does support PCIe on several chipsets and is probably a good starting point. hth, grant > any suggestions / indication ? > > thank you very much > > Stefano > -- > To unsubscribe from this list: send the line "unsubscribe linux-pci" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html