summaryrefslogtreecommitdiff
path: root/net/ipv4/ipvs/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorHuisong Li <lihuisong@huawei.com>2026-04-03 16:53:43 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-04-04 20:41:01 +0200
commit02c68ed11ceed569ad2d029a4138aead8ff13229 (patch)
treef4adeb804f2aa3c51b2a0455359b0f94be62cc20 /net/ipv4/ipvs/git@git.tavy.me:linux.git
parent00154eede77616d5c95206728ee36a1e5bbe52e1 (diff)
ACPI: processor: idle: Reset power_setup_done flag on initialization failure
The 'power_setup_done' flag is a key indicator used across the ACPI processor driver to determine if cpuidle are properly configured and available for a given CPU. Currently, this flag is set during the early stages of initialization. However, if the subsequent registration of the cpuidle driver in acpi_processor_register_idle_driver() or the per-CPU device registration in acpi_processor_power_init() fails, this flag remains set. This may lead to some issues where other functions in ACPI idle driver use these flags. Fix this by explicitly resetting this flag to 0 in these error paths. Signed-off-by: Huisong Li <lihuisong@huawei.com> Link: https://patch.msgid.link/20260403085343.866440-1-lihuisong@huawei.com Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'net/ipv4/ipvs/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions