mbox series

[0/3] thunderbolt: Notify userspace about tunneling events in the domain

Message ID 20250410125600.3074417-1-mika.westerberg@linux.intel.com (mailing list archive)
Headers show
Series thunderbolt: Notify userspace about tunneling events in the domain | expand

Message

Mika Westerberg April 10, 2025, 12:55 p.m. UTC
Hi all,

This series adds support to sending uevents to userspace about changes in
tunneling such as creation, removal and bandwidth related.  One intented
use-case for this is an upcoming USB-C daemon developed by Saranya that
then notifies user for example if there is not enough bandwidth for
DisplayPort requirements. We also added debug tools [1] support for these
(currently it just updates various screens on event but we are working on
add event log there too).

The Firmware Connection manager side is kind of limited though since there
are not that many notifications we get.

[1] https://github.com/intel/tbtools

Alan Borzeszkowski (3):
  thunderbolt: Introduce domain event message handler
  thunderbolt: Notify userspace about software CM tunneling events
  thunderbolt: Notify userspace about firmware CM tunneling events

 drivers/thunderbolt/domain.c  |  2 +-
 drivers/thunderbolt/icm.c     | 36 +++++++++++++-
 drivers/thunderbolt/tb.c      | 22 +++++++--
 drivers/thunderbolt/tb.h      | 13 +++++
 drivers/thunderbolt/tb_msgs.h |  1 +
 drivers/thunderbolt/tunnel.c  | 92 +++++++++++++++++++++++++++++++++--
 drivers/thunderbolt/tunnel.h  | 23 +++++++++
 7 files changed, 179 insertions(+), 10 deletions(-)