[PATCH 0/1][SRU][OEM-5.14] Fix iwlwifi iwl-nvm-parse.c warning

Aaron Ma aaron.ma at canonical.com
Fri Apr 15 05:43:05 UTC 2022


BugLink: https://bugs.launchpad.net/bugs/1969181

[Impact]
With Intel wifi card [8086:51f0], boot with oem-5.14.0-1027+, the
warning will be shown:

Mar 14 23:30:36 Phoenix-1 kernel: Call Trace:
Mar 14 23:30:36 Phoenix-1 kernel: <TASK>
Mar 14 23:30:36 Phoenix-1 kernel: iwl_mvm_get_regdomain+0xe2/0x1d0
[iwlmvm]
Mar 14 23:30:36 Phoenix-1 kernel:
iwl_mvm_get_current_regdomain+0x4c/0x50 [iwlmvm]
Mar 14 23:30:36 Phoenix-1 kernel: iwl_mvm_init_mcc+0x81/0x1d0 [iwlmvm]
Mar 14 23:30:36 Phoenix-1 kernel: ? iwl_acpi_get_dsm_u32+0x2f/0x60
[iwlwifi]
Mar 14 23:30:36 Phoenix-1 kernel: iwl_mvm_up+0x87a/0xd70 [iwlmvm]
Mar 14 23:30:36 Phoenix-1 kernel: __iwl_mvm_mac_start+0x2b/0x190
[iwlmvm]
Mar 14 23:30:36 Phoenix-1 kernel: iwl_mvm_mac_start+0x50/0xb0 [iwlmvm]
Mar 14 23:30:36 Phoenix-1 kernel: drv_start+0x40/0xd0 [mac80211]
Mar 14 23:30:36 Phoenix-1 kernel: ieee80211_do_open+0x394/0x810
[mac80211]
Mar 14 23:30:36 Phoenix-1 kernel: ieee80211_open+0x6c/0x90 [mac80211]

[Fix]
This warning is introduced by commit:
commit 827b84824ef2d910930c9974765de592e77b5072
Author: Chia-Lin Kao (AceLan) <acelan.kao at canonical.com>
Date: Wed Feb 23 18:40:13 2022 +0800

    UBUNTU: SAUCE: iwlwifi: disable 6-7 GHz channels

    BugLink: https://bugs.launchpad.net/bugs/1961971

    Disable UHB (ultra high band) channels on all AX210/AX211 cards

    Signed-off-by: Chia-Lin Kao (AceLan) <acelan.kao at canonical.com>
    Signed-off-by: Timo Aaltonen <timo.aaltonen at canonical.com>

Replace the warning to debug info to avoid the error message.

[Test]
Verified on HW with Intel wifi card, no errors after boot.

[Where problems could occur]
It may break Intel wifi driver.
Change the debug info only, it's unlikely.

The issue is on oem-5.14 only, no need for other kernel version.

Miri Korenblit (1):
  iwlwifi: mvm: use debug print instead of WARN_ON()

 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

-- 
2.32.0




More information about the kernel-team mailing list