Bug 206793

Summary: An regression of iwlwifi firmware loading, has been fixed since v5.6-rc1(bisected)
Product: Drivers Reporter: AceLan Kao (acelan)
Component: network-wireless-intelAssignee: Default virtual assignee for network-wireless-intel (drivers_network-wireless-intel)
Status: NEW ---    
Severity: normal    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: v5.4 & v5.5 Subsystem:
Regression: No Bisected commit-id:
Attachments: dmesg

Description AceLan Kao 2020-03-09 05:24:10 UTC
Created attachment 287839 [details]
dmesg

iwlwifi fails while loading firmware.
I've checked some mainline kernel, here is my result.

5.3.0 - Good
5.3.18 - Good
5.4-rc1 - NG
5.4-rc4 - NG
5.4-rc8 - NG
5.4.0 - NG
5.4.16 - NG
5.4.24 - NG
5.5.0 - NG
5.5.8 - NG
5.6-rc1 - Good

After bisect v5.5 and v5.6-rc1, here is the commit fixes the issue

   b3bd6416fc77 iwlwifi: assume the driver_data is a trans_cfg, but allow full cfg

I feel like this should be handled and be backported to v5.4 LTS kernel. So, I open this report.

[    4.502025] kernel: iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
[    4.526538] kernel: iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-Qu-b0-hr-b0-50.ucode failed with error -2
[    4.526560] kernel: iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-Qu-b0-hr-b0-49.ucode failed with error -2
[    4.528304] kernel: iwlwifi 0000:00:14.3: TLV_FW_FSEQ_VERSION: FSEQ Version: 43.2.23.17
[    4.528309] kernel: iwlwifi 0000:00:14.3: Found debug destination: EXTERNAL_DRAM
[    4.528310] kernel: iwlwifi 0000:00:14.3: Found debug configuration: 0
[    4.528631] kernel: iwlwifi 0000:00:14.3: loaded firmware version 48.4fa0041f.0 op_mode iwlmvm
[    4.606748] kernel: iwlwifi 0000:00:14.3: Detected Killer(R) Wi-Fi 6 AX1650i 160MHz Wireless Network Adapter (201NGW), REV=0x338
[    4.614454] kernel: iwlwifi 0000:00:14.3: Applying debug destination EXTERNAL_DRAM
[    4.615558] kernel: iwlwifi 0000:00:14.3: Allocated 0x00400000 bytes for firmware monitor.
[    5.632026] kernel: iwlwifi 0000:00:14.3: Collecting data: trigger 15 fired.
[    5.632514] kernel: iwlwifi 0000:00:14.3: Start IWL Error Log Dump:
[    5.632516] kernel: iwlwifi 0000:00:14.3: Status: 0x00000000, count: 361044767
[    5.632518] kernel: iwlwifi 0000:00:14.3: Loaded firmware version: 48.4fa0041f.0
[    5.632520] kernel: iwlwifi 0000:00:14.3: 0x3C036A86 | ADVANCED_SYSASSERT          
[    5.632521] kernel: iwlwifi 0000:00:14.3: 0x33C737AA | trm_hw_status0
[    5.632523] kernel: iwlwifi 0000:00:14.3: 0xA5D793C6 | trm_hw_status1
[    5.632524] kernel: iwlwifi 0000:00:14.3: 0xA1889CC6 | branchlink2
[    5.632525] kernel: iwlwifi 0000:00:14.3: 0xBA519047 | interruptlink1
[    5.632526] kernel: iwlwifi 0000:00:14.3: 0xB32B342B | interruptlink2
[    5.632527] kernel: iwlwifi 0000:00:14.3: 0xCFC17AEA | data1
[    5.632529] kernel: iwlwifi 0000:00:14.3: 0x6614770B | data2
[    5.632530] kernel: iwlwifi 0000:00:14.3: 0xC81AAE5D | data3