Skip to content

Commit 62d5a67

Browse files
watologo1Dominik Brodowski
authored andcommitted
cpupower: Fix broken mask values
Signed-off-by: Thomas Renninger <trenn@suse.de> Tested-by: Dave Jones <davej@redhat.com> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
1 parent 68bb2c3 commit 62d5a67

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎tools/power/cpupower/utils/helpers/helpers.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ enum cpupower_cpu_vendor {X86_VENDOR_UNKNOWN = 0, X86_VENDOR_INTEL,
6666
#define CPUPOWER_CAP_AMD_CBP 0x00000004
6767
#define CPUPOWER_CAP_PERF_BIAS 0x00000008
6868
#define CPUPOWER_CAP_HAS_TURBO_RATIO 0x00000010
69-
#define CPUPOWER_CAP_IS_SNB 0x00000011
70-
#define CPUPOWER_CAP_INTEL_IDA 0x00000012
69+
#define CPUPOWER_CAP_IS_SNB 0x00000020
70+
#define CPUPOWER_CAP_INTEL_IDA 0x00000040
7171

7272
#define MAX_HW_PSTATES 10
7373

0 commit comments

Comments
 (0)