[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251125072933.3706006-1-lihuisong@huawei.com>
Date: Tue, 25 Nov 2025 15:29:30 +0800
From: Huisong Li <lihuisong@...wei.com>
To: <rafael@...nel.org>, <lenb@...nel.org>
CC: <linux-acpi@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<Sudeep.Holla@....com>, <linuxarm@...wei.com>, <jonathan.cameron@...wei.com>,
<zhanjie9@...ilicon.com>, <zhenglifeng1@...wei.com>, <yubowen8@...wei.com>,
<lihuisong@...wei.com>
Subject: [PATCH 0/3] ACPI: processor: idle: Fix ACPI idle handling in power notify on failure
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
Powered by blists - more mailing lists