From nobody Fri Jun 3 16:43:15 2022 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 9F5911BD3C64; Fri, 3 Jun 2022 16:43: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LF7wz578nz3sDV; Fri, 3 Jun 2022 16:43:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654274595; 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=Ig0hJg7jxfPrjP/RbGqq+Tq2xzuoMVhJvXJYUrRYASk=; b=igmq2YlHAFlvjUQxixHL3BUMPZESY91cVy8jCETkgXlsfn1Cc3THqTsuW6VfYmRFdaXU3m 9nQeQ+9zw8sp1w4KPY8RIpn0OEGj7gC2P7pmp80yFlRRDk584rYls7IfXdWPp3l65lA0L2 uz9N69VYFI2IJNQF3Kw08RQ8QcZeJ6XibrIAnNvyuZ0G8XogHaMnkLvKl7A82oeBhmqIBt u7Mx0Ni7CIX04g5u5cgiOIu46QLED1FDR58QUKwIAnHBIRSUxs0JFflR4Le+fAw2bq8yn7 Woq0swBLZg4+vXJLq+VoMK8Ie0UYzsKFfHXjoQ8w9lMeBgwjOR2Ba0khB/8NFw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 686F34F2F; Fri, 3 Jun 2022 16:43:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 253GhFKw021874; Fri, 3 Jun 2022 16:43:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 253GhFpc021873; Fri, 3 Jun 2022 16:43:15 GMT (envelope-from git) Date: Fri, 3 Jun 2022 16:43:15 GMT Message-Id: <202206031643.253GhFpc021873@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: 4ecb23602e03 - stable/13 - rtw88: update man page for loader tunable for >4GB of main memory 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: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bz X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 4ecb23602e03ed3aa0f65ea3935347430f24b04c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654274595; 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=Ig0hJg7jxfPrjP/RbGqq+Tq2xzuoMVhJvXJYUrRYASk=; b=nuM+oNV7OsssNeLx3y6LgbtgmG0QswGseUzVFwygJo9peCzFjrGdRPUUoxZ+dqhvPXLY3E Mi7Qcxfrv4nTe6R/+4VgdsJW9cEfRB+Ah97M6Xqeh7WjfJBurBD7+7kRRKF+2KW5FqUjos VfNKfns5t4gjiDs4iuSlC/WN/o8re3McreYcXf/NxdWNpMTNKL7aXjA7nN38l+gb4AIEGK LieIO/GGaQdjiPfema3q9pvja4oYCZVrv0KE+LUIZxZhmkhZiHbvkEUYWJjQSP213SdG7k nxQdckyHIrIeQxnpRAHqCvxEKGT7Kpyzi4a19HbGrDLa9HGva3OqTCIAWqR8/g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654274595; a=rsa-sha256; cv=none; b=vityy3mZF9+g6WJWq4xMCJyxWcOU/UjpNrMVlezEuUfYdZzJhAJEGkbM9Y8NVq/s6x7Q/5 7GA/mqEttyZH9qLn895jRrV2G3UWsZYMLKjOvf93XRIXffZOjOLrv5AT6PbWh09fNtHXC1 LTkNwq1kHHRXRvVoF/Ip8HItxY6NoEppS9w3qgV+zmyyu4zY5gUzNHooWY89OkLy8g8S/C WVHREm4ZW9vmksBc0mYgmGoHRfQMbaEVWiDmx7fTNJBeaoE64iG29r0/Jhb+bNts3vEB+J lXu4gFYrmZ9C5PBssLdzG06HE8zftQgVRbyHxqdimTXa7YP7tZbiUy/lLo3IvA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=4ecb23602e03ed3aa0f65ea3935347430f24b04c commit 4ecb23602e03ed3aa0f65ea3935347430f24b04c Author: Bjoern A. Zeeb AuthorDate: 2022-05-05 21:17:40 +0000 Commit: Bjoern A. Zeeb CommitDate: 2022-06-03 15:51:52 +0000 rtw88: update man page for loader tunable for >4GB of main memory Mention the loader tunable from 6a50157090f2d0c5ab8c570d9cf2e2e3535dbdbf that needs to be set for system with more than 4GB of physical memory. Sponsored by: The FreeBSD Foundation (cherry picked from commit 0881eb9665dbfc8a53d9914a9dca1f0473ee1acb) --- share/man/man4/rtw88.4 | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/share/man/man4/rtw88.4 b/share/man/man4/rtw88.4 index b34fbf96c5df..0ace002e4bde 100644 --- a/share/man/man4/rtw88.4 +++ b/share/man/man4/rtw88.4 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd March 31, 2022 +.Dd May 5, 2022 .Dt rtw88 4 .Os .Sh NAME @@ -78,11 +78,27 @@ While supports all 802.11 a/b/g/n and ac the compatibility code currently only supports 802.11 a/b/g modes. Support for 802.11 n/ac is to come. +.Sh LOADER TUNABLES +.Bl -tag -width indent +.It Va compat.linuxkpi.skb.mem_limit +If you are running a 64bit system with more than 4GB of main mmeory +you need to set this tunable to +.Sy 1 +in +.Xr loader.conf 5 +and reboot once to make it effective. +This tunable will work around a problem with DMA and limit allocations +for network buffer memory to the lower 32bit of physical memory and +make the driver work. +.El .Sh BUGS Certainly. .Pp Does not seem to work (reliably) on machines with more than 4GB of main memory. +See in the +.Sx LOADER TUNABLES +section above. .Sh SEE ALSO .Xr rtw88fw 4 , .Xr wlan 4 ,