[PATCH 0/3] ACPI: processor: idle: Fix ACPI idle handling in power notify on failure

Huisong Li posted 3 patches 6 days, 16 hours ago
drivers/acpi/processor_idle.c | 37 +++++++++++++++++++++++++++++------
drivers/cpuidle/cpuidle.c     |  5 ++++-
include/linux/cpuidle.h       |  2 ++
3 files changed, 37 insertions(+), 7 deletions(-)
[PATCH 0/3] ACPI: processor: idle: Fix ACPI idle handling in power notify on failure
Posted by Huisong Li 6 days, 16 hours ago
The content in this series was initially discussed in the link [1].
This series disable ACPI idle feature if get power information failed in
power notify becuase the old idle states may not be usable anymore.

In addition, keep the same logical as acpi_processor_register_idle_driver
to get avaiable power information from all online CPUs instead of CPU0.

[1] https://lore.kernel.org/all/20251103084244.2654432-1-lihuisong@huawei.com

Huisong Li (3):
  cpuidle: Add enable_cpuidle() interface
  ACPI: processor: idle: Disable ACPI idle if get power information
    failed in power notify
  ACPI: processor: idle: Update idle states from avaiable power
    information

 drivers/acpi/processor_idle.c | 37 +++++++++++++++++++++++++++++------
 drivers/cpuidle/cpuidle.c     |  5 ++++-
 include/linux/cpuidle.h       |  2 ++
 3 files changed, 37 insertions(+), 7 deletions(-)

-- 
2.33.0