summaryrefslogtreecommitdiffstats
path: root/drivers/thunderbolt/tb_msgs.h
diff options
context:
space:
mode:
authorMika Westerberg2018-09-28 15:30:16 +0200
committerMika Westerberg2019-04-18 10:18:53 +0200
commit3b4b3235ca5bf1b69ff15a269d9881b2604dd4fa (patch)
tree898f4be72c6341c783cbfcc23a0baca7500e9fd2 /drivers/thunderbolt/tb_msgs.h
parentthunderbolt: Run tb_xdp_handle_request() in system workqueue (diff)
downloadkernel-qcow2-linux-3b4b3235ca5bf1b69ff15a269d9881b2604dd4fa.tar.gz
kernel-qcow2-linux-3b4b3235ca5bf1b69ff15a269d9881b2604dd4fa.tar.xz
kernel-qcow2-linux-3b4b3235ca5bf1b69ff15a269d9881b2604dd4fa.zip
thunderbolt: Add XDomain UUID exchange support
Currently ICM has been handling XDomain UUID exchange so there was no need to have it in the driver yet. However, since now we are going to add the same capabilities to the software connection manager it needs to be handled properly. For this reason modify the driver XDomain protocol handling so that if the remote domain UUID is not filled in the core will query it first and only then start the normal property exchange flow. Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/thunderbolt/tb_msgs.h')
-rw-r--r--drivers/thunderbolt/tb_msgs.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/thunderbolt/tb_msgs.h b/drivers/thunderbolt/tb_msgs.h
index 02c84aa3d018..afbe1d29bb03 100644
--- a/drivers/thunderbolt/tb_msgs.h
+++ b/drivers/thunderbolt/tb_msgs.h
@@ -492,6 +492,17 @@ struct tb_xdp_header {
u32 type;
};
+struct tb_xdp_uuid {
+ struct tb_xdp_header hdr;
+};
+
+struct tb_xdp_uuid_response {
+ struct tb_xdp_header hdr;
+ uuid_t src_uuid;
+ u32 src_route_hi;
+ u32 src_route_lo;
+};
+
struct tb_xdp_properties {
struct tb_xdp_header hdr;
uuid_t src_uuid;