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

You-Sheng Yang vicamo.yang at canonical.com
Thu Jan 20 17:30:16 UTC 2022


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 is fixed in firmware, so it's affecting all kernels supporting
MT7921, which means F/H/I/J.

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

The following changes since commit 6f345964a8e7cb085182df6935cde82a512e21cb:

  UBUNTU: [Packaging] rules: Remove helper script targets (2022-01-13 13:30:49 +0100)

are available in the Git repository at:

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

for you to fetch changes up to 6d99e3480ae685fbe260dcdbd7f0efd9de589b30:

  linux-firmware: update firmware for mediatek bluetooth chip(MT7921) (2022-01-21 01:25:55 +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 36042347fd49..586110d25a37 100644
--- a/WHENCE
+++ b/WHENCE
@@ -4873,9 +4873,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.
 
@@ -4884,7 +4884,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



More information about the kernel-team mailing list