]> www.infradead.org Git - users/jedix/linux-maple.git/commit
thunderbolt: Notify userspace about firmware CM tunneling events
authorAlan Borzeszkowski <alan.borzeszkowski@linux.intel.com>
Mon, 20 Jan 2025 18:19:22 +0000 (19:19 +0100)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 24 Apr 2025 05:24:39 +0000 (08:24 +0300)
commit607063f08e5c5aca9a40015843952389126b6be1
tree750e14172e7139e7cf12c27ac53c625d368ad66b
parent785da9e6a1bd9e00d7494e37cbca2f66e48375b8
thunderbolt: Notify userspace about firmware CM tunneling events

In the same way we do for software connection manager, send
notifications about tunneling changes done by the firmware connection
manager as well. There are some limitations with this though, for
example we only get "DP Configuration Changed" message from the firmware
without any indication if DisplayPort tunnel was activated or
deactivated. Also we don't get information about the tunnel itself
either so the event then looks like:

  TUNNEL_EVENT=changed
  TUNNEL_DETAILS=(DP)

XDomain connections are similar to what the software connection manager
sends.

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/tb_msgs.h