iwlwifi: Regression after migrating to 6.6.32

From: Fabio Estevam
Date: Tue Jun 11 2024 - 07:53:40 EST


Hi,

After upgrading from kernel 5.10.y to 6.6.32 on an i.MX8MM IoT Gateway board,
I started seeing the following storm of iwlwifi warnings (these warnings
keep coming in a loop):

[ 6.995391] ------------[ cut here ]------------
[ 7.373564] WARNING: CPU: 3 PID: 136 at
/drivers/net/wireless/intel/iwlwifi/pcie/rx.c:269
iwl_pcie_rxmq_restock+0x158/0x178 [iwlwifi]
[ 7.385677] Modules linked in: iwlmvm(+) mac80211 libarc4
openvswitch nsh nf_conncount nf_nat iwlwifi edt_ft5x06 cfg80211 rfkill
fuse nfnetlink ipv6
[ 7.399053] CPU: 3 PID: 136 Comm: irq/209-iwlwifi Tainted: G
W 6.6.32-stable-standard-00001-ga9f741529938 #1
[ 7.410285] Hardware name: CompuLab i.MX8MM IoT Gateway (DT)
[ 7.415951] pstate: 00000005 (nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 7.422921] pc : iwl_pcie_rxmq_restock+0x158/0x178 [iwlwifi]
[ 7.428648] lr : iwl_pcie_rxmq_restock+0x40/0x178 [iwlwifi]
[ 7.434285] sp : ffff800081f6bd30
[ 7.437605] x29: ffff800081f6bd30 x28: 0000000000000000 x27: 0000000000000000
[ 7.444761] x26: 0000000000000000 x25: ffff0000c0c0ae70 x24: ffffffffffffe844
[ 7.451913] x23: ffff0000c0c0b62c x22: 0000000000000001 x21: ffff0000c0c08080
[ 7.459066] x20: ffff0000c0c0c078 x19: ffff0000c0c0c000 x18: 0000000000000000
[ 7.466220] x17: 000000040044ffff x16: 00500072b5503510 x15: ffff0000ff7a22c0
[ 7.473374] x14: 0000000000000000 x13: 000001308d5fa082 x12: 00000000000001da
[ 7.480525] x11: 0000000000000000 x10: 0000000000000a30 x9 : ffff800081f6bd10
[ 7.487677] x8 : ffff0000c02b4590 x7 : dead000000000122 x6 : dead000000000100
[ 7.494829] x5 : ffff0000c0c09e70 x4 : ffff0000c4ed4290 x3 : ffff0000c4ed42a8
[ 7.501981] x2 : 00000000fb645800 x1 : ffff0000c4ed42b8 x0 : 0000000000000fff
[ 7.509134] Call trace:
[ 7.511585] iwl_pcie_rxmq_restock+0x158/0x178 [iwlwifi]
[ 7.516965] iwl_pcie_irq_msix_handler+0x38c/0x444 [iwlwifi]
[ 7.522690] irq_thread_fn+0x2c/0xa8
[ 7.526281] irq_thread+0x160/0x248
[ 7.529782] kthread+0x110/0x114
[ 7.533021] ret_from_fork+0x10/0x20
[ 7.536607] ---[ end trace 0000000000000000 ]---
[ 7.541357] ------------[ cut here ]------------

Does anyone have any suggestions on how to fix this for 6.6.y?

Thanks,

Fabio Estevam