Fix power button wakeup with shared IRQs on AMD platforms
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HWE Next |
Fix Released
|
Medium
|
Unassigned | ||
linux-oem-5.14 (Ubuntu) |
Fix Released
|
Medium
|
Alex Hung | ||
Focal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
On some platform designs the the power button wakeup from s0i3 doesn't work even with the existing changes to IRQ handling for the GPIO controller.
In these designs the ACPI SCI and GPIO controller share an IRQ. Due to the way the s2idle loop handles the IRQ for the ACPI SCI the GPIO controller driver doesn't get a chance to wake the system in this circumstance.
[Fix]
To fix this rework the existing IRQ handler function to function as a checker and an IRQ handler depending on the calling arguments.
The patches were cherry-picked from 5.16rc3.
[Test]
This is requested by AMD. The test was done on two systems L15 AMD Gen2 and P14s AMD Gen2 and both can be waken up by power button presses.
[Where problems could occur]
Risk is low. This only affects AMD platforms with s0i3 enabled. Suspends/resumes are not affect.
Changed in linux (Ubuntu): | |
assignee: | nobody → Alex Hung (alexhung) |
status: | New → Fix Committed |
status: | Fix Committed → In Progress |
description: | updated |
description: | updated |
tags: | added: amd oem-priority originate-from-1950332 |
Changed in linux (Ubuntu Focal): | |
status: | New → Invalid |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
Changed in hwe-next: | |
importance: | Undecided → Medium |
affects: | linux (Ubuntu Focal) → linux-oem-5.14 (Ubuntu Focal) |
Changed in linux-oem-5.14 (Ubuntu Focal): | |
status: | Invalid → In Progress |
tags: |
added: verification-done-focal removed: verification-needed-focal |
Changed in linux-oem-5.14 (Ubuntu): | |
status: | In Progress → Fix Released |
This bug is awaiting verification that the linux-oem- 5.14/5. 14.0-1011. 11 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!