[PATCH v2 00/14] NTB: ntb_transport: Miscellaneous fixes

From: Koichiro Den

Date: Thu Sep 10 2026 - 00:15:23 EST


Hi,

This series attempts to fix miscellaneous issues in ntb_transport. Some
of these were split from the direct TX/RX series v1 [1], as they stand
on their own. Based on v7.3-rc2.

Dave, could you please review this series and ack if it looks good to
you?

[1] https://lore.kernel.org/r/20260810165136.2292436-1-den@xxxxxxxxxxxxx/
(The v2 of [1] will be based off of this series to avoid conflicts.)

Best regards,
Koichiro
---
Changes in v2:
- Address Sashiko feedback, including regressions introduced by v1,
with new patches 5 and 10.
Note that to keep the series manageable, this revision does not
attempt to fix all the reported pre-existing issues.
- Add a fix for client removal ordering (patch 14).
- Reorder patches, moving v1 patch 4 after the fixes it depends on.
- Add missing Cc: stable@xxxxxxxxxxxxxxx.

v1: https://lore.kernel.org/r/20260907142429.951930-1-den@xxxxxxxxxxxxx/


Koichiro Den (14):
NTB: ntb_transport: Remove the device debugfs directory
NTB: ntb_transport: Start TX offload thread after queue setup
NTB: ntb_transport: Avoid deadlock when cancelling link work
NTB: ntb_transport: Publish link state after QP setup
NTB: ntb_transport: Avoid losing QP link-up requests
NTB: ntb_transport: Clear link state before QP cleanup
NTB: ntb_transport: Stop QP work before freeing a queue
NTB: ntb_transport: Stop RX tasklet scheduling before freeing a queue
NTB: ntb_transport: Drain RX tasklets during link cleanup
NTB: ntb_transport: Wait for RX completions before resetting a QP
NTB: ntb_transport: Prepare remote RX info accesses for MW teardown
NTB: ntb_transport: Clear QP pointers when freeing an MW
NTB: ntb_transport: Abort link setup on QP MW allocation failure
NTB: ntb_transport: Remove clients before freeing transport resources

drivers/ntb/ntb_transport.c | 232 +++++++++++++++++++++++++-----------
1 file changed, 163 insertions(+), 69 deletions(-)

base-commit: df2908090cda368b01ff43709f51890076c56157
--
2.51.0