Bug 215177
Summary: | Stop exporting platform_profile interface for Lenovo T14/P14s Gen2 AMD | ||
---|---|---|---|
Product: | Drivers | Reporter: | bjoern.daase |
Component: | Platform_x86 | Assignee: | Mark Pearson (mpearson-lenovo) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | bugzilla, mario.limonciello, mpearson-lenovo |
Priority: | P1 | ||
Hardware: | AMD | ||
OS: | Linux | ||
Kernel Version: | 5.15.5 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
bjoern.daase
2021-11-30 16:20:48 UTC
It's fortunate that it's a noop right now and not causing a performance degradation. Presumably these systems DYTC interface *does* work on Windows though, and with the modified calls right? I suppose there are two short term ways to approach this: 1) Quirk thinkpad_acpi to these systems/ broken BIOS versions to disable platform profiles. This assumes it will be fixed in a future BIOS version. 2) Quirk thinkpad_acpi to use the corrected argument mapping on these systems, mentioned in that linked issue. IMO between those two options the second sounds better. In the longer term though I think the discrepancy of expectations needs to be fixed in thinkpad_acpi. That's indeed the better option. I just wasn't sure there is anyone who has the knowledge to fix this who also wants to fix this, as this definitely sounds more complex than simply disabling them. Just to note here, as is stated in the Lenovo forum thread where this was originally raised, I am looking into this with the AMD platforms FW team to see if we can add support. I'll update once I have a better understanding of the best way to solve it. This has been fixed in 5.18 and later: https://github.com/torvalds/linux/commit/e1c21608e3cfc4b44ecdf04e12986b6564667095 |