]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
thunderbolt: Don't create multiple DMA tunnels on firmware connection manager
authorAlan Borzeszkowski <alan.borzeszkowski@linux.intel.com>
Thu, 2 Oct 2025 12:37:22 +0000 (15:37 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 5 May 2026 11:53:46 +0000 (13:53 +0200)
commitcf0c38ee554c3e9062408cc3a38325483d52ecd0
tree20e3f83861328c9f843e494f1785596c4354cdc4
parenta8937f35cf39c39c64325aa84d0463d866850857
thunderbolt: Don't create multiple DMA tunnels on firmware connection manager

Firmware connection manager supports only one DMA tunnel per XDomain
connection. Firmware prior Intel Titan Ridge failed the operation
directly but the same does not happen anymore on Titan Ridge and
forward. For this reason add an explicit check, and fail the operation
accordingly in the driver.

Signed-off-by: Alan Borzeszkowski <alan.borzeszkowski@linux.intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/icm.c
drivers/thunderbolt/xdomain.c
include/linux/thunderbolt.h