]> Git Repo - linux.git/commitdiff
x86/cpufeatures: Add AMD Collaborative Processor Performance Control feature flag
authorHuang Rui <[email protected]>
Fri, 24 Dec 2021 01:04:55 +0000 (09:04 +0800)
committerRafael J. Wysocki <[email protected]>
Thu, 30 Dec 2021 15:58:03 +0000 (16:58 +0100)
Add Collaborative Processor Performance Control feature flag for AMD
processors.

This feature flag will be used on the following AMD P-State driver. The
AMD P-State driver has two approaches to implement the frequency control
behavior. That depends on the CPU hardware implementation. One is "Full
MSR Support" and another is "Shared Memory Support". The feature flag
indicates the current processors with "Full MSR Support".

Acked-by: Borislav Petkov <[email protected]>
Signed-off-by: Huang Rui <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
arch/x86/include/asm/cpufeatures.h

index d5b5f2ab87a0b76fa42ab5313146d0a622cd2162..18de5f76f19856b11be223e72bce1142d68e1e28 100644 (file)
 #define X86_FEATURE_AMD_SSBD           (13*32+24) /* "" Speculative Store Bypass Disable */
 #define X86_FEATURE_VIRT_SSBD          (13*32+25) /* Virtualized Speculative Store Bypass Disable */
 #define X86_FEATURE_AMD_SSB_NO         (13*32+26) /* "" Speculative Store Bypass is fixed in hardware. */
+#define X86_FEATURE_CPPC               (13*32+27) /* Collaborative Processor Performance Control */
 
 /* Thermal and Power Management Leaf, CPUID level 0x00000006 (EAX), word 14 */
 #define X86_FEATURE_DTHERM             (14*32+ 0) /* Digital Thermal Sensor */
This page took 0.06376 seconds and 4 git commands to generate.