Skip to content

thunderbolt: Couple of improvements for USB4STREAM

Mika Westerberg linux-usb 1 version Applied

Status from this message: Applied to thunderbolt.git/next.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4thunderbolt: Do not WARN about already disabled interrupt on polled ringsdrivers/thunderbolt/nhi.c+13 -40 replies
2/4thunderbolt: Clean up ring interrupt register indexingdrivers/thunderbolt/nhi.c+22 -220 replies
3/4thunderbolt: Use shadow copy for ring interrupt maskdrivers/thunderbolt/nhi.c include/linux/thunderbolt.h+36 -210 replies
4/4thunderbolt: stream: Use polling with RX ringdrivers/thunderbolt/stream.c+73 -320 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] thunderbolt: Couple of improvements for USB4STREAM

Hi all,

This includes a few cleanups and then two improvements for USB4STREAM, useful when it is in the default "interrupt" mode. First one is to avoid read-modify-write on the interrupt mask path and second one is to use the same ->start_poll() mechanism that the Thunderbolt/USB4 networking driver uses.

Mika Westerberg (4):
thunderbolt: Do not WARN about already disabled interrupt on polled rings
thunderbolt: Clean up ring interrupt register indexing
thunderbolt: Use shadow copy for ring interrupt mask
thunderbolt: stream: Use polling with RX ring

 drivers/thunderbolt/nhi.c    | 104 ++++++++++++++++++++--------------
 drivers/thunderbolt/stream.c | 105 ++++++++++++++++++++++++-----------
 include/linux/thunderbolt.h  |   2 +
 3 files changed, 138 insertions(+), 73 deletions(-)
Signature · 1 line
2.50.1