[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250814072934.1016694-1-tianyaxiong@kylinos.cn>
Date: Thu, 14 Aug 2025 15:29:34 +0800
From: Yaxiong Tian <tianyaxiong@...inos.cn>
To: rafael@...nel.org,
daniel.lezcano@...aro.org,
lenb@...nel.org,
robert.moore@...el.com
Cc: linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-acpi@...r.kernel.org,
acpica-devel@...ts.linux.dev,
Yaxiong Tian <tianyaxiong@...inos.cn>
Subject: [PATCH v2 0/2] ACPI: processor: idle: Per-CPU idle driver for hybrid CPUs
This series addresses limitations in the current ACPI idle driver model
for hybrid CPU architectures (e.g., ARM big.LITTLE, Intel Alder Lake),
where different core types have distinct _LPI-state characteristics.
This series introduces:
1. A per-CPU idle driver model to accurately represent idle-state per core type.
2. A new interface to fetch cpuidle_driver by CPU ID, required for early
registration scenarios.
This issue was initially discussed at:
https://lore.kernel.org/linux-pm/97e8bc72-e44b-487a-91ba-206732094955@arm.com/T/#t
Changes since V2:
- Fix "using smp_processor_id() in preemptible" BUG in patch 0002.
Yaxiong Tian (2):
cpuidle: Add interface to get cpuidle_driver by CPU ID
ACPI: processor: idle: Replace single idle driver with per-CPU model
for better hybrid CPU support
drivers/acpi/Kconfig | 1 +
drivers/acpi/processor_driver.c | 3 +-
drivers/acpi/processor_idle.c | 66 +++++++++++++++++----------------
drivers/cpuidle/driver.c | 16 ++++++++
include/acpi/processor.h | 2 +-
include/linux/cpuidle.h | 4 ++
6 files changed, 59 insertions(+), 33 deletions(-)
--
2.25.1
Powered by blists - more mailing lists