]> asedeno.scripts.mit.edu Git - linux.git/commit
thunderbolt: Add support for full PCIe daisy chains
authorMika Westerberg <mika.westerberg@linux.intel.com>
Sun, 30 Dec 2018 19:34:08 +0000 (21:34 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 18 Apr 2019 08:18:53 +0000 (11:18 +0300)
commit99cabbb006f1eb509e8bbc88c020c806017ed582
tree58f38a31778b78b785d8f42e126b11373892875f
parent0414bec5f39a3c73fa56474b1bcd899101c2727d
thunderbolt: Add support for full PCIe daisy chains

Currently the software connection manager (tb.c) has only supported
creating a single PCIe tunnel, no PCIe device daisy chaining has been
supported so far. This updates the software connection manager so that
it now can create PCIe tunnels for full chain of six devices.

Because PCIe allows DMA and opens possibility for DMA attacks we change
security level to "user" meaning that PCIe tunneling requires that the
userspace authorizes the devices first. This makes it possible to block
PCIe tunneling completely while still allowing other types of tunnels to
be automatically created.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/tb.c
drivers/thunderbolt/tb.h