Benjamin Herrenschmidt wrote: > On Mon, 2008-12-01 at 13:08 +0200, Felix Radensky wrote: > >> and I'm afraid it can take me some time to move from 2.6.26 to 2.6.28. >> Any chance I can backport you modifications to 2.6.26 ? Have you >> modified >> other files except arch/powerpc/sysdev/ppc4xx_pci.c to fix these >> problems ? >> >> > > Yes, quite a few changes in the PCI layer etc... > > Board support changes shouldn't be too hard to port over tho, it depends > how you did them. > I've managed to run 2.6.28-rc6 on this platform, it was not that difficult after all. I only had to remove PCIX and PCIE0 from Canyonlands DTS, as they are not used on this board. However this did not solve my problem. Below are relevant bits from dmesg PCIE1: Checking link... PCIE1: Device detected, waiting for link... PCIE1: link is up ! PCI host bridge /plb/pciex@d20000000 (primary) ranges: MEM 0x0000000e80000000..0x0000000effffffff -> 0x0000000080000000 IO 0x0000000f80010000..0x0000000f8001ffff -> 0x0000000000000000 4xx PCI DMA offset set to 0x00000000 PCIE1: successfully set as root-complex PCI: Probing PCI hardware PCI: Hiding 4xx host bridge resources 0000:80:00.0 pci 0000:81:00.0: disabling ASPM on pre-1.1 PCIe device. You can enable it with 'pcie_aspm=force' pci 0000:80:00.0: PCI bridge, secondary bus 0000:81 pci 0000:80:00.0: IO window: disabled pci 0000:80:00.0: MEM window: 0x80000000-0x800fffff pci 0000:80:00.0: PREFETCH window: disabled bus: 80 index 0 io port: [0x00-0xffff] bus: 80 index 1 mmio: [0xe80000000-0xeffffffff] bus: 81 index 0 mmio: [0x0-0xfff] bus: 81 index 1 mmio: [0xe80000000-0xe800fffff] bus: 81 index 2 mmio: [0x0-0x0] bus: 81 index 3 mmio: [0x0-0x0] The application code that mmaps PCI memory is attached. The attempt to access /sys/bus/pci/devices/0000:81:00.0/resource0 results in I/O error. The device in question is Mellanox Infiniband switch. I will gladly test any other ideas you may have. Felix. > Cheers, > Ben. > > > _______________________________________________ > Linuxppc-embedded mailing list > Linuxppc-embedded@ozlabs.org > https://ozlabs.org/mailman/listinfo/linuxppc-embedded >