diff options
| author | Josef Bacik <josef@toxicpanda.com> | 2026-10-27 15:24:52 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-10-29 11:10:38 +0100 |
| commit | 03e3c33fe074ba57ae4457894fe5b6a90e3be6ee (patch) | |
| tree | 9e0b2d823a80300750afad8f457b7fa4a25704ae /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 61575534fb05d52d36979f38976ece74649f091a (diff) | |
thunderbolt: stream: Undo more if the start fails
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>
Cc: Yehezkel Bernat <YehezkelShB@gmail.com>
Cc: Alan Borzeszkowski <alan.borzeszkowski@linux.intel.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Acked-by: Mika Westerberg (Intel) <westeri@kernel.org>
Link: https://patch.msgid.link/2026102751-nibble-synapse-d406@gregkh
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
