Skip to content

Add quiet/low power compat code

Mario Limonciello linux-acpi lkml platform-driver-x86 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest1 patch 13 repliesIn review

Changes in v2 from the cover letter

* Drop hidden choices.
* Just add compatibility to the core for low power and quiet modes

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1ACPI: platform_profile: Treat quiet and low power the samedrivers/acpi/platform_profile.c+35 -313 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/1] Add quiet/low power compat code

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 compatibility mode to the core that when one driver supports quiet and the other supports low power that allows both to enter the appropriate mode.

There have been some other attempts at solving this issue in other ways. This serves as an alternative to those attempts.

v1 -> v2:
* Drop hidden choices.
* Just add compatibility to the core for low power and quiet modes

Mario Limonciello (1):
ACPI: platform_profile: Treat quiet and low power the same

 drivers/acpi/platform_profile.c | 26 +++++++++++++++++++++++---
 1 file changed, 23 insertions(+), 3 deletions(-)
Signature · 1 line
2.43.0