mbox series

[0/1,SRU,B,OEM-B] iwlwifi fails to work on 16 or more

Message ID 20181126082206.9057-1-acelan.kao@canonical.com
Headers show
Series iwlwifi fails to work on 16 or more | expand

Message

AceLan Kao Nov. 26, 2018, 8:22 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1805088

[Impact]
Got dmesg kernel BUG while loading iwlwifi driver on machines
which has 16 or more logical CPUs
   kernel: RIP: 0010:iwl_pcie_rxq_alloc_rbs+0x1d0/0x1f0 [iwlwifi]
And it leads to wifi can't scan any APs, and leads to system hangs
while suspending.

[Fix]
Below commit contained in v4.17 fix the issue.
   ab1068d6866e iwlwifi: pcie: compare with number of IRQs requested for,
                not number of CPUs

[Regression Potential]
Low.

[Misc]
The commit is in v4.17, so ubuntu cosmic is safe.
And ubuntu xenial is safe, too, since the commit which introduces this
issue isn't contained in v4.4 kernel
   2e5d4a8f61dc iwlwifi: pcie: Add new configuration to enable MSIX

Hao Wei Tee (1):
  iwlwifi: pcie: compare with number of IRQs requested for, not number
    of CPUs

 drivers/net/wireless/intel/iwlwifi/pcie/trans.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Comments

Kai-Heng Feng Nov. 29, 2018, 8:20 a.m. UTC | #1
> On Nov 26, 2018, at 4:22 PM, AceLan Kao <acelan.kao@canonical.com> wrote:
> 
> BugLink: https://bugs.launchpad.net/bugs/1805088
> 
> [Impact]
> Got dmesg kernel BUG while loading iwlwifi driver on machines
> which has 16 or more logical CPUs
>   kernel: RIP: 0010:iwl_pcie_rxq_alloc_rbs+0x1d0/0x1f0 [iwlwifi]
> And it leads to wifi can't scan any APs, and leads to system hangs
> while suspending.
> 
> [Fix]
> Below commit contained in v4.17 fix the issue.
>   ab1068d6866e iwlwifi: pcie: compare with number of IRQs requested for,
>                not number of CPUs
> 
> [Regression Potential]
> Low.
> 
> [Misc]
> The commit is in v4.17, so ubuntu cosmic is safe.
> And ubuntu xenial is safe, too, since the commit which introduces this
> issue isn't contained in v4.4 kernel
>   2e5d4a8f61dc iwlwifi: pcie: Add new configuration to enable MSIX
> 
> Hao Wei Tee (1):
>  iwlwifi: pcie: compare with number of IRQs requested for, not number
>    of CPUs
> 
> drivers/net/wireless/intel/iwlwifi/pcie/trans.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)

Acked-by: Kai-Heng Feng <kai.heng.feng@canonical.com>

> 
> -- 
> 2.17.1
> 
> 
> -- 
> kernel-team mailing list
> kernel-team@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
AceLan Kao Nov. 29, 2018, 9:06 a.m. UTC | #2
Applied on oem kernel 4.15.0-1029.34
Khalid Elmously Dec. 30, 2018, 4:55 a.m. UTC | #3
Actually, it was already APPLIED to bionic. It came in as part of https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1808185


On 2018-11-26 16:22:05 , AceLan Kao wrote:
> BugLink: https://bugs.launchpad.net/bugs/1805088
> 
> [Impact]
> Got dmesg kernel BUG while loading iwlwifi driver on machines
> which has 16 or more logical CPUs
>    kernel: RIP: 0010:iwl_pcie_rxq_alloc_rbs+0x1d0/0x1f0 [iwlwifi]
> And it leads to wifi can't scan any APs, and leads to system hangs
> while suspending.
> 
> [Fix]
> Below commit contained in v4.17 fix the issue.
>    ab1068d6866e iwlwifi: pcie: compare with number of IRQs requested for,
>                 not number of CPUs
> 
> [Regression Potential]
> Low.
> 
> [Misc]
> The commit is in v4.17, so ubuntu cosmic is safe.
> And ubuntu xenial is safe, too, since the commit which introduces this
> issue isn't contained in v4.4 kernel
>    2e5d4a8f61dc iwlwifi: pcie: Add new configuration to enable MSIX
> 
> Hao Wei Tee (1):
>   iwlwifi: pcie: compare with number of IRQs requested for, not number
>     of CPUs
> 
>  drivers/net/wireless/intel/iwlwifi/pcie/trans.c | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> -- 
> 2.17.1
> 
> 
> -- 
> kernel-team mailing list
> kernel-team@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team