Re: Status of PCIe Hotplug?

2016-09-28 Thread Borja Marcos
> On 27 Sep 2016, at 17:51, Eric van Gyzen wrote: > > > To my knowledge, all the necessary PCIe-layer code is present. However, > that's just one layer: Many drivers will likely need changes in order > to cope with surprise removal of their devices. Thank you very

Re: Status of PCIe Hotplug?

2016-09-28 Thread Hans Petter Selasky
Hi, Can you compile your kernel with debugging enabled so that we get the sourcelines in the dump below. Also please include some parts of the preceeding dmesg. Do you have USB compiled into the kernel or loaded as a module? What does kldstat output after you plug the card? What is the

Re: Status of PCIe Hotplug?

2016-09-28 Thread Jan Henrik Sylvester
On 09/27/2016 17:51, Eric van Gyzen wrote: > In the case of Jan's USB 3.0 ExpressCard, it's possible that one or all > of the USB controller drivers (xhci, ehci, uhci) didn't cope with the > surprise removal of the controller. Before removing the card, try > detaching the driver(s) with "devctl

Re: Status of PCIe Hotplug?

2016-09-27 Thread Eric van Gyzen
On 09/27/2016 08:57, Borja Marcos wrote: > >> On 27 Sep 2016, at 15:48, Jan Henrik Sylvester wrote: >> >> On 09/27/2016 12:16, Borja Marcos wrote: >>> I have noticed that the GENERIC kernel in 11-STABLE includes the >>> PCI_HP option, and the hotplug bits seem to be present in the

Re: Status of PCIe Hotplug?

2016-09-27 Thread Borja Marcos
> On 27 Sep 2016, at 15:48, Jan Henrik Sylvester wrote: > > On 09/27/2016 12:16, Borja Marcos wrote: >> I have noticed that the GENERIC kernel in 11-STABLE includes the PCI_HP >> option, and the >> hotplug bits seem to be present in the kernel, but I don’t see any userland >>

Re: Status of PCIe Hotplug?

2016-09-27 Thread Jan Henrik Sylvester
On 09/27/2016 12:16, Borja Marcos wrote: > I have noticed that the GENERIC kernel in 11-STABLE includes the PCI_HP > option, and the > hotplug bits seem to be present in the kernel, but I don’t see any userland > support for it. > > Is it somewhat complete and in that case am I missing