]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
xhci: sideband: add api to trace sideband usage
authorGuan-Yu Lin <guanyulin@google.com>
Thu, 11 Sep 2025 14:20:15 +0000 (14:20 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Sep 2025 12:08:02 +0000 (14:08 +0200)
commitef82a4803aabaf623bfcae07981406f1386eabf9
tree2771bdc3efd0f2e5aa7fbc2e47dc2aba0d8b593f
parent7f70b89b2be66c03ddc76d3ad8aebeeec4a9c505
xhci: sideband: add api to trace sideband usage

The existing sideband driver only registers sidebands without tracking
their active usage. To address this, sideband will now record its active
usage when it creates/removes interrupters. In addition, a new api is
introduced to provide a means for other dirvers to fetch sideband
activity information on a USB host controller.

Signed-off-by: Guan-Yu Lin <guanyulin@google.com>
Link: https://lore.kernel.org/r/20250911142051.90822-4-guanyulin@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20250911142051.90822-4-guanyulin@google.com
drivers/usb/host/xhci-sideband.c
include/linux/usb/xhci-sideband.h