Fix suspend error of SOF driver
Bug #1908713 reported by
Kai-Heng Feng
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HWE Next |
Fix Released
|
Undecided
|
Unassigned | ||
linux-oem-5.6 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
SOF driver in oem-5.6 kernel tries to access HDA codec register when the
codec is already suspended. This may freeze suspend.
[Fix]
Revert HDA codec PM direct-complete optimization.
The same suspend optimization works perfectly on 5.8 and 5.10 kernel, so
something's wrong in the SOF driver in oem-5.6. However, SOF in oem-5.6
is in Frankenstein state so we better not touch it.
[Test]
Suspend a laptop with SOF driver, it can take 30 seconds to suspend, or
worse, it freezes.
With the patch applied, it can suspend in 1 second.
[Regression Risk]
For HDA codecs that benefit from this PM optimization, it'll take longer
to suspend and resume. Nothing else changes other than that.
Changed in linux-oem-5.6 (Ubuntu): | |
status: | New → Invalid |
Changed in linux-oem-5.6 (Ubuntu Focal): | |
status: | New → Confirmed |
importance: | Undecided → High |
tags: | added: oem-priority originate-from-1908495 stella |
Changed in linux-oem-5.6 (Ubuntu Focal): | |
status: | Confirmed → Fix Committed |
tags: |
added: verification-done-focal removed: verification-needed-focal |
tags: | added: cert-sru |
Changed in hwe-next: | |
status: | New → Fix Released |
To post a comment you must log in.
This bug is awaiting verification that the 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- focal' to 'verification- done-focal' . If the problem still exists, change the tag 'verification- needed- focal' to 'verification- failed- focal'.
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!