public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
* [Bug report] rtw89: 8852b: IO_PAGE_FAULTs with beacon filter feature enabled
@ 2025-04-15 10:23 Fedor Pchelkin
  2025-04-16  0:49 ` Ping-Ke Shih
  0 siblings, 1 reply; 11+ messages in thread
From: Fedor Pchelkin @ 2025-04-15 10:23 UTC (permalink / raw)
  To: Po-Hao Huang, Ping-Ke Shih; +Cc: linux-wireless, linux-kernel

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@realtek.com>
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@realtek.com>
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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2025-06-24  0:14 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-15 10:23 [Bug report] rtw89: 8852b: IO_PAGE_FAULTs with beacon filter feature enabled Fedor Pchelkin
2025-04-16  0:49 ` Ping-Ke Shih
2025-04-16 10:57   ` Fedor Pchelkin
2025-04-17  1:05     ` Ping-Ke Shih
2025-04-17  8:39       ` Fedor Pchelkin
2025-05-07 15:25       ` Fedor Pchelkin
2025-05-08  0:59         ` Ping-Ke Shih
2025-05-14  3:29           ` Bernie Huang
2025-05-15 21:11             ` Fedor Pchelkin
2025-06-23 17:22             ` Bitterblue Smith
2025-06-24  0:14               ` Ping-Ke Shih

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox