[Bug report] rtw89: 8852b: IO_PAGE_FAULTs with beacon filter feature enabled
From: Fedor Pchelkin
Date: Tue Apr 15 2025 - 06:23:40 EST
Hi,
there are IO_PAGE_FAULT errors occassionally thrown into the log with
rtw89_8852be-compatible device in use:
[ 7.135509] rtw89_8852be 0000:03:00.0: loaded firmware rtw89/rtw8852b_fw-1.bin
[ 7.135610] rtw89_8852be 0000:03:00.0: enabling device (0000 -> 0003)
[ 7.137074] rtw89_8852be 0000:03:00.0: Firmware version 0.29.29.8 (39dbf50f), cmd version 0, type 5
[ 7.137079] rtw89_8852be 0000:03:00.0: Firmware version 0.29.29.8 (39dbf50f), cmd version 0, type 3
[ 7.423852] rtw89_8852be 0000:03:00.0: chip rfe_type is 1
[ 7.452843] rtw89_8852be 0000:03:00.0: rfkill hardware state changed to enable
[ 7.478466] rtw89_8852be 0000:03:00.0 wlo1: renamed from wlan0
...
[ 1361.803384] rtw89_8852be 0000:03:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0010 address=0x0 flags=0x0000]
[ 1434.918012] rtw89_8852be 0000:03:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0010 address=0x0 flags=0x0000]
[ 1551.553344] rtw89_8852be 0000:03:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0010 address=0x0 flags=0x0000]
[ 1649.346804] rtw89_8852be 0000:03:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0010 address=0x0 flags=0x0000]
address and flags are always all zeros. It is reproducible on the current
mainline v6.15-rc2 kernel and v0.29.29.8 fw version.
It is most probably related to the beacon filter feature enabled in the
firmware. Bisection in the kernel leads to
commit d56c261e5214e51e2c6d22149f63555039b5601e (HEAD)
Author: Po-Hao Huang <phhuang@xxxxxxxxxxx>
Date: Thu Nov 28 13:54:29 2024 +0800
wifi: rtw89: 8852b: add beacon filter and CQM support
and in linux-firmware to
commit 20cace1adf6a33cac73595ea3202eb784dea98a6
Author: Po-Hao Huang <phhuang@xxxxxxxxxxx>
Date: Thu Sep 19 17:02:28 2024 +0800
rtw89: 8852b: update fw to v0.29.29.7
Enable beacon filter feature.
Hardware info:
$ lspci -nn -s 03:00.0
03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8852BE PCIe 802.11ax Wireless Network Controller [10ec:b852]
$ lspci -vvvk
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8852BE PCIe 802.11ax Wireless Network Controller
DeviceName: Realtek
Subsystem: Lenovo Device 4853
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort+ <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 93
IOMMU group: 15
Region 0: I/O ports at 4000 [size=256]
Region 2: Memory at 98900000 (64-bit, non-prefetchable) [size=1M]
Capabilities: <access denied>
Kernel driver in use: rtw89_8852be
Kernel modules: rtw89_8852be
$ lspci -x
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8852BE PCIe 802.11ax Wireless Network Controller
00: ec 10 52 b8 07 04 10 10 00 00 80 02 10 00 00 00
10: 01 40 00 00 00 00 00 00 04 00 90 98 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 aa 17 53 48
30: 00 00 00 00 40 00 00 00 00 00 00 00 ff 01 00 00
--
Thanks,
Fedor