Re: [PATCH v1 7/8] ACPI: bus: Adjust feature mask creation for \_SB._OSC

Jonathan Cameron
2025-12-19T12:58:35Z

On Thu, 18 Dec 2025 21:41:42 +0100
"Rafael J. Wysocki" <rafael@kernel.org> wrote:

> From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
>
> 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@intel.com>
Nice.

Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>