mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mika Westerberg <mika.westerberg@linux.intel.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
	Josef Bacik <josef@toxicpanda.com>, stable <stable@kernel.org>,
	Andreas Noever <andreas.noever@gmail.com>,
	Mika Westerberg <westeri@kernel.org>,
	Yehezkel Bernat <YehezkelShB@gmail.com>,
	Alan Borzeszkowski <alan.borzeszkowski@linux.intel.com>
Subject: Re: [PATCH] thunderbolt: stream: Undo more if the start fails
Date: Tue, 27 Oct 2026 15:33:25 +0100	[thread overview]
Message-ID: <20261027143325.GJ158991@black.igk.intel.com> (raw)
In-Reply-To: <2026102751-nibble-synapse-d406@gregkh>

Hi,

On Tue, Oct 27, 2026 at 03:24:52PM +0100, Greg Kroah-Hartman wrote:
> From: Josef Bacik <josef@toxicpanda.com>
> 
> If the receive buffers cannot be allocated or mapped,
> tbstream_dev_start() stops and frees the rings, but
> 
>  - leaves the DMA paths through the XDomain connection enabled, with the
>    hop IDs of rings which no longer exist;
>  - does not release the frame array and the pages which
>    tbstream_dev_alloc_rx_buffers() had allocated and mapped before it
>    failed.
> 
> Fixes: 6db21d817b43 ("thunderbolt: Add support for USB4STREAM")
> Cc: stable <stable@kernel.org>
> Cc: Andreas Noever <andreas.noever@gmail.com>
> Cc: Mika Westerberg <westeri@kernel.org>

Do you want to take this directly via USB tree? Then,

Acked-by: Mika Westerberg (Intel) <westeri@kernel.org>

  reply	other threads:[~2026-10-27 14:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-27 14:24 Greg Kroah-Hartman
2026-10-27 14:33 ` Mika Westerberg [this message]
2026-10-27 14:42   ` Greg Kroah-Hartman

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=20261027143325.GJ158991@black.igk.intel.com \
    --to=mika.westerberg@linux.intel.com \
    --cc=YehezkelShB@gmail.com \
    --cc=alan.borzeszkowski@linux.intel.com \
    --cc=andreas.noever@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=josef@toxicpanda.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=stable@kernel.org \
    --cc=westeri@kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®