On Mon, May 28, 2018 at 03:47:49PM +0300, Mika Westerberg wrote: > When Thunderbolt host router is configured to be in native enumeration mode > it is only present in the system if there is something connected to the > ports. This pretty much follows how the BIOS assisted mode works. > > In native enumeration mode the Thunderbolt host controller (NHI) and USB > host controller (xHCI) are not hot-added using native PCIe hotplug but > instead they will be hotplugged via BIOS triggered ACPI Notify() to the > root port. This is done to preserve resources since NHI and xHCI only need > 1 MB of MMIO space and no additional buses. Currently Linux does not > support this very well and ends up failing the hotplug in one way or > another. More detailed explanation is in changelog of patch [4/7]. > > This series fixes this issue and in addition includes fixes for few other > issues found during testing on a system that has Thunderbolt controller in > native PCIe enumeration mode. However, the fixes here are not in any way > Thunderbolt specific and should be applicable to other systems as well. I applied all these on pci/hotplug for v4.18. Thanks for your help and patience! I reordered some things and tweaked some changelogs, so let me know if I broke anything. I'll put this into -next as soon as the 0-day robot builds it. Bjorn