Re: PCIe Hotplugging not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 09, 2011 at 03:24:00PM -0800, Anand Kanaginhal wrote:
> > Please make sure your pci hotplug driver is working first.  Try turning
> > on and off the power to the card slot (in the sysfs directory for the
> > slot) and see if that's working.
> When I do this, my driver probe and remove gets invoked. 

Then part of the pci hotplug controller driver is working, good.

> > You also have failed to say exactly what pci hotplug controller you have
> > in your system, what is it?  You have to have one, and the driver loaded
> > for it, for any of this to work at all.
> 
> We are using plx 8533 in our system,

What exactly is that?

> it hasnt provided controller driver for linux, however the support
> team insists that any hotplug controller driver which is compliant to
> PCI SIG, should work fine.My assumption was shpc in linux would work
> just fine. 

The PCI Hotplug SIG said that ACPI would be the way forward for "PCI"
hotplug capabilities.

For PCI Express, the pciehp driver should work for you, as that follows
the spec for PCI Express devices.

So it depends on your hardware, what pci hotplug driver do you have
loaded, and what does the kernel log messages say when you load it, and
then what does it say when you remove your device?

Remember, PCI devices are not supposed to be hot-removed, you have to
tell the OS ahead of time it is going to go away.  PCI Express is a bit
different, depending on the type of device (ExpressCard is allowed to be
removed without notifying the OS ahead of time, some other PCI Express
devices are not, see the spec for details.)

greg k-h
--
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


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux