git: 0881eb9665db - main - rtw88: update man page for loader tunable for >4GB of main memory

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Thu, 05 May 2022 21:19:42 UTC
The branch main has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=0881eb9665dbfc8a53d9914a9dca1f0473ee1acb

commit 0881eb9665dbfc8a53d9914a9dca1f0473ee1acb
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2022-05-05 21:17:40 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
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 ,