Linux PCI Non-Transparent Bridge framework and drivers
 help / color / mirror / Atom feed
* [PATCH v4 00/15] NTB: ntb_transport: Miscellaneous fixes
@ 2026-11-27  2:05 Koichiro Den
  2026-11-27  2:05 ` [PATCH v4 01/15] NTB: ntb_transport: Remove the device debugfs directory Koichiro Den
                   ` (14 more replies)
  0 siblings, 15 replies; 18+ messages in thread
From: Koichiro Den @ 2026-11-27  2:05 UTC (permalink / raw)
  To: Jon Mason, Dave Jiang, Allen Hubbe, Frank Li, Logan Gunthorpe
  Cc: fuyuanli, Greg Kroah-Hartman, Nicholas Bellinger, Joey Zhang, ntb,
	linux-kernel, stable

This series attempts to fix miscellaneous issues in ntb_transport.

Jon, ntb-next has moved forward, so I've rebased this series onto its
latest tip. The rebase was conflict-free and needed no code changes.
I've also updated a comment in patch 6 as Logan suggested.

Please consider picking this up for ntb-next.

Best regards,
Koichiro
---
Changes in v4:
  - Rebase onto the current ntb-next.
  - Clarify the memory-barrier comment in patch 6. (Logan)
  - Collect Reviewed-by tags from v3. Thanks for reviewing!

Changes in v3:
  - Convert flags to atomic_t in a new prep patch. (Frank)
  - Drop the redundant TX credit assertion. (Sashiko)
  - Collect Reviewed-by tags. Thanks to Frank, Logan and Dave.

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@vger.kernel.org.

v3: https://lore.kernel.org/r/20260928152550.3354675-1-den@valinux.co.jp/
v2: https://lore.kernel.org/r/20260910040836.3792333-1-den@valinux.co.jp/
v1: https://lore.kernel.org/r/20260907142429.951930-1-den@valinux.co.jp/


Koichiro Den (15):
  NTB: ntb_transport: Remove the device debugfs directory
  NTB: ntb_transport: Start TX offload thread after queue setup
  NTB: ntb_transport: Make link setup flags atomic
  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 | 245 ++++++++++++++++++++++++------------
 1 file changed, 168 insertions(+), 77 deletions(-)


base-commit: 0aa2e6bc39f17e1199345aaf21278e3ea25e6036
-- 
2.54.0


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2026-11-27  2:24 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-27  2:05 [PATCH v4 00/15] NTB: ntb_transport: Miscellaneous fixes Koichiro Den
2026-11-27  2:05 ` [PATCH v4 01/15] NTB: ntb_transport: Remove the device debugfs directory Koichiro Den
2026-11-27  2:05 ` [PATCH v4 02/15] NTB: ntb_transport: Start TX offload thread after queue setup Koichiro Den
2026-11-27  2:05 ` [PATCH v4 03/15] NTB: ntb_transport: Make link setup flags atomic Koichiro Den
2026-11-27  2:05 ` [PATCH v4 04/15] NTB: ntb_transport: Avoid deadlock when cancelling link work Koichiro Den
2026-11-27  2:05 ` [PATCH v4 05/15] NTB: ntb_transport: Publish link state after QP setup Koichiro Den
2026-11-27  2:05 ` [PATCH v4 06/15] NTB: ntb_transport: Avoid losing QP link-up requests Koichiro Den
2026-11-27  2:05 ` [PATCH v4 07/15] NTB: ntb_transport: Clear link state before QP cleanup Koichiro Den
2026-11-27  2:05 ` [PATCH v4 08/15] NTB: ntb_transport: Stop QP work before freeing a queue Koichiro Den
2026-11-27  2:05 ` [PATCH v4 09/15] NTB: ntb_transport: Stop RX tasklet scheduling " Koichiro Den
2026-11-27  2:05 ` [PATCH v4 10/15] NTB: ntb_transport: Drain RX tasklets during link cleanup Koichiro Den
2026-11-27  2:05 ` [PATCH v4 11/15] NTB: ntb_transport: Wait for RX completions before resetting a QP Koichiro Den
2026-11-27  2:05 ` [PATCH v4 12/15] NTB: ntb_transport: Prepare remote RX info accesses for MW teardown Koichiro Den
2026-11-27  2:21   ` sashiko-bot
2026-11-27  2:05 ` [PATCH v4 13/15] NTB: ntb_transport: Clear QP pointers when freeing an MW Koichiro Den
2026-11-27  2:24   ` sashiko-bot
2026-11-27  2:05 ` [PATCH v4 14/15] NTB: ntb_transport: Abort link setup on QP MW allocation failure Koichiro Den
2026-11-27  2:05 ` [PATCH v4 15/15] NTB: ntb_transport: Remove clients before freeing transport resources Koichiro Den

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox