File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
tools/arch/x86/include/asm Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 486
486
487
487
#define MSR_AMD64_VIRT_SPEC_CTRL 0xc001011f
488
488
489
+ /* AMD Collaborative Processor Performance Control MSRs */
490
+ #define MSR_AMD_CPPC_CAP1 0xc00102b0
491
+ #define MSR_AMD_CPPC_ENABLE 0xc00102b1
492
+ #define MSR_AMD_CPPC_CAP2 0xc00102b2
493
+ #define MSR_AMD_CPPC_REQ 0xc00102b3
494
+ #define MSR_AMD_CPPC_STATUS 0xc00102b4
495
+
496
+ #define AMD_CPPC_LOWEST_PERF (x ) (((x) >> 0) & 0xff)
497
+ #define AMD_CPPC_LOWNONLIN_PERF (x ) (((x) >> 8) & 0xff)
498
+ #define AMD_CPPC_NOMINAL_PERF (x ) (((x) >> 16) & 0xff)
499
+ #define AMD_CPPC_HIGHEST_PERF (x ) (((x) >> 24) & 0xff)
500
+
501
+ #define AMD_CPPC_MAX_PERF (x ) (((x) & 0xff) << 0)
502
+ #define AMD_CPPC_MIN_PERF (x ) (((x) & 0xff) << 8)
503
+ #define AMD_CPPC_DES_PERF (x ) (((x) & 0xff) << 16)
504
+ #define AMD_CPPC_ENERGY_PERF_PREF (x ) (((x) & 0xff) << 24)
505
+
489
506
/* Fam 17h MSRs */
490
507
#define MSR_F17H_IRPERF 0xc00000e9
491
508
You can’t perform that action at this time.
0 commit comments