]> git.baikalelectronics.ru Git - kernel.git/commit
thunderbolt: Initialize after IOMMUs
authorMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 24 Sep 2018 10:20:45 +0000 (13:20 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2018 17:51:16 +0000 (10:51 -0700)
commitf7bf5cacd089fc7035cbe092572d2d08b79e1b47
tree171eb90974675c96882f8c2c8eca93339a01157f
parent8d380fdd09ec94040c1903ddb8474d0b61493180
thunderbolt: Initialize after IOMMUs

If IOMMU is enabled and Thunderbolt driver is built into the kernel
image, it will be probed before IOMMUs are attached to the PCI bus.
Because of this DMA mappings the driver does will not go through IOMMU
and start failing right after IOMMUs are enabled.

For this reason move the Thunderbolt driver initialization happen at
rootfs level.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/thunderbolt/nhi.c