Fix a race condition with AMD PMF and Thinkpad-ACPI
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HWE Next |
Fix Released
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Invalid
|
Undecided
|
Unassigned | ||
Kinetic |
Invalid
|
Undecided
|
Unassigned | ||
Lunar |
Fix Released
|
Undecided
|
Unassigned | ||
linux-oem-6.0 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
High
|
You-Sheng Yang | ||
Kinetic |
Invalid
|
Undecided
|
Unassigned | ||
Lunar |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[SRU Justification]
[Impact]
Depending on module load order there is a possibility that the AMT mode
selected initially by PMF will be incorrect if thinkpad_acpi has loaded
first.
[Fix]
To avoid this issue adjust the initialization order in the PMF driver.
Commit 22ee98cb696e ("platform/
acpi init") takes the work, but it depends on two more commits that were
tagged as fixes for commits landed in bug 1987670.
[Test Case]
1. blacklist both amd-pmf and thinkpad-acpi
2. load thinkpad-acpi first
3. Load amd-pmf with dynamic debugging enabled
[Where problems could occur]
The first two parts are trivial, and the third one may have to receive
tests to find out if it has some other interference due to the load
order.
[Other Info]
AMD PMF targets oem-6.0 or above and has included in v6.1-rc1.
========== original bug report ==========
Depending on module load order there is a possibility that the AMT mode selected initially by PMF will be incorrect if thinkpad_acpi has loaded first.
To avoid this issue adjust the initialization order in the PMF driver.
https:/
tags: | added: amd oem-priority originate-from-1992403 |
Changed in linux-oem-6.0 (Ubuntu Kinetic): | |
status: | New → Invalid |
description: | updated |
Changed in linux-oem-6.0 (Ubuntu Jammy): | |
status: | Confirmed → In Progress |
importance: | Undecided → High |
assignee: | nobody → You-Sheng Yang (vicamo) |
Changed in linux-oem-6.0 (Ubuntu Jammy): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Jammy): | |
status: | New → Invalid |
Changed in linux (Ubuntu Kinetic): | |
status: | New → Invalid |
Changed in linux (Ubuntu Lunar): | |
status: | New → Invalid |
status: | Invalid → Triaged |
tags: | added: verification-needed-jammy |
Changed in hwe-next: | |
status: | New → Fix Released |
This depends on a few more AMD PMF fixes: x86/amd/ pmf: Fix undefined reference to platform_profile") x86/amd/ pmf: Fix clang unused variable warning")
* c2f7edf81a82 ("platform/
* ea522b806162 ("platform/
These two commits also have Fixes tag for commits previously landed in bug 1987670.