On Tue, May 28, 2013 at 12:14 PM, Yinghai Lu <yinghai@xxxxxxxxxx> wrote: > On Tue, May 28, 2013 at 10:01 AM, Bjorn Helgaas <bhelgaas@xxxxxxxxxx> wrote: >> On Tue, May 28, 2013 at 6:05 AM, Paulo Fortuna Carvalho >> <pricardofc@xxxxxxxxxxxxxxx> wrote: >>> Hello Yinghai, >>> Here goes, in attached .zip file the commands output that you suggested. >> >> It looks like the part you're interested in is this: >> >> 00:03.0 bridge to [bus 03-1a] (Intel root port) >> 03:00.0 bridge to [bus 04-1a] (PLX 8733 upstream port) >> 04:08.0 bridge to [bus 05-1a] (PLX 8733 downstream port) >> 05:00.0 bridge to [bus 06-1a] (PLX 8696 upstream port) >> 06:07.0 bridge to [bus 0a] (PLX 8696 downstream port) >> 0a:00.0 endpoint (PLD Applications 6114) >> 06:0e.0 bridge to [bus 11] (PLX 8696 downstream port) >> 11:00.0 endpoint (PLD Applications 6014) >> >> I assume everything except the root port is on your ATCA card, and you >> want to hotplug the card as a whole. >> >> This would be handled by the hotplug controller in the 00:03.0 root >> port, using pciehp. > > that should not work. as pciehp will not be loaded for 00:03.0 with > following slot cap > SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug- Surpise- > Slot # 2, PowerLimit 25.000000; Interlock- NoCompl- Yep, true. > but 04:08.0, 06:04.0, 06:0c.0, 06:08.0 and 06:10.0 do have > SltCap: AttnBtn+ PwrCtrl+ MRL+ AttnInd+ PwrInd+ HotPlug+ Surpise- > Slot # 4, PowerLimit 25.000000; Interlock- NoCompl- > > problem is > 1. pciehp is not loaded for them. > 2. fpga are on 06:07.0 and 06:0e.0. > > If 04:08.0 pciehp could be loaded, the could use that hotplug to make > fpga working Oh, maybe the devices on the ATCA card start at 05:00.0, not at 03:00.0? If that's the case, then yes, getting pciehp to claim the hotplug service on 04:08.0 would be the right thing. Maybe you just don't have pciehp enabled, Paulo? -- 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