From nobody Wed Sep 16 12:05:02 2026 X-Original-To: dev-commits-src-branches@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 4hlHdB6JQ8z6t6Vs for ; Wed, 16 Sep 2026 12:05:02 +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 4hlHdB3rC9z4KZF for ; Wed, 16 Sep 2026 12:05:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789560302; 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=MCDhxTpYa6AGbRo3MHMBuF4HyLiNtKExzbCVOX3+jrU=; b=EGvmi6Ep2zDK38u1TCw9TrPyMUGpHj9bbzYgMGeJQ1HQC0cQvRrRsERHBGWTlWEtwBcU5j S/3wgDTUdrSzpV0PH3anrTc9EXcasg5NB/hKgD54ODUvoC58JY9UFtPHBUT8At45M9DDX7 7wHzhrR5dUUY/ADUoXs9FUUYpMsl0XRHUwEaIWx1orjldPuNOjnimw7F/KCsx2zjufY5fA YrQ5zr/ikA91MgQnLOznfBcfrr51E1Uf1SMahlQlBqOLy1QLeFXHr3A+VIx7c5Rw7Q3e9g gArQ0tLGLsAbwP7gwATAaPUIOhITUrWpnWQCpT9Kl+LQH8IaV5IrvFgz2HcIXw== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1789560302; b=AWgaxUBxjyp4Xm6HD6/hcbt4sdc/zOOAgY2rkcv1CkltlGuQ2AeG6bSPgT1VblNXbANx4z 6ph8md+/4MVNUbXsW/5XcK1KTqJFU0u2xLwTJPigxvRDf6sj6WsFFQ30xXelR/uBqPI+Fa oV+FCW5j6s41dardz0NAWdRBloL+TqQw0pHdpMMQCeAeTjTWtwwYM9NaNVzct1BbPrIBdk Ir3cbPQb5Y7jFn14sN9z1C5IZ1mU2h5mG3r2FbMPwP2w+EwwYVtffm5QHH4h0G03sUFDSR llM8iWxy7OXpNyHMG9EBtBMJPlwvc/pFT4wuIYYb1mdXGHjxw+eQJ3e6FgPEgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789560302; 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=MCDhxTpYa6AGbRo3MHMBuF4HyLiNtKExzbCVOX3+jrU=; b=BPnaeheDvYYs8bPcwu2epImC5uCwezh3jDDeyulDGOyWhCSdIaMCDwJLgbYMwcZaTB7Pmr SXmFVIrjXtQ+xzmHq6vCyUSiilxkKO7WiyvlreKY6YBz9t7GP55yCCFi4rbr4rbb6nZs6T WZPclTLHt1gIi/VpYI/1EoW8Wg85w66JGOI/DtJd3Lnu/uyMBHUePZzObtsE+n0oHNI2Jf vi1VzKCYpaULQ4jGV6m1k17+IjCTPZ/hrucOgyN0Lr2HBCkGCmUnD9uQoY11RqW0lTkFSv 7rqCPsmAHccIWbk+nAywq5Htgo2bqXXA9HvVMEtjVZl+uVIDUrlvKTWQB3V7YA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hlHdB2c4czlwq for ; Wed, 16 Sep 2026 12:05:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 20d1b by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Wed, 16 Sep 2026 12:05:02 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Alexander Ziaee Subject: git: 023c11e5bfd7 - stable/15 - ntb_hw_amd.4: Canonicalize SYNOPSIS and SYSCTLs List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@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/stable/15 X-Git-Reftype: branch X-Git-Commit: 023c11e5bfd72f1ed049e4488685e2c8d80f9790 Auto-Submitted: auto-generated Date: Wed, 16 Sep 2026 12:05:02 +0000 Message-Id: <6aaa85ee.20d1b.2dc69314@gitrepo.freebsd.org> The branch stable/15 has been updated by ziaee: URL: https://cgit.FreeBSD.org/src/commit/?id=023c11e5bfd72f1ed049e4488685e2c8d80f9790 commit 023c11e5bfd72f1ed049e4488685e2c8d80f9790 Author: Alexander Ziaee AuthorDate: 2026-08-30 01:36:58 +0000 Commit: Alexander Ziaee CommitDate: 2026-09-16 12:03:44 +0000 ntb_hw_amd.4: Canonicalize SYNOPSIS and SYSCTLs Also tag SPDX. MFC after: 3 days (cherry picked from commit 63ecc9a63c0f4096a3e52b8b29c5eca3bd271eb3) --- 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 ,