MT7925 controller timeout during Suspend stress test

Bug #2095279 reported by En-Wei Wu
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HWE Next
New
Undecided
Unassigned
linux (Ubuntu)
Status tracked in Plucky
Noble
Invalid
Undecided
Unassigned
Oracular
New
Undecided
Unassigned
Plucky
Invalid
Undecided
Unassigned
linux-firmware (Ubuntu)
Status tracked in Plucky
Noble
Fix Released
Undecided
En-Wei Wu
Oracular
Fix Released
Undecided
Unassigned
Plucky
Fix Released
Undecided
Unassigned
linux-oem-6.11 (Ubuntu)
Status tracked in Plucky
Noble
Fix Released
Undecided
En-Wei Wu
Oracular
New
Undecided
Unassigned
Plucky
New
Undecided
Unassigned

Bug Description

[Impact]
When doing suspend test, the system will fail to be suspended since the MT7925 controller couldn't be suspended. The root cause is caused by the command timeout issued from mt7925 driver.

[Fix]
Cherry-pick the following two patches from linux-next:

1b97fc8443ae wifi: mt76: mt7925: fix the unfinished command of regd_notifier before suspend
8f6571ad470f wifi: mt76: mt7925: add handler to hif suspend/resume event

Also, cherry-pick the following commits from linux-firmware:

47c8a6053c64 linux-firmware: update firmware for MT7925 WiFi device
62ee1c4b2d35 linux-firmware: update firmware for MT7925 WiFi device

[Test Plan]
1. Install Ubuntu image and boot into the OS
2. Run the suspend test by $ fwts s3 --s3-device-check --s3-device-check-delay=60 --s3-multiple=1 --s3-sleep-delay=60, and see if the error occurred.

[Where problems could occur]
Due to the new FW, there might be a unexpected behavior of the MT7925 hardware.

CVE References

En-Wei Wu (rickywu)
Changed in linux (Ubuntu):
status: New → Invalid
Changed in linux (Ubuntu Noble):
status: New → Invalid
Changed in linux-oem-6.11 (Ubuntu Noble):
assignee: nobody → En-Wei Wu (rickywu)
Changed in linux-firmware (Ubuntu Noble):
assignee: nobody → En-Wei Wu (rickywu)
En-Wei Wu (rickywu)
tags: added: jira-wtn-183 oem-priority
description: updated
LEE KUAN-YING (kyyc0426)
Changed in linux-oem-6.11 (Ubuntu Noble):
status: New → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-oem-6.11/6.11.0-1014.14 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-noble-linux-oem-6.11' to 'verification-done-noble-linux-oem-6.11'. If the problem still exists, change the tag 'verification-needed-noble-linux-oem-6.11' to 'verification-failed-noble-linux-oem-6.11'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-noble-linux-oem-6.11-v2 verification-needed-noble-linux-oem-6.11
Juerg Haefliger (juergh)
Changed in linux-firmware (Ubuntu Noble):
status: New → Fix Committed
Changed in linux-firmware (Ubuntu Oracular):
status: New → Fix Committed
Changed in linux-firmware (Ubuntu Plucky):
status: New → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello En-Wei, or anyone else affected,

Accepted linux-firmware into oracular-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/linux-firmware/20240913.gita34e7a5f-0ubuntu2.5 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-oracular to verification-done-oracular. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-oracular. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Hello En-Wei, or anyone else affected,

Accepted linux-firmware into noble-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/linux-firmware/20240318.git3b128b60-0ubuntu2.8 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-noble to verification-done-noble. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-noble. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Hello En-Wei, or anyone else affected,

Accepted linux-firmware into noble-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/linux-firmware/20240318.git3b128b60-0ubuntu2.10 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-noble to verification-done-noble. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-noble. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

En-Wei Wu (rickywu)
tags: added: verification-done-noble-linux-oem-6.11
removed: verification-needed-noble-linux-oem-6.11
Viral Wang (viralwang)
tags: added: verification-needed-noble verification-needed-oracular
En-Wei Wu (rickywu)
tags: added: verification-done-oracular
removed: verification-needed-oracular
tags: added: verification-needed-oracular
removed: verification-done-oracular
En-Wei Wu (rickywu)
tags: added: verification-done-noble verification-done-oracular
removed: verification-needed-noble verification-needed-oracular
Revision history for this message
En-Wei Wu (rickywu) wrote :

I've tested:

1. Noble 6.8.0-53-generic with linux-firmware 20240318.git3b128b60-0ubuntu2.8. It worked fine without any problem.
2. Oracular with linux-firmware 20240913.gita34e7a5f-0ubuntu2.5. It also worked fine.

Revision history for this message
Timo Aaltonen (tjaalton) wrote : Update Released

The verification of the Stable Release Update for linux-oem-6.11 has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (255.9 KiB)

This bug was fixed in the package linux-oem-6.11 - 6.11.0-1015.15

---------------
linux-oem-6.11 (6.11.0-1015.15) noble; urgency=medium

  [ Ubuntu: 6.11.0-18.18 ]

  * CVE-2025-0927
    - SAUCE: fs: hfs/hfsplus: add key_len boundary check to hfs_bnode_read_key

linux-oem-6.11 (6.11.0-1014.14) noble; urgency=medium

  * noble/linux-oem-6.11: 6.11.0-1014.14 -proposed tracker (LP: #2093642)

  * Packaging resync (LP: #1786013)
    - [Packaging] debian.oem/dkms-versions -- update from kernel-versions
      (main/2025.01.13)

  * Add list of source files to linux-buildinfo (LP: #2086606)
    - [Packaging] Add dwarfdump package in the Build-Depends

  * Enable DP tunnel on xe driver(for lunar lake platform) (LP: #2095287)
    - drm/xe/dp: Enable DP tunneling
    - Ubuntu: [Config] Enable CONFIG_DRM_XE_DP_TUNNEL

  * The ALS doesn't work(regression) (LP: #2095561)
    - Revert "UBUNTU: SAUCE: iio: hid-sensor-attributes: validate sensitivity
      attributes"
    - SAUCE: HID: quirks: ignore non-functional sensor in HP 5MP Camera

  * [SRU] Introduce support for RTL8125BPH 2.5 GbE controller. (LP: #2092384)
    - r8169: add support for RTL8125D
    - r8169: remove leftover locks after reverted change
    - r8169: improve __rtl8169_set_wol
    - r8169: improve rtl_set_d3_pll_down
    - r8169: align WAKE_PHY handling with r8125/r8126 vendor drivers
    - r8169: align RTL8125 EEE config with vendor driver
    - net: phy: convert eee_broken_modes to a linkmode bitmap
    - net: phy: add phy_set_eee_broken
    - r8169: copy vendor driver 2.5G/5G EEE advertisement constraints
    - net: phy: realtek: merge the drivers for internal NBase-T PHY's
    - net: phy: realtek: add RTL8125D-internal PHY
    - r8169: adjust version numbering for RTL8126
    - r8169: add support for RTL8125D rev.b
    - r8169: add support for RTL8125BP rev.b

  * MT7925 controller timeout during Suspend stress test (LP: #2095279)
    - wifi: mt76: mt7925: fix the unfinished command of regd_notifier before
      suspend
    - wifi: mt76: mt7925: add handler to hif suspend/resume event

  [ Ubuntu: 6.11.0-17.17 ]

  * oracular/linux: 6.11.0-17.17 -proposed tracker (LP: #2093643)
  * Packaging resync (LP: #1786013)
    - [Packaging] debian.master/dkms-versions -- update from kernel-versions
      (main/2025.01.13)
  * When /dev/vmbus/hv_kvp is not present, disable hv-kvp-daemon (LP: #2091744)
    - [Packaging] disable hv-kvp-daemon if needed
  * Backport "netkit: Add option for scrubbing skb meta data" to 6.8
    (LP: #2091184)
    - netkit: Add option for scrubbing skb meta data
  * KVM: Cache CPUID at KVM.ko module init to reduce latency of VM-Enter and VM-
    Exit (LP: #2093146)
    - KVM: x86: Cache CPUID.0xD XSTATE offsets+sizes during module init
  * [SRU] add support of QCA BT 0489:e0fc (LP: #2085406)
    - Bluetooth: btusb: add Foxconn 0xe0fc for Qualcomm WCN785x
  * oracular: ubuntu_boot lib/dynamic_queue_limits.c:99! (LP: #2089684)
    - virtio_net: correct netdev_tx_reset_queue() invocation point
    - virtio_ring: add a func argument 'recycle_done' to virtqueue_resize()
    - virtio_net: ensure netdev_tx_reset_queue is called on tx ring resize
  * Failed to probe for OVT...

Changed in linux-oem-6.11 (Ubuntu Noble):
status: Fix Committed → Fix Released
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Hi @rickywu, in comment #5 you wrote:

> 1. Noble 6.8.0-53-generic with linux-firmware 20240318.git3b128b60-0ubuntu2.8. It worked fine without any
> problem.

That is not the correct version of linux-firmware from noble-proposed. noble-proposed has 20240318.git3b128b60-0ubuntu2.10, and noble-updates has 20240318.git3b128b60-0ubuntu2.9.

Please clarify. In the meantime, I'm changing the verification tag back to verification-needed-noble.

tags: added: verification-needed-noble
removed: verification-done-noble
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-firmware - 20240913.gita34e7a5f-0ubuntu2.5

---------------
linux-firmware (20240913.gita34e7a5f-0ubuntu2.5) oracular; urgency=medium

  * [SRU] Introduce support for RTL8125BPH 2.5 GbE controller. (LP: #2092384)
    - rtl_nic: add firmware rtl8125bp-2
  * With OLED panel attached to amdgpu the glxgear fps is too low (LP: #2093400)
    - amdgpu: update DMCUB to v0.0.233.0 DCN351
    - amdgpu: DMCUB updates forvarious AMDGPU ASICs
    - amdgpu: DMCUB updates for various AMDGPU ASICs
    - amdgpu: update DMCUB to v9.0.10.0 for DCN351
    - amdgpu: update dmcub 0.0.246.0 firmware
  * MT7925 controller timeout during Suspend stress test (LP: #2095279)
    - linux-firmware: update firmware for MT7925 WiFi device
  * No sound output from one of the speaker on HP ZBook[cs35l56] (LP: #2095334)
    - cirrus: cs35l56: Correct some links to address the correct amp instance

 -- Juerg Haefliger <email address hidden> Tue, 04 Feb 2025 10:05:12 +0100

Changed in linux-firmware (Ubuntu Oracular):
status: Fix Committed → Fix Released
Revision history for this message
Juerg Haefliger (juergh) wrote (last edit ):

@ahasenack This bug was initially fixed in Noble 20240318.git3b128b60-0ubuntu2.8 which @rickywu verified. We then reverted the fix in 2.9 for the point release and brought it back in 2.10. The 2.8 and 2.10 packages are identical except for the changelog. From my perspective his verification of 2.8 is still valid for 2.10 but it's there SRU team's call.

Revision history for this message
En-Wei Wu (rickywu) wrote :

Hi @ahasenack and @juergh, I just tested Nobel 6.8.0-53-generic with linux-firwmare 20240318.git3b128b60-0ubuntu2.10 and it's verified without issue.

tags: added: verification-done-noble
removed: verification-needed-noble
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-firmware - 20240318.git3b128b60-0ubuntu2.10

---------------
linux-firmware (20240318.git3b128b60-0ubuntu2.10) noble; urgency=medium

  * [SRU] Introduce support for RTL8125BPH 2.5 GbE controller. (LP: #2092384)
    - rtl_nic: add firmware rtl8125bp-2
  * With OLED panel attached to amdgpu the glxgear fps is too low (LP: #2093400)
    - amdgpu: update DMCUB to v0.0.224.0 for Various AMDGPU Asics
    - amdgpu: update DMCUB to v0.0.225.0 for Various AMDGPU Asics
    - amdgpu: update DMCUB to v0.0.227.0 for DCN35 and DCN351
    - amdgpu: DMCUB updates for various AMDGPU ASICs
    - amdgpu: DMCUB updates forvarious AMDGPU ASICs
    - amdgpu: update DMCUB to v0.0.232.0 for DCN314 and DCN351
    - amdgpu: update DMCUB to v0.0.233.0 DCN351
    - amdgpu: DMCUB updates forvarious AMDGPU ASICs
    - amdgpu: DMCUB updates for various AMDGPU ASICs
    - amdgpu: update DMCUB to v9.0.10.0 for DCN351
    - amdgpu: update dmcub 0.0.246.0 firmware
  * MT7925 controller timeout during Suspend stress test (LP: #2095279)
    - linux-firmware: update firmware for MT7925 WiFi device
    - linux-firmware: update firmware for MT7925 WiFi device
  * Add missing audio firmware files for Realtek rtl1320 amplifier (LP: #2093304)
    - realtek: rt1320: Add patch firmware of MCU
  * No sound output from one of the speaker on HP ZBook[cs35l56] (LP: #2095334)
    - cirrus: cs35l56: Correct some links to address the correct amp instance

 -- Juerg Haefliger <email address hidden> Thu, 06 Feb 2025 17:06:58 +0100

Changed in linux-firmware (Ubuntu Noble):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.