Skip to contentSkip to conversation

NTB bug fixes for 7.0

GIT PULL Merged Jon Mason 2 participants 2 messages Feb 21 NTB driver core

lore
Share & tools
lore

Jon Mason

author maintainer
#0 lore raw

Hello Linus,
Here is my PR for the v7.0 kernel. It includes fixes, cleanups, and support for a new Intel NTB. The patches have been in my tree for some time, though the tag is new. Please consider pulling them.

Thanks,
Jon

The following changes since commit 05f7e89ab9731565d8a62e3b5d1ec206485eeb0b:

Linux 6.19 (2026-02-08 13:03:27 -0800)

are available in the Git repository at:

https://github.com/jonmason/ntb tags/ntb-7.0

for you to fetch changes up to 8c1f92ca8bca3ce2d2c085571af89503bc7bc7c4:

NTB: ntb_transport: Use seq_file for QP stats debugfs (2026-02-20 17:31:55 -0500)

----------------------------------------------------------------
NTB updates include debugfs improvements, correctness fixes, cleanups, and new hardware support. ntb_transport QP stats are converted to seq_file, a tx_memcpy_offload module parameter is introduced with associated ordering fixes, and a debugfs queue name truncation bug is corrected. Additional fixes address format specifier mismatches in ntb_tool and boundary conditions in the Switchtec driver, while unused MSI helpers are removed and the codebase migrates to dma_map_phys(). Intel Gen6 (Diamond Rapids) NTB support is also added.

----------------------------------------------------------------
Baruch Siach (1):
NTB: epf: allow built-in build

Chu Guangqing (1):
ntb: migrate to dma_map_phys instead of map_page

Dave Jiang (1):
ntb: intel: Add Intel Gen6 NTB support for DiamondRapids

Dr. David Alan Gilbert (1):
NTB/msi: Remove unused functions

Koichiro Den (4):
NTB: ntb_transport: Remove unused 'retries' field from ntb_queue_entry
NTB: ntb_transport: Add 'tx_memcpy_offload' module option
NTB: ntb_transport: Fix too small buffer for debugfs_name
NTB: ntb_transport: Use seq_file for QP stats debugfs

Maciej Grochowski (3):
ntb: ntb_hw_switchtec: Fix shift-out-of-bounds for 0 mw lut
ntb: ntb_hw_switchtec: Fix array-index-out-of-bounds access
ntb: ntb_hw_switchtec: Increase MAX_MWS limit to 256

yangqixiao (1):
ntb/ntb_tool: correct sscanf format for u64 and size_t in tool_peer_mw_trans_write

 drivers/ntb/hw/epf/Kconfig             |   1 -
 drivers/ntb/hw/intel/ntb_hw_gen1.c     |  14 +-
 drivers/ntb/hw/intel/ntb_hw_gen4.c     |  22 ++-
 drivers/ntb/hw/intel/ntb_hw_gen4.h     |   2 +
 drivers/ntb/hw/intel/ntb_hw_intel.h    |   6 +
 drivers/ntb/hw/mscc/ntb_hw_switchtec.c |  14 +-
 drivers/ntb/msi.c                      |  64 --------
 drivers/ntb/ntb_transport.c            | 263 +++++++++++++++++++--------------
 drivers/ntb/test/ntb_tool.c            |   2 +-
 include/linux/ntb.h                    |  14 --
 10 files changed, 196 insertions(+), 206 deletions(-)