diff mbox series

[SRU,linux-firmware,Focal,PULL] Fix mediatek mt7921e unexpected chip reset

Message ID 20220120173006.328537-1-vicamo.yang@canonical.com
State New
Headers show
Series [SRU,linux-firmware,Focal,PULL] Fix mediatek mt7921e unexpected chip reset | expand

Commit Message

You-Sheng Yang Jan. 20, 2022, 5:30 p.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1958286

[Impact]

Mediatek MT7921 may fail to resume from runtime suspend can cause chip
reset.

  mt7921e 0000:02:00.0: PM: failed to resume async: error -110
  mt7921e 0000:02:00.0: chip reset

[Fix]

This is fixed with both bluetooth and WiFi firmware upgrade to
upstream commit 094d7adc1136 ("linux-firmware: update firmware for
MT7921 WiFi device") and commit 1e744b85cd4c ("linux-firmware: update
firmware for mediatek bluetooth chip(MT7921)").

[Test Case]

This can be triggered by checkbox warm reset stress test:

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

[Where problems could occur]

This imports fixes requiring both kernel driver and proprietary firmware
updates, the firmware part might cause instability or so.

[Other Info]

This affects all kernels supporting MT7921, which means F/H/I/J.

----------------------------------------------------------------

The following changes since commit 3d8885923786821fd9094f741339c32bb3e77a7b:

  amdgpu: update VCN firmware for renoir (2022-01-19 09:35:20 +0100)

are available in the Git repository at:

  https://git.launchpad.net/~vicamo/ubuntu/+source/linux-firmware bug-1958286/mt7921e-unexpected-chip-reset/focal-pull

for you to fetch changes up to 1ca2ea1fa5f09f2a0ecf4e9dff984f1597e6b721:

  linux-firmware: update firmware for mediatek bluetooth chip(MT7921) (2022-01-20 17:50:59 +0800)

----------------------------------------------------------------
Deren Wu (2):
      linux-firmware: update firmware for MT7921 WiFi device
      linux-firmware: update firmware for MT7921 WiFi device

Mark Chen (3):
      linux-firmware: update frimware for mediatek bluetooth chip (MT7921)
      linux-firmware: update firmware for mediatek bluetooth chip (MT7921)
      linux-firmware: update firmware for mediatek bluetooth chip(MT7921)

 WHENCE                                     |   6 +++---
 mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin    | Bin 518062 -> 512494 bytes
 mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin | Bin 92192 -> 92192 bytes
 mediatek/WIFI_RAM_CODE_MT7961_1.bin        | Bin 689864 -> 694984 bytes
 4 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin b/mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin
index 54b5981889bc..77faf205a2a9 100644
Binary files a/mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin and b/mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin differ
diff --git a/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin b/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin
index d63e48da73f9..7a9d9f012963 100644
Binary files a/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin and b/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin differ
diff --git a/mediatek/WIFI_RAM_CODE_MT7961_1.bin b/mediatek/WIFI_RAM_CODE_MT7961_1.bin
index 2a0599f59b51..c4325fb1fa7e 100644
Binary files a/mediatek/WIFI_RAM_CODE_MT7961_1.bin and b/mediatek/WIFI_RAM_CODE_MT7961_1.bin differ

Comments

Juerg Haefliger Jan. 24, 2022, 8:14 a.m. UTC | #1
Applied to linux-firmware focal branch.

...Juerg


> BugLink: https://bugs.launchpad.net/bugs/1958286
> 
> [Impact]
> 
> Mediatek MT7921 may fail to resume from runtime suspend can cause chip
> reset.
> 
>   mt7921e 0000:02:00.0: PM: failed to resume async: error -110
>   mt7921e 0000:02:00.0: chip reset
> 
> [Fix]
> 
> This is fixed with both bluetooth and WiFi firmware upgrade to
> upstream commit 094d7adc1136 ("linux-firmware: update firmware for
> MT7921 WiFi device") and commit 1e744b85cd4c ("linux-firmware: update
> firmware for mediatek bluetooth chip(MT7921)").
> 
> [Test Case]
> 
> This can be triggered by checkbox warm reset stress test:
> 
>   $ checkbox-cli run com.canonical.certification::stress/reboot
> 
> [Where problems could occur]
> 
> This imports fixes requiring both kernel driver and proprietary firmware
> updates, the firmware part might cause instability or so.
> 
> [Other Info]
> 
> This affects all kernels supporting MT7921, which means F/H/I/J.
> 
> ----------------------------------------------------------------
> 
> The following changes since commit 3d8885923786821fd9094f741339c32bb3e77a7b:
> 
>   amdgpu: update VCN firmware for renoir (2022-01-19 09:35:20 +0100)
> 
> are available in the Git repository at:
> 
>   https://git.launchpad.net/~vicamo/ubuntu/+source/linux-firmware bug-1958286/mt7921e-unexpected-chip-reset/focal-pull
> 
> for you to fetch changes up to 1ca2ea1fa5f09f2a0ecf4e9dff984f1597e6b721:
> 
>   linux-firmware: update firmware for mediatek bluetooth chip(MT7921) (2022-01-20 17:50:59 +0800)
> 
> ----------------------------------------------------------------
> Deren Wu (2):
>       linux-firmware: update firmware for MT7921 WiFi device
>       linux-firmware: update firmware for MT7921 WiFi device
> 
> Mark Chen (3):
>       linux-firmware: update frimware for mediatek bluetooth chip (MT7921)
>       linux-firmware: update firmware for mediatek bluetooth chip (MT7921)
>       linux-firmware: update firmware for mediatek bluetooth chip(MT7921)
> 
>  WHENCE                                     |   6 +++---
>  mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin    | Bin 518062 -> 512494 bytes
>  mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin | Bin 92192 -> 92192 bytes
>  mediatek/WIFI_RAM_CODE_MT7961_1.bin        | Bin 689864 -> 694984 bytes
>  4 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/WHENCE b/WHENCE
> index 7657c56d8a2f..c4cafca3cd5e 100644
> --- a/WHENCE
> +++ b/WHENCE
> @@ -4553,9 +4553,9 @@ Licence: Redistributable. See LICENCE.mediatek for details.
>  Driver: mt7921 - MediaTek MT7921 Wireless MACs
>  
>  File: mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin
> -Version: 20211014150838a
> +Version: 20220110230855a
>  File: mediatek/WIFI_RAM_CODE_MT7961_1.bin
> -Version: 20211014150922
> +Version: 20220110230951
>  
>  Licence: Redistributable. See LICENCE.mediatek for details.
>  
> @@ -4564,7 +4564,7 @@ Licence: Redistributable. See LICENCE.mediatek for details.
>  Driver: mt7921 - MediaTek MT7921 bluetooth chipset
>  
>  File: mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin
> -Version: 20211018131102
> +Version: 20220110231230
>  
>  Licence: Redistributable. See LICENCE.mediatek for details.
>  
> diff --git a/mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin b/mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin
> index 54b5981889bc..77faf205a2a9 100644
> Binary files a/mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin and b/mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin differ
> diff --git a/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin b/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin
> index d63e48da73f9..7a9d9f012963 100644
> Binary files a/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin and b/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin differ
> diff --git a/mediatek/WIFI_RAM_CODE_MT7961_1.bin b/mediatek/WIFI_RAM_CODE_MT7961_1.bin
> index 2a0599f59b51..c4325fb1fa7e 100644
> Binary files a/mediatek/WIFI_RAM_CODE_MT7961_1.bin and b/mediatek/WIFI_RAM_CODE_MT7961_1.bin differ
>
diff mbox series

Patch

diff --git a/WHENCE b/WHENCE
index 7657c56d8a2f..c4cafca3cd5e 100644
--- a/WHENCE
+++ b/WHENCE
@@ -4553,9 +4553,9 @@  Licence: Redistributable. See LICENCE.mediatek for details.
 Driver: mt7921 - MediaTek MT7921 Wireless MACs
 
 File: mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin
-Version: 20211014150838a
+Version: 20220110230855a
 File: mediatek/WIFI_RAM_CODE_MT7961_1.bin
-Version: 20211014150922
+Version: 20220110230951
 
 Licence: Redistributable. See LICENCE.mediatek for details.
 
@@ -4564,7 +4564,7 @@  Licence: Redistributable. See LICENCE.mediatek for details.
 Driver: mt7921 - MediaTek MT7921 bluetooth chipset
 
 File: mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin
-Version: 20211018131102
+Version: 20220110231230
 
 Licence: Redistributable. See LICENCE.mediatek for details.