Re: [PATCH v1 7/8] ACPI: bus: Adjust feature mask creation for \_SB._OSC
From: Jonathan Cameron
Date: Fri Dec 19 2025 - 07:58:35 EST
On Thu, 18 Dec 2025 21:41:42 +0100
"Rafael J. Wysocki" <rafael@xxxxxxxxxx> wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
>
> The feature mask creation for \_SB._OSC platform features is messy
> and hard to follow, so clean it up and make all of the CPPC-related
> features depend on CONFIG_ACPI_CPPC_LIB as they will not work if it
> is not set anyway.
>
> Also make acpi_bus_osc_negotiate_platform_control() print a message
> including a bit mask representing the features for which control has
> been granted.
>
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
Nice.
Reviewed-by: Jonathan Cameron <jonathan.cameron@xxxxxxxxxx>