]> git.baikalelectronics.ru Git - kernel.git/commit
thunderbolt: Serialize PCIe tunnel creation with PCI rescan
authorMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 18 Jan 2018 17:27:47 +0000 (20:27 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 9 Mar 2018 09:54:09 +0000 (12:54 +0300)
commit09392b5102178363724690d56cb56be62af1d65a
tree955b85170dd3bff301b2589f4b63bdd66d2db4a1
parentf57d4cde7b6a9694c486fb304ced896194139ee4
thunderbolt: Serialize PCIe tunnel creation with PCI rescan

We need to make sure a new PCIe tunnel is not created in a middle of
previous PCI rescan because otherwise the rescan code might find too
much and fail to reconfigure devices properly. This is important when
native PCIe hotplug is used. In BIOS assisted hotplug there should be no
such issue.

Fixes: 47b0cb545c3c ("thunderbolt: Add support for Internal Connection Manager (ICM)")
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: stable@vger.kernel.org
drivers/thunderbolt/switch.c