• C
    tools/power turbostat: bugfix: TDP MSRs print bits fixing · 685b535b
    Chen Yu 提交于
    MSR_CONFIG_TDP_NOMINAL:
    should print all 8 bits of base_ratio (bit 0:7) 0xFF
    
    MSR_CONFIG_TDP_LEVEL_1:
    should print all 15 bits of PKG_MIN_PWR_LVL1 (bit 48:62) 0x7FFF
    should print all 15 bits of PKG_MAX_PWR_LVL1 (bit 32:46) 0x7FFF
    should print all 8 bits of LVL1_RATIO (bit 16:23) 0xFF
    should print all 15 bits of PKG_TDP_LVL1 (bit 0:14) 0x7FFF
    
    And the same modification to MSR_CONFIG_TDP_LEVEL_2.
    
    MSR_TURBO_ACTIVATION_RATIO:
    should print all 8 bits of MAX_NON_TURBO_RATIO (bit 0:7) 0xFF
    Signed-off-by: NChen Yu <yu.c.chen@intel.com>
    Signed-off-by: NLen Brown <len.brown@intel.com>
    685b535b
turbostat.c 94.0 KB