From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qv1-f45.google.com (mail-qv1-f45.google.com [209.85.219.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8701A21ABC1 for ; Sat, 21 Feb 2026 15:41:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771688466; cv=none; b=orstkcNaQ8ntcCQ10Fzg9fJ6SMKeRrfjmvOJ6jYN6EPLAj3pw4J7rkkclNGOSTt0ufA/x+aWW0I/PvRSWzN681kaQBPfv9U6js/UDdQ75RO4CvardLdJhZ/pz3PsbxX8x/QsyTJ2OLQsREV5D0i2aid2DGD8tEhy9CrmuvK85AE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771688466; c=relaxed/simple; bh=4NTgRmqq2U4qNp0PI5vdZcsHC3S/a4dzR6pQ+24UP1s=; h=From:Date:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=eRjYa7FYa3X0npEAxFRY5wl8HHhJ+7dso5dVkAXWL1r2/mBCPdnzYyR75krpdJkb1vJsXRHMBqptLOJb0p9wVeHezqGPCxxVydiE+6mqmxNxuM+WLXolAdSnzW0wA+st/7EMUJCEqtg3XxDZuUHO8R/1in11UZwIEztg/iXAixA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kudzu.us; spf=none smtp.mailfrom=kudzu.us; dkim=pass (2048-bit key) header.d=kudzu-us.20230601.gappssmtp.com header.i=@kudzu-us.20230601.gappssmtp.com header.b=zdaI1nPH; arc=none smtp.client-ip=209.85.219.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kudzu.us Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=kudzu.us Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kudzu-us.20230601.gappssmtp.com header.i=@kudzu-us.20230601.gappssmtp.com header.b="zdaI1nPH" Received: by mail-qv1-f45.google.com with SMTP id 6a1803df08f44-8947e6ffd20so32367976d6.1 for ; Sat, 21 Feb 2026 07:41:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kudzu-us.20230601.gappssmtp.com; s=20230601; t=1771688464; x=1772293264; darn=vger.kernel.org; h=content-disposition:mime-version:message-id:subject:cc:to:date:from :from:to:cc:subject:date:message-id:reply-to; bh=QRd7Y7PXPI3j682bYmHeBpE+1SaErlUd/rhgBEUU+NY=; b=zdaI1nPHZPfE1JISRQUVHwPVcPWHzZkm0FslJ4yyxBaIdiJGzt2/Af5BhmdXH8nh05 vHq96qAAZBH7vnMK7zXuq4HlugmNw6iYLueoKhb/3HBXB/3s421/vtHSyaIMzFzMVpEk vYxU1X7nGa1Snad5i7fMl5Yte3dlmfun/QbVvXeLfEusSjOnFLChDLQOSsdUry6yrVYX Lg9aU0+itvwt3YElxi3h5syqwHIAp6ETYgxtB8xFclp+wo+txQ1d5VJDYIs0FYB+hsAr c8DksRJXYAAFrMKtj6Tef7fTm26tLjDONdT4WYRig1N0aE8dbhtzHsYix4Mm/oCcENK9 zwqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771688464; x=1772293264; h=content-disposition:mime-version:message-id:subject:cc:to:date:from :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=QRd7Y7PXPI3j682bYmHeBpE+1SaErlUd/rhgBEUU+NY=; b=D3UzwCpNdzV55Bf0h+oE8Toac1DMjPTvd9wTqaJO0GyIZgM8G4txJofZKeZH8Y27BV ZWmrmRy1noSg0CRc127wJoYGna1JO/BMAvfg5rhhV2AAlBgqco+3I+scmgiUihZGFfy/ 1KG8KpVsA0KrnYQc7m0BWvIvD7/OjsziO05JNlj8LBrHWoh2jcpPdrqsOzxgh3XcFznV d+VnHcyFHwu5bpO3ZQ4hUSBhwyED9yW64hADHGAfEEQW/1Z9VFOHt0Ix1VH7NlgYCvim 2MoKpYG/Le6r5DqqSGCja6x5OeS72HfK2BshQVOb+x1bIZEMoVTt1rhmf/4re+rGE57P QpiA== X-Gm-Message-State: AOJu0Yx5Uf6oubW8JdI8z0xwV+AAKQDfnOzisa7uOzkNkD9+AUdc7nhh aqCvlkhAQrGBqkCHiGm0bPUYKpsc+LArxIDAFmyanCjkD8f4oF59N5s/2s423r0lZA== X-Gm-Gg: AZuq6aLxd1PVShXTesnue01ZX6gbWvwTtti08A/XxmGNQNxhYHUHn2ZNYhyX9MAyF5p JrW5kYGBm/nNf3nJ/FUXqFBf1meDryPDWrbNwmP8PGSfjwYe9dJJmyqSaDt4JKPEADo0k14++JU Wd6YdXj8Pgh6I4WEa718P+9Sx6wjXfqn0sTT/b1SBX3eIMbOCQpZbUPdoRAsprSuQQUiaoPoD02 cAnZcd6Nz9TpEmg8N/S3xXHYboa+DKzTHNb4uMumgMSELNYWQ2emzF8Tfm9WXHege10iJIhJJKY yUUySeVlQklYSBrSKuz6uzVVjlkVUpSd7o8+0jPDfdgcHfpMeFAaL1+2eTsWfVhkjEpeAYBCIAv joZD8TeXCy+M4ugy03VdlAttXCytv7meqs+ie4RdNIcaj1jVoAkiY0Q9JWO/JbgG8Pa1YzDHiIc j+jjwwS04jZxSu X-Received: by 2002:ad4:5e8e:0:b0:896:fb02:e3fc with SMTP id 6a1803df08f44-89979ecb5ffmr49176416d6.38.1771688464221; Sat, 21 Feb 2026 07:41:04 -0800 (PST) Received: from localhost ([136.56.27.188]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-8997e243147sm19632616d6.28.2026.02.21.07.41.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Feb 2026 07:41:03 -0800 (PST) From: Jon Mason X-Google-Original-From: Jon Mason Date: Sat, 21 Feb 2026 10:40:59 -0500 To: torvalds@linux-foundation.org Cc: linux-kernel@vger.kernel.org, ntb@lists.linux.dev Subject: [GIT PULL] NTB bug fixes for 7.0 Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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(-)