mbox series

[SRU,PULL,linux-firmware,Jammy] occasional wifi firmware loading failures: wiwlwifi: BE200: Failed to start RT ucode: -110

Message ID 20240111090453.1206724-1-vicamo.yang@canonical.com
State New
Headers show
Series [SRU,PULL,linux-firmware,Jammy] occasional wifi firmware loading failures: wiwlwifi: BE200: Failed to start RT ucode: -110 | expand

Pull-request

https://kernel.ubuntu.com/gitea/vicamo/linux-firmware.git bug-2048853/be200-iwlwifi-fw-update/jammy

Message

You-Sheng Yang Jan. 11, 2024, 9:04 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/2048853

[Impact]

Within stress reboot tests, iwlwifi may fail to load firmware, triggers retries,
and finally makes wifi operative.

  iwlwifi 0000:05:00.0: Loaded firmware version: 83.d24e06ed.0 gl-c0-fm-c0-83.ucode
  iwlwifi 0000:05:00.0: 0x00000071 | NMI_INTERRUPT_UMAC_FATAL
  iwlwifi 0000:05:00.0: 0x000002F0 | trm_hw_status0
  iwlwifi 0000:05:00.0: 0x00000000 | trm_hw_status1
  iwlwifi 0000:05:00.0: 0x002C27F2 | branchlink2
  iwlwifi 0000:05:00.0: 0x002B79AE | interruptlink1
......
  iwlwifi 0000:05:00.0: UMAC CURRENT PC: 0x8026934e
  iwlwifi 0000:05:00.0: LMAC1 CURRENT PC: 0xd0
  iwlwifi 0000:05:00.0: LMAC2 CURRENT PC: 0xd0
  iwlwifi 0000:05:00.0: UMAC CURRENT PC 1: 0x8026934c
  iwlwifi 0000:05:00.0: TCM1 CURRENT PC: 0xd0
  iwlwifi 0000:05:00.0: RCM1 CURRENT PC: 0xd0
  iwlwifi 0000:05:00.0: RCM2 CURRENT PC: 0xd0
  iwlwifi 0000:05:00.0: Function Scratch status:
  iwlwifi 0000:05:00.0: 0x01010101 | Func Scratch
  iwlwifi 0000:05:00.0: Failed to start RT ucode: -110
  iwlwifi 0000:05:00.0: WRT: Collecting data: ini trigger 13 fired (delay=0ms).

[Fix]

Resolved in upstream commit 318c64abfb33 ("iwlwifi: update gl FW for core80-165
release").

While the iwlwifi firmware updates come with a sequential manner, it pulls a few
more:

* 765492b8b ("iwlwifi: add new FWs from core81-65 release"), already in Mantic
* a07fd0b96 ("iwlwifi: add new FWs from core83-55 release")
* f27dec616 ("iwlwifi: fix for the new FWs from core83-55 release")

These contain firmware blob for ucore 84/86, and are not used by kernels < v6.7.

[Test Case]

Use checkbox reboot stress test case to observe iwlwifi dmesg logs:

  $ checkbox-cli run com.canonical.certification::stress/reboot

[Where problems could occur]

Opaque firmware update. No known issue found yet after the update.

[Other Info]

This affects series with kernels that load iwlwifi ucode 83 firmware, namely
Noble, Mantic, and for oem-6.5, Jammy.

----------------------------------------------------------------
The following changes since commit 6095df14b6303c7587667e2adfb28dc3a6dcdcfb:

  UBUNTU: Ubuntu-20220329.git681281e4-0ubuntu3.24 (2023-12-15 13:54:14 +0100)

are available in the Git repository at:

  https://kernel.ubuntu.com/gitea/vicamo/linux-firmware.git bug-2048853/be200-iwlwifi-fw-update/jammy

for you to fetch changes up to 9d4ff4d3e628b4f4eb10ce68b407508457fe5d02:

  iwlwifi: update gl FW for core80-165 release (2024-01-11 16:36:49 +0800)

----------------------------------------------------------------
Gregory Greenman (3):
      iwlwifi: add new FWs from core81-65 release
      iwlwifi: add new FWs from core83-55 release
      iwlwifi: fix for the new FWs from core83-55 release

Miri Korenblit (1):
      iwlwifi: update gl FW for core80-165 release

 WHENCE                        |  38 +++++++++++++++++++++++++++++++++++++-
 iwlwifi-gl-c0-fm-c0-83.ucode  | Bin 1799504 -> 1797996 bytes
 iwlwifi-gl-c0-fm-c0-86.ucode  | Bin 0 -> 1840116 bytes
 iwlwifi-gl-c0-fm-c0.pnvm      | Bin 246228 -> 246228 bytes
 iwlwifi-ma-b0-gf-a0-86.ucode  | Bin 0 -> 1695788 bytes
 iwlwifi-ma-b0-gf-a0.pnvm      | Bin 55500 -> 55092 bytes
 iwlwifi-ma-b0-gf4-a0-86.ucode | Bin 0 -> 1670940 bytes
 iwlwifi-ma-b0-gf4-a0.pnvm     | Bin 28024 -> 27820 bytes
 iwlwifi-ma-b0-hr-b0-86.ucode  | Bin 0 -> 1520636 bytes
 iwlwifi-so-a0-gf-a0-84.ucode  | Bin 0 -> 1737644 bytes
 iwlwifi-so-a0-gf-a0-86.ucode  | Bin 0 -> 1679788 bytes
 iwlwifi-so-a0-gf-a0.pnvm      | Bin 55580 -> 55172 bytes
 iwlwifi-so-a0-gf4-a0-84.ucode | Bin 0 -> 1709900 bytes
 iwlwifi-so-a0-gf4-a0-86.ucode | Bin 0 -> 1653836 bytes
 iwlwifi-so-a0-gf4-a0.pnvm     | Bin 28064 -> 27860 bytes
 iwlwifi-so-a0-hr-b0-84.ucode  | Bin 0 -> 1549088 bytes
 iwlwifi-so-a0-hr-b0-86.ucode  | Bin 0 -> 1507388 bytes
 iwlwifi-ty-a0-gf-a0-84.ucode  | Bin 0 -> 1676912 bytes
 iwlwifi-ty-a0-gf-a0-86.ucode  | Bin 0 -> 1632464 bytes
 iwlwifi-ty-a0-gf-a0.pnvm      | Bin 55484 -> 55020 bytes
 20 files changed, 37 insertions(+), 1 deletion(-)
 create mode 100644 iwlwifi-gl-c0-fm-c0-86.ucode
 create mode 100644 iwlwifi-ma-b0-gf-a0-86.ucode
 create mode 100644 iwlwifi-ma-b0-gf4-a0-86.ucode
 create mode 100644 iwlwifi-ma-b0-hr-b0-86.ucode
 create mode 100644 iwlwifi-so-a0-gf-a0-84.ucode
 create mode 100644 iwlwifi-so-a0-gf-a0-86.ucode
 create mode 100644 iwlwifi-so-a0-gf4-a0-84.ucode
 create mode 100644 iwlwifi-so-a0-gf4-a0-86.ucode
 create mode 100644 iwlwifi-so-a0-hr-b0-84.ucode
 create mode 100644 iwlwifi-so-a0-hr-b0-86.ucode
 create mode 100644 iwlwifi-ty-a0-gf-a0-84.ucode
 create mode 100644 iwlwifi-ty-a0-gf-a0-86.ucode

Comments

Juerg Haefliger Jan. 16, 2024, 3:09 p.m. UTC | #1
Applied to linux-firmware jammy branch.

...Juerg


On Thu, 11 Jan 2024 17:04:53 +0800
You-Sheng Yang <vicamo.yang@canonical.com> wrote:

> BugLink: https://bugs.launchpad.net/bugs/2048853
> 
> [Impact]
> 
> Within stress reboot tests, iwlwifi may fail to load firmware, triggers retries,
> and finally makes wifi operative.
> 
>   iwlwifi 0000:05:00.0: Loaded firmware version: 83.d24e06ed.0 gl-c0-fm-c0-83.ucode
>   iwlwifi 0000:05:00.0: 0x00000071 | NMI_INTERRUPT_UMAC_FATAL
>   iwlwifi 0000:05:00.0: 0x000002F0 | trm_hw_status0
>   iwlwifi 0000:05:00.0: 0x00000000 | trm_hw_status1
>   iwlwifi 0000:05:00.0: 0x002C27F2 | branchlink2
>   iwlwifi 0000:05:00.0: 0x002B79AE | interruptlink1
> ......
>   iwlwifi 0000:05:00.0: UMAC CURRENT PC: 0x8026934e
>   iwlwifi 0000:05:00.0: LMAC1 CURRENT PC: 0xd0
>   iwlwifi 0000:05:00.0: LMAC2 CURRENT PC: 0xd0
>   iwlwifi 0000:05:00.0: UMAC CURRENT PC 1: 0x8026934c
>   iwlwifi 0000:05:00.0: TCM1 CURRENT PC: 0xd0
>   iwlwifi 0000:05:00.0: RCM1 CURRENT PC: 0xd0
>   iwlwifi 0000:05:00.0: RCM2 CURRENT PC: 0xd0
>   iwlwifi 0000:05:00.0: Function Scratch status:
>   iwlwifi 0000:05:00.0: 0x01010101 | Func Scratch
>   iwlwifi 0000:05:00.0: Failed to start RT ucode: -110
>   iwlwifi 0000:05:00.0: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
> 
> [Fix]
> 
> Resolved in upstream commit 318c64abfb33 ("iwlwifi: update gl FW for core80-165
> release").
> 
> While the iwlwifi firmware updates come with a sequential manner, it pulls a few
> more:
> 
> * 765492b8b ("iwlwifi: add new FWs from core81-65 release"), already in Mantic
> * a07fd0b96 ("iwlwifi: add new FWs from core83-55 release")
> * f27dec616 ("iwlwifi: fix for the new FWs from core83-55 release")
> 
> These contain firmware blob for ucore 84/86, and are not used by kernels < v6.7.
> 
> [Test Case]
> 
> Use checkbox reboot stress test case to observe iwlwifi dmesg logs:
> 
>   $ checkbox-cli run com.canonical.certification::stress/reboot
> 
> [Where problems could occur]
> 
> Opaque firmware update. No known issue found yet after the update.
> 
> [Other Info]
> 
> This affects series with kernels that load iwlwifi ucode 83 firmware, namely
> Noble, Mantic, and for oem-6.5, Jammy.
> 
> ----------------------------------------------------------------
> The following changes since commit 6095df14b6303c7587667e2adfb28dc3a6dcdcfb:
> 
>   UBUNTU: Ubuntu-20220329.git681281e4-0ubuntu3.24 (2023-12-15 13:54:14 +0100)
> 
> are available in the Git repository at:
> 
>   https://kernel.ubuntu.com/gitea/vicamo/linux-firmware.git bug-2048853/be200-iwlwifi-fw-update/jammy
> 
> for you to fetch changes up to 9d4ff4d3e628b4f4eb10ce68b407508457fe5d02:
> 
>   iwlwifi: update gl FW for core80-165 release (2024-01-11 16:36:49 +0800)
> 
> ----------------------------------------------------------------
> Gregory Greenman (3):
>       iwlwifi: add new FWs from core81-65 release
>       iwlwifi: add new FWs from core83-55 release
>       iwlwifi: fix for the new FWs from core83-55 release
> 
> Miri Korenblit (1):
>       iwlwifi: update gl FW for core80-165 release
> 
>  WHENCE                        |  38 +++++++++++++++++++++++++++++++++++++-
>  iwlwifi-gl-c0-fm-c0-83.ucode  | Bin 1799504 -> 1797996 bytes
>  iwlwifi-gl-c0-fm-c0-86.ucode  | Bin 0 -> 1840116 bytes
>  iwlwifi-gl-c0-fm-c0.pnvm      | Bin 246228 -> 246228 bytes
>  iwlwifi-ma-b0-gf-a0-86.ucode  | Bin 0 -> 1695788 bytes
>  iwlwifi-ma-b0-gf-a0.pnvm      | Bin 55500 -> 55092 bytes
>  iwlwifi-ma-b0-gf4-a0-86.ucode | Bin 0 -> 1670940 bytes
>  iwlwifi-ma-b0-gf4-a0.pnvm     | Bin 28024 -> 27820 bytes
>  iwlwifi-ma-b0-hr-b0-86.ucode  | Bin 0 -> 1520636 bytes
>  iwlwifi-so-a0-gf-a0-84.ucode  | Bin 0 -> 1737644 bytes
>  iwlwifi-so-a0-gf-a0-86.ucode  | Bin 0 -> 1679788 bytes
>  iwlwifi-so-a0-gf-a0.pnvm      | Bin 55580 -> 55172 bytes
>  iwlwifi-so-a0-gf4-a0-84.ucode | Bin 0 -> 1709900 bytes
>  iwlwifi-so-a0-gf4-a0-86.ucode | Bin 0 -> 1653836 bytes
>  iwlwifi-so-a0-gf4-a0.pnvm     | Bin 28064 -> 27860 bytes
>  iwlwifi-so-a0-hr-b0-84.ucode  | Bin 0 -> 1549088 bytes
>  iwlwifi-so-a0-hr-b0-86.ucode  | Bin 0 -> 1507388 bytes
>  iwlwifi-ty-a0-gf-a0-84.ucode  | Bin 0 -> 1676912 bytes
>  iwlwifi-ty-a0-gf-a0-86.ucode  | Bin 0 -> 1632464 bytes
>  iwlwifi-ty-a0-gf-a0.pnvm      | Bin 55484 -> 55020 bytes
>  20 files changed, 37 insertions(+), 1 deletion(-)
>  create mode 100644 iwlwifi-gl-c0-fm-c0-86.ucode
>  create mode 100644 iwlwifi-ma-b0-gf-a0-86.ucode
>  create mode 100644 iwlwifi-ma-b0-gf4-a0-86.ucode
>  create mode 100644 iwlwifi-ma-b0-hr-b0-86.ucode
>  create mode 100644 iwlwifi-so-a0-gf-a0-84.ucode
>  create mode 100644 iwlwifi-so-a0-gf-a0-86.ucode
>  create mode 100644 iwlwifi-so-a0-gf4-a0-84.ucode
>  create mode 100644 iwlwifi-so-a0-gf4-a0-86.ucode
>  create mode 100644 iwlwifi-so-a0-hr-b0-84.ucode
>  create mode 100644 iwlwifi-so-a0-hr-b0-86.ucode
>  create mode 100644 iwlwifi-ty-a0-gf-a0-84.ucode
>  create mode 100644 iwlwifi-ty-a0-gf-a0-86.ucode
>