From nobody Sun Aug 30 02:47:15 2026 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4hXc3S0fS7z6q1bC for ; Sun, 30 Aug 2026 02:47:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hXc3R4kJ4z44Rj for ; Sun, 30 Aug 2026 02:47:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1788058035; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gyDuqKyf2vie59qtonZBfSnfXJmYBEZqAh8cxbNl5WQ=; b=UvF9qQrZapEOhBVD9/uWEgZ2J7IwCSvH9ivbME0a0m2xOy/UcIf6yQ+d5N6WJXi6ou23W+ vYqTSicDRQev+67D5PzGjQiG5CSB6AI+8HJCG0OzI6IgUluVPz6CLaTFEU1MdiqIgGgceo jfqzIY/27nAy2enE1Uvai3RwGgG52u8r9Bm8UtxkSQL5ZuO4fv+HZTGuTfYYlqRFqcuJcO q9DBB0jPwWUZrAz6PEEI5xiQgDIZC2UsvGWeDImDPDgkA+NAQpCJDiIcwJm2p132VmI3Kl Ylv1lPY1hA45bKGi+AXCH4KD/6ZB2mWVR9TgShMwf0WFZxkOKTSh8yMb2KGG9A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1788058035; a=rsa-sha256; cv=none; b=ae8n9TtMFQXg+ywOGJ74Zo2kZyg3Jab3gvifrutD1Qbi8PjtYuSe661+p+8fhNUIYnxMJY Pr2fGAGPYTBvFTgfJslAPBlWlMxJSzuxy4S9gSmfPQMIo/CfIQ/B205lf0W2kOmo+4S7h9 ydCB5/46exq+WDrFssp69z5MmubsGeSHrGY+Proh2UKjtw60scoBe0QtvYW33GS1iAJDF8 DTSRavg5DLEwsepTSTEo98cOdCKUpAaI3e5QTq0JpiI4zFejWP5JkVgbxwtpLVDjoMP7qv ep7RhqT8bHfXe8nhFaDbNRAUaYVNts0uIaPXI25VrLnCNeB21gE/ByrEbVRqFw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1788058035; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gyDuqKyf2vie59qtonZBfSnfXJmYBEZqAh8cxbNl5WQ=; b=ahikJQTbm0fEmxjK40t4ZiSQbCxGCXC9WBr+rK3F4KsJ3FuMPbNiwLb7y025k6vjvVz1aU lNC1icKT6mq7NCBadsVf3E4Or6lanwMGL5lDS+N/ODM5omjA2rVhNjK58qED2yM8EGL3sd cKoA/TxtuJDdvA33xss9TDp5x2A4m+NZLuTq5nGtXnuGhYv0GX3ZWUhjYDLx2KYH3FePRp kxoDWq8FBSoqeJWwq6ceFqK8+Ml1KfveZgtp1x4PpgXbdLRvJzsrltpF57XARApbr8x/dG nx8PE6l5BgrssGhOc1ho5cLJQX5mqc9ws/oLCC15mqU80TV4uBjcUO7SX7Frgw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hXc3R3ng8z15WQ for ; Sun, 30 Aug 2026 02:47:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 441fd by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sun, 30 Aug 2026 02:47:15 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Alexander Ziaee Subject: git: 63ecc9a63c0f - main - ntb_hw_amd.4: Canonicalize SYNOPSIS and SYSCTLs List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ziaee X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 63ecc9a63c0f4096a3e52b8b29c5eca3bd271eb3 Auto-Submitted: auto-generated Date: Sun, 30 Aug 2026 02:47:15 +0000 Message-Id: <6a9399b3.441fd.4b5e9716@gitrepo.freebsd.org> The branch main has been updated by ziaee: URL: https://cgit.FreeBSD.org/src/commit/?id=63ecc9a63c0f4096a3e52b8b29c5eca3bd271eb3 commit 63ecc9a63c0f4096a3e52b8b29c5eca3bd271eb3 Author: Alexander Ziaee AuthorDate: 2026-08-30 01:36:58 +0000 Commit: Alexander Ziaee CommitDate: 2026-08-30 02:23:19 +0000 ntb_hw_amd.4: Canonicalize SYNOPSIS and SYSCTLs Also tag SPDX. MFC after: 3 days --- share/man/man4/ntb_hw_amd.4 | 37 +++++++++++++++++-------------------- 1 file changed, 17 insertions(+), 20 deletions(-) diff --git a/share/man/man4/ntb_hw_amd.4 b/share/man/man4/ntb_hw_amd.4 index 56e0b3a741d4..be4944a3b260 100644 --- a/share/man/man4/ntb_hw_amd.4 +++ b/share/man/man4/ntb_hw_amd.4 @@ -1,4 +1,6 @@ .\" +.\" SPDX-License-Identifier: BSD-2-Clause +.\" .\" Copyright (c) 2019 Rajesh Kumar .\" All rights reserved. .\" @@ -30,28 +32,12 @@ .Nm ntb_hw_amd .Nd AMD Non-Transparent Bridge driver .Sh SYNOPSIS -To compile this driver into your kernel, -place the following lines in your kernel configuration file: -.Bd -ragged -offset indent -.Cd "device ntb" -.Cd "device ntb_hw_amd" -.Ed +.Cd device ntb +.Cd device ntb_hw_amd .Pp -Or, to load the driver as a module at boot, place the following line in +In .Xr loader.conf 5 : -.Bd -literal -offset indent -ntb_hw_amd_load="YES" -.Ed -.Pp -The following sysctls are supported in this driver -.Bl -ohang -.It Va dev.ntb_hw.X.info -Reading this sysctl will give the basic details like the number of memory -windows, scratchpads and doorbells exposed by the NTB on the local host to -access the devices beyond the bridge. -It also provides details about the masked doorbells, translation address and -size limit of each exposed memory window and link status information. -.El +.Cd ntb_hw_amd_load="YES" .Sh DESCRIPTION The .Nm ntb_hw_amd @@ -75,6 +61,17 @@ mode is supported now), role of the host in the topology. This needs to be done on both systems. .Pp The BAR size for memory windows is configured to 1 MiB by default. +.Sh SYSCTL VARIABLES +The following read-only variable is available via +.Xr sysctl 8 : +.Bl -tag -width indent +.It Va dev.ntb_hw.%d.info +Reading this sysctl will give the basic details like the number of memory +windows, scratchpads and doorbells exposed by the NTB on the local host to +access the devices beyond the bridge. +It also provides details about the masked doorbells, translation address and +size limit of each exposed memory window and link status information. +.El .Sh SEE ALSO .Xr if_ntb 4 , .Xr ntb 4 ,