Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ACPI: CPPC: Clean up cppc_perf_caps and cppc_perf_ctrls structs

- Remove redundant energy_perf field from 'struct cppc_perf_caps' as
the same is available in 'struct cppc_perf_ctrls' which is used.

- Move the 'auto_sel' field from 'struct cppc_perf_caps' to
'struct cppc_perf_ctrls' as it represents a control register.

Signed-off-by: Sumit Gupta <sumitg@nvidia.com>
Reviewed-by: Pierre Gondois <pierre.gondois@arm.com>
Reviewed-by: Lifeng Zheng <zhenglifeng1@huawei.com>
Link: https://patch.msgid.link/20260120145623.2959636-3-sumitg@nvidia.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

authored by

Sumit Gupta and committed by
Rafael J. Wysocki
7cb6f10c 63804fed

+1 -2
+1 -2
include/acpi/cppc_acpi.h
··· 119 119 u32 lowest_nonlinear_perf; 120 120 u32 lowest_freq; 121 121 u32 nominal_freq; 122 - u32 energy_perf; 123 - bool auto_sel; 124 122 }; 125 123 126 124 struct cppc_perf_ctrls { ··· 126 128 u32 min_perf; 127 129 u32 desired_perf; 128 130 u32 energy_perf; 131 + bool auto_sel; 129 132 }; 130 133 131 134 struct cppc_perf_fb_ctrs {