Re: [PATCH 4/9] x86/cpufeatures: Add AMD CPPC Performance Priority feature.
From: Borislav Petkov
Date: Fri Mar 06 2026 - 05:48:59 EST
On Fri, Mar 06, 2026 at 03:27:48PM +0530, Gautham R. Shenoy wrote:
> Some future AMD processors have feature named "CPPC Performance
> Priority" which lets userspace specify different floor performance
> levels for different CPUs. The platform firmware takes these different
> floor performance levels into consideration while throttling the CPUs
> under power/thermal constraints. The presence of this feature is
> indicated by bit 16 of the EDX register for CPUID leaf
> 0x80000007. More details can be found in AMD Publication titled "AMD64
> Collaborative Processor Performance Control (CPPC) Performance
> Priority" Revision 1.10.
>
> Define a new feature bit named X86_FEATURE_CPPC_PERF_PRIO to map to
> CPUID 0x80000007.EDX[16].
>
> Signed-off-by: Gautham R. Shenoy <gautham.shenoy@xxxxxxx>
> ---
> Link to AMD publication describing this feature: https://docs.amd.com/v/u/en-US/69206_1.10_AMD64_CPPC_PUB
>
> arch/x86/include/asm/cpufeatures.h | 2 +-
> arch/x86/kernel/cpu/scattered.c | 1 +
> tools/arch/x86/include/asm/cpufeatures.h | 2 +-
> 3 files changed, 3 insertions(+), 2 deletions(-)
Reviewed-by: Borislav Petkov (AMD) <bp@xxxxxxxxx>
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette