Description
Component
Dasharo firmware
Device
PC Engines APU2
Dasharo version
pcengines_apu2_v0.9.1-rc1
Dasharo Tools Suite version
No response
Test case ID
No response
Brief summary
Linux kernel reports IO_PAGE_FAULTS on writes by ath10k_pci
How reproducible
Hi dasharo team,
I am running dasharo's v0.9.1-rc1
on a PC Engines APU2D4 with Ubuntu 24.04 LTS (currently kernel 6.8.0-48-generic
).
The APU is equipped with two Compex WLE900VX, thus using ath10k_pci
driver (plus currently linux-firmware 20240318.git3b128b60-0ubuntu2.4
). Both are in AP-mode (using hostapd), one is on 2.4Ghz and one on 5Ghz.
ath10k_pci
reports the WLEs' Qualcomm chips properly (qca988x hw2.0 target
, see also [1]) and loads the latest firmware properly (firmware ver 10.2.4-1.0-00047
, see also [2]).
The WLE on 5Ghz reports the following IO_PAGE_FAULTS:
[ 67.409657] ath10k_pci 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000d address=0xcfc016d0 flags=0x0070]
[ 71.844575] ath10k_pci 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000d address=0xcf243ad0 flags=0x0070]
[ 101.426020] ath10k_pci 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000d address=0xcfd866d0 flags=0x0070]
[ 101.456387] ath10k_pci 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000d address=0xcec96550 flags=0x0070]
[ 298.086426] ath10k_pci 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000d address=0xcf0a3bd0 flags=0x0070]
[ 742.826724] ath10k_pci 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000d address=0xced536d0 flags=0x0070]
As far as I understand, according to AMD's IOMMU specifications, the flags=0x0070
indicate that the WLE has been lacking permission when trying to write to the addresses reported (see also [3]).
These IO_PAGE_FAULTs happen every now and then, so far they seem sporadic to me. In general I experience quite good WiFi performance, but sometimes I experience weird/significant delays, maybe the issue is related.
The issue in [4] might be related. Yet, disabling dasharo's performance boost option for the APU in BIOS did not change the issue. And, the workaround of emulating the IOMMU hardware in software (kernel parameter iommu=soft
) does not seem to be an option to me for performance reasons (have not tested it).
I'd appreciate any ideas. Thank you very much.
[1] https://compex.com.sg/shop/wifi-module/802-11ac-wave-1/wle900vx-wifi5-11ac-qca9880-qca9890/
[2] https://git.codelinaro.org/clo/ath-firmware/ath10k-firmware/-/tree/main/QCA988X/hw2.0/10.2.4-1.0?ref_type=heads
[3] https://groups.google.com/g/linux-ntb/c/vvnbizy8d_8/m/tZMqnJH9AwAJ
[4] pcengines/apu2-documentation#240
How to reproduce
n/a
Expected behavior
n/a
Actual behavior
n/a
Screenshots
No response
Additional context
No response
Solutions you've tried
No response