[PATCH v2 0/5] CPPC/amd-pstate: Fixes to limit actions to online CPUs

From: Gautham R. Shenoy

Date: Fri Nov 07 2025 - 02:42:17 EST


Hello,

This is the v2 of the patchset to restrict certain actions to only
online CPUs instead of present CPUs.

The v1 of this patchset can be found here:
https://lore.kernel.org/lkml/20251105143851.4251-1-gautham.shenoy@xxxxxxx/

Changes between v1 --> v2:

* Picked up the Reviewed-by tags from Mario for the first four
patches

* Picked up the Tested-by tags from Chris for the first two patches

* Added a fifth patch to fix calling of cppc_set_auto_sel() for only
online CPUs in the amd-pstate driver code (Mario)


Gautham R. Shenoy (5):
ACPI: CPPC: Detect preferred core availability on online CPUs
ACPI: CPPC: Check _CPC validity for only the online CPUs
ACPI: CPPC: Perform fast check switch only for online CPUs
ACPI: CPPC: Limit perf ctrs in PCC check only to online CPUs
cpufreq/amd-pstate: Call cppc_set_auto_sel() only for online CPUs

arch/x86/kernel/acpi/cppc.c | 2 +-
drivers/acpi/cppc_acpi.c | 6 +++---
drivers/cpufreq/amd-pstate.c | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)

--
2.34.1