]> git.itanic.dy.fi Git - linux-stable/commit
xhci: Expose segment numbers in debugfs
authorLukas Wunner <lukas@wunner.de>
Thu, 19 Oct 2023 10:29:13 +0000 (13:29 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Oct 2023 10:38:53 +0000 (12:38 +0200)
commit01e6e143a7fa7b82a69fd5cbd906c1686609cf90
tree18dd19ccbb66dd0b28b75b5e1813f0385c25a0f7
parent67ab841a177d3ea16cb2f30e517fdf0ad60afe8f
xhci: Expose segment numbers in debugfs

Ring segments have just been amended with a monotonically increasing
number.

To allow developers to inspect the segment numbers and ensure
correctness in particular after ring expansion, expose them in each
ring's "trbs" file in debugfs.

Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20231019102924.2797346-9-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-debugfs.c