On 10/1/24 16:57, Stefan Roese wrote:
Hi,
I'm currently facing a problem loading the iwlwifi driver to support
a AX210 PCIe module in our AMD ZynqMP system.
I've tested with v6.1 LTS, v6.6 LTS and now also with v6.10. Each time
with a different firmware (latest firmwares installed on the system).
Here the log when loading the driver on v6.10.12:
[ 25.643488] Intel(R) Wireless WiFi driver for Linux
[ 25.648609] iwlwifi 0001:01:00.0: enabling device (0000 -> 0002)
[ 25.655606] iwlwifi 0001:01:00.0: Detected crf-id 0x400410, cnv-id
0x400410 wfpm id 0x80000000
[ 25.664288] iwlwifi 0001:01:00.0: PCI dev 2725/0024, rev=0x420,
rfid=0x10d000
[ 25.694819] iwlwifi 0001:01:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version:
0.0.2.42
[ 25.704341] iwlwifi 0001:01:00.0: loaded firmware version
89.202a2f7b.0 ty-a0-gf-a0-89.ucode op_mode iwlmvm
[ 25.752697] iwlwifi 0001:01:00.0: Detected Intel(R) Wi-Fi 6 AX210
160MHz, REV=0x420
[ 25.960182] iwlwifi 0001:01:00.0: WFPM_UMAC_PD_NOTIFICATION: 0x20
[ 25.966334] iwlwifi 0001:01:00.0: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[ 25.972564] iwlwifi 0001:01:00.0: WFPM_AUTH_KEY_0: 0x90
[ 25.977892] iwlwifi 0001:01:00.0: CNVI_SCU_SEQ_DATA_DW9: 0x0
[ 25.985554] iwlwifi 0001:01:00.0: loaded PNVM version 35148b80
[ 26.243282] iwlwifi 0001:01:00.0: Timeout waiting for PNVM load!
[ 26.249313] iwlwifi 0001:01:00.0: Failed to start RT ucode: -110
[ 26.255406] iwlwifi 0001:01:00.0: WRT: Collecting data: ini trigger
13 fired (delay=0ms).
[ 26.264833] iwlwifi 0001:01:00.0: Start IWL Error Log Dump:
[ 26.270431] iwlwifi 0001:01:00.0: Transport status: 0x00000042, valid: 6
[ 26.277155] iwlwifi 0001:01:00.0: Loaded firmware version:
89.202a2f7b.0 ty-a0-gf-a0-89.ucode
[ 26.285701] iwlwifi 0001:01:00.0: 0x00000084 | NMI_INTERRUPT_UNKNOWN
[ 26.292753] iwlwifi 0001:01:00.0: 0x002002F0 | trm_hw_status0
[ 26.298527] iwlwifi 0001:01:00.0: 0x00000000 | trm_hw_status1
[ 26.304296] iwlwifi 0001:01:00.0: 0x004DAD6C | branchlink2
[ 26.309804] iwlwifi 0001:01:00.0: 0x004D09AE | interruptlink1
[ 26.315571] iwlwifi 0001:01:00.0: 0x004D09AE | interruptlink2
[ 26.321339] iwlwifi 0001:01:00.0: 0x0001668E | data1
[ 26.326325] iwlwifi 0001:01:00.0: 0x01000000 | data2
[ 26.331314] iwlwifi 0001:01:00.0: 0x00000000 | data3
[ 26.336304] iwlwifi 0001:01:00.0: 0x00000000 | beacon time
[ 26.341808] iwlwifi 0001:01:00.0: 0x0005CEA6 | tsf low
[ 26.346975] iwlwifi 0001:01:00.0: 0x00000000 | tsf hi
[ 26.352072] iwlwifi 0001:01:00.0: 0x00000000 | time gp1
[ 26.357328] iwlwifi 0001:01:00.0: 0x00071E47 | time gp2
[ 26.362572] iwlwifi 0001:01:00.0: 0x00000001 | uCode revision type
[ 26.368833] iwlwifi 0001:01:00.0: 0x00000059 | uCode version major
[ 26.375040] iwlwifi 0001:01:00.0: 0x202A2F7B | uCode version minor
...
I've also tested w/o the PNVM file:
https://bugzilla.kernel.org/show_bug.cgi?id=212371#c13
This results in the same problem though.
On a Raspberry Pi based system the exact same module loads just fine.
So somehow this is related to this Xilinx / AMD ZynqMP based system.
The connected PCIe RP is tested successfully with multiple other
PCIe devices, also using busmastering (e.g. NVMe drive, i210). So
I don't think that it's a general problem of the PCIe RP used in this
setup.
Does anyone have any idea why this driver fails on our ZynqMP based
system? Anything else I could / should test? Or any other test results
I should provide that might help fixing this issue?
One difference of the PCIe RP used in our system to very likely most
other system is, that MSI-X is unfortunately not supported, only MSI:
0001:01:00.0 Network controller: Intel Corporation Wi-Fi 6
AX210/AX211/AX411 160MHz (rev 1a)
Subsystem: Intel Corporation Wi-Fi 6 AX210 160MHz
Flags: bus master, fast devsel, latency 0, IRQ 133
Memory at a2000000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [c8] Power Management version 3
Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [40] Express Endpoint, MSI 00
Capabilities: [80] MSI-X: Enable- Count=16 Masked-
Capabilities: [100] Advanced Error Reporting
Capabilities: [14c] Latency Tolerance Reporting
Capabilities: [154] L1 PM Substates
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
Taking a short look at the code shows, that the driver differs in regard
to MSI-X vs non-MSI-X (MSI) heavily. Has anyone used the driver in a
"MSI only" system lately?
Thanks,
Stefan