[PATCH v2 0/3] ACPI: processor: idle: Clean up max_cstate update logic
From: Huisong Li
Date: Wed Mar 11 2026 - 02:51:01 EST
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(-)
--
2.33.0