]> git.dujemihanovic.xyz Git - linux.git/commit
wifi: rtw89: 8852b: adjust quota to avoid SER L1 caused by access null page
authorPing-Ke Shih <pkshih@realtek.com>
Wed, 26 Apr 2023 03:47:37 +0000 (11:47 +0800)
committerKalle Valo <kvalo@kernel.org>
Fri, 12 May 2023 08:22:21 +0000 (11:22 +0300)
commitc0426c446d92023d344131d01d929bc25db7a24e
tree85b06821032986b44bc09da830d1127d2e097bc7
parentc7ab7a29ef5c0779574120d922256ce4651555d3
wifi: rtw89: 8852b: adjust quota to avoid SER L1 caused by access null page

Though SER can recover this case, traffic can get stuck for a while. Fix it
by adjusting page quota to avoid hardware access null page of CMAC/DMAC.

Fixes: a1cb097168fa ("wifi: rtw89: 8852b: configure DLE mem")
Fixes: 3e870b481733 ("wifi: rtw89: 8852b: add HFC quota arrays")
Cc: stable@vger.kernel.org
Tested-by: Larry Finger <Larry.Finger@lwfinger.net>
Link: https://github.com/lwfinger/rtw89/issues/226#issuecomment-1520776761
Link: https://github.com/lwfinger/rtw89/issues/240
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230426034737.24870-1-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/mac.c
drivers/net/wireless/realtek/rtw89/mac.h
drivers/net/wireless/realtek/rtw89/rtw8852b.c