Add support for hidden choices to platform_profile
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 20 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ACPI: platform_profile: Add support for hidden choicesdrivers/ include/ | +76 | 9 replies | |
| 2/3 | platform/x86/amd: pmf: Add 'quiet' to hidden choicesdrivers/ | +9 | 0 replies | |
| 3/3 | platform/x86/amd: pmf: Add balanced-performance to hidden choicesdrivers/ | +2 | 0 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Derek J. Clark | Antheas Kapenekakis | Ilpo Järvinen |
|---|---|---|---|
| Series | T-b | T-b | A-b |
| 1/3 | |||
| 2/3 | |||
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 0/3] Add support for hidden choices to platform_profile
From: Mario Limonciello <[email protected]>
When two drivers provide platform profile handlers but use different strings to mean (essentially) the same thing the legacy interface won't export them because it only shows profiles common to multiple drivers.
This causes an unexpected behavior to people who have upgraded from an earlier kernel because if multiple drivers have bound platform profile handlers they might not be able to access profiles they were expecting.
Introduce a concept of a "hidden choice" that drivers can register and the platform profile handler code will utilize when using the legacy interface.
There have been some other attempts at solving this issue in other ways. This serves as an alternative to those attempts.
Mario Limonciello (3):
ACPI: platform_profile: Add support for hidden choices platform/x86/amd: pmf: Add 'quiet' to hidden choices platform/x86/amd: pmf: Add balanced-performance to hidden choices
drivers/acpi/platform_profile.c | 94 +++++++++++++++++++++++------- drivers/platform/x86/amd/pmf/sps.c | 11 ++++ include/linux/platform_profile.h | 3 + 3 files changed, 87 insertions(+), 21 deletions(-)
Signature · 1 line
2.43.0