]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ACPI: CPPC: Factor out and export per-cpu cppc_perf_ctrs_in_pcc_cpu()
authorJie Zhan <zhanjie9@hisilicon.com>
Tue, 23 Dec 2025 07:21:17 +0000 (15:21 +0800)
committerViresh Kumar <viresh.kumar@linaro.org>
Tue, 27 Jan 2026 05:51:23 +0000 (11:21 +0530)
commitf9cadb3d56912a70571fdd95f426b757557c465b
tree4d4a6766513a832272b4da918a8dff93c0c8dcc5
parente05d9e5c8b754cc7d72acd896f5f7caf6b78a973
ACPI: CPPC: Factor out and export per-cpu cppc_perf_ctrs_in_pcc_cpu()

Factor out cppc_perf_ctrs_in_pcc_cpu() for checking whether per-cpu CPC
regs are defined in PCC channels, and export it out for further use.

Reviewed-by: Lifeng Zheng <zhenglifeng1@huawei.com>
Reviewed-by: Pierre Gondois <pierre.gondois@arm.com>
Signed-off-by: Jie Zhan <zhanjie9@hisilicon.com>
Acked-by: Rafael J. Wysocki (Intel) <rafael@kernel.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/acpi/cppc_acpi.c
include/acpi/cppc_acpi.h