All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mika Westerberg <mika.westerberg@linux.intel.com>
To: linux-usb@vger.kernel.org
Cc: Yehezkel Bernat <YehezkelShB@gmail.com>,
	Lukas Wunner <lukas@wunner.de>,
	Andreas Noever <andreas.noever@gmail.com>,
	Alan Borzeszkowski <alan.borzeszkowski@linux.intel.com>,
	Mika Westerberg <mika.westerberg@linux.intel.com>
Subject: [PATCH 0/4] thunderbolt: More improvements to USB4STREAM
Date: Tue,  8 Sep 2026 10:14:45 +0200	[thread overview]
Message-ID: <20260908081449.3424884-1-mika.westerberg@linux.intel.com> (raw)

Hi all,

Alan noticed that in certain workloads with concurrent reader and writer
the stream could stall for a while. These below improvements should make it
behave better in these cases.

Mika Westerberg (4):
  thunderbolt: Write descriptors in tb_ring_poll()
  thunderbolt: Add tb_ring_poll_pending()
  thunderbolt: stream: Do not hold the lock while busy polling
  thunderbolt: stream: Check the Rx ring before task starts sleeping

 drivers/thunderbolt/nhi.c    | 26 ++++++++++++++++++++++++++
 drivers/thunderbolt/stream.c | 36 ++++++++++++++++++++++++++++--------
 include/linux/thunderbolt.h  |  1 +
 3 files changed, 55 insertions(+), 8 deletions(-)

-- 
2.50.1


             reply	other threads:[~2026-09-08  8:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-08  8:14 Mika Westerberg [this message]
2026-09-08  8:14 ` [PATCH 1/4] thunderbolt: Write descriptors in tb_ring_poll() Mika Westerberg
2026-09-08  8:14 ` [PATCH 2/4] thunderbolt: Add tb_ring_poll_pending() Mika Westerberg
2026-09-08  8:14 ` [PATCH 3/4] thunderbolt: stream: Do not hold the lock while busy polling Mika Westerberg
2026-09-08  8:14 ` [PATCH 4/4] thunderbolt: stream: Check the Rx ring before task starts sleeping Mika Westerberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260908081449.3424884-1-mika.westerberg@linux.intel.com \
    --to=mika.westerberg@linux.intel.com \
    --cc=YehezkelShB@gmail.com \
    --cc=alan.borzeszkowski@linux.intel.com \
    --cc=andreas.noever@gmail.com \
    --cc=linux-usb@vger.kernel.org \
    --cc=lukas@wunner.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.