From nobody Thu May 5 21:19:42 2022 X-Original-To: dev-commits-src-main@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 A30E31ABDAB2; Thu, 5 May 2022 21:19:42 +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 4KvRRL4BqZz3MsD; Thu, 5 May 2022 21:19:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651785582; 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=cUZEMDmzV4mV2jjRSXKySu6hVcYu05xH98E8faVUHd8=; b=peXEMD4YLjCusknpRsIZmn2Us2CJuDqE5K8T67i5NMq5cFJRhKiwharOYwMLkLh/KBfZvn qkww6VJntkKP1953X5zgM3WXgB7d5Yn4UQ07winp3LW8rla9sk2Wj7u+QkP4BNDcjS42Yk zmp0pZ5ZRGO8Tw+TaRTE6FjO5BUIPgfOgZgDfweslOCV3SUBEO/WxyAPeO6tDy/i41oJQ1 1OK7fg/kCMIoJm3dllhE+b4ZRswsk8mBOv9W5lGdIQ92xXs0GS6pNdqBa0fL7d9G4Yz+Dn 6blVr/JxOnGeECWBrPxDmopTB7UnGvGJYEWCpYMtiSJdcWqKT5+beMU7iH3Oig== 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 711BB6F16; Thu, 5 May 2022 21:19:42 +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 245LJgTp053219; Thu, 5 May 2022 21:19:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 245LJgJ4053218; Thu, 5 May 2022 21:19:42 GMT (envelope-from git) Date: Thu, 5 May 2022 21:19:42 GMT Message-Id: <202205052119.245LJgJ4053218@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: 0881eb9665db - main - rtw88: update man page for loader tunable for >4GB of main memory List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 0881eb9665dbfc8a53d9914a9dca1f0473ee1acb Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651785582; 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=cUZEMDmzV4mV2jjRSXKySu6hVcYu05xH98E8faVUHd8=; b=DQxO4ltg3arI1UDTefroOTpFTp19LkhJ+BRacsX41bxib4kFqYKrQbtJJ3HCdzo4enUqDo /UC3gDWgrl21Z9JzEx/CoBWzdd+c7UgsH7nsA5ieniawSJZ97/ngz+k2I/g72WwRDjPWOK s1rEhtmGFzGXZFk/8w/kVzAZwOJ3d4Oj8Nh+1TJW+h4NBzlUgY+LFt5kqTEmOmh17aAnKd EfyiJWWUsWxyavBrig9fgUKZYFZq9+tYKM6+68+Wp/vqfQtNvulnIiyHaJnw04gs5yP7uD ntLEIaJYHDtaAe3VOIK7nk27lK+7NAfP/lzvKtAyiVL05LeLmLapWrd0AN+U+A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651785582; a=rsa-sha256; cv=none; b=IV47QNOcyY8ypGS57lAKxAo3EpkI62+B3m3P/2UJdz95B/MvO1E5Rp6zvKRH/GDIRxB++c cdCiQGWcDLUg9N/7r2j3QlxOaG5BZk3wkhzuC0DqGyTulylFeIy1vjacIhsfZYU1wOrv4P CcOOBm0puo71GnXsGTGLtP4lgIJvVvtKPw4davpJEBf/KIFzM8tBky9J9mFZF26n/BbMCN oUnN1hSmT+JTDa3YmLXH8/88Tn/Ky0Qb7CDIq85XOaxAhbBhOZQ5cCHonKPtLoMHRD7Um6 JV9oyQC8vJvbmF02LPNrfflKbH9H6Q1jtzdMSyjFPYhOZiYPp9jyOA7fiv9tjA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=0881eb9665dbfc8a53d9914a9dca1f0473ee1acb commit 0881eb9665dbfc8a53d9914a9dca1f0473ee1acb Author: Bjoern A. Zeeb AuthorDate: 2022-05-05 21:17:40 +0000 Commit: Bjoern A. Zeeb CommitDate: 2022-05-05 21:17:40 +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 MFC after: 3 days --- 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 ,