RE: [Bug report] rtw89: 8852b: IO_PAGE_FAULTs with beacon filter feature enabled

From: Ping-Ke Shih
Date: Tue Apr 15 2025 - 20:49:39 EST


Fedor Pchelkin <boddah8794@xxxxxxxxx> wrote:
> 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.
>
>

Thanks for the report.

As bisection, can I summarize as below table?

d56c261e52 firmware IO_PAGE_FAULT
(CQM support)
--------------- ----------- -----------------
o 0.29.29.7 yes
o 0.29.29.5 no
x 0.29.29.7 no
x 0.29.29.5 no

If this table is correct, we will check the beacon filter feature in firmware.