Re: [PATCH v2 0/3] ACPI: processor: idle: Clean up max_cstate update logic

From: Rafael J. Wysocki

Date: Wed Mar 11 2026 - 14:37:26 EST


On Wed, Mar 11, 2026 at 7:50 AM Huisong Li <lihuisong@xxxxxxxxxx> wrote:
>
> The acpi_processor_cstate_first_run_checks() just need to call once
> in acpi_processor_register_idle_driver(). This series cleans up the
> redundant calls and internal guards.
>
> ---
> Changes in v2:
> - Add a new patch which move max_cstate update out of the loop in
> acpi_processor_register_idle_driver.
>
> ---
> Huisong Li (3):
> ACPI: processor: idle: Remove redundant cstate check in acpi_processor_power_init
> ACPI: processor: idle: Move max_cstate update out of the loop
> ACPI: processor: idle: Remove redundant static variable and rename cstate check function
>
> drivers/acpi/processor_idle.c | 15 ++++-----------
> 1 file changed, 4 insertions(+), 11 deletions(-)
>
> --

Applied as 7.1 material, thanks!