intel_idle: use new name for MSR_PKG_CST_CONFIG_CONTROL
authorLen Brown <len.brown@intel.com>
Sun, 8 Jan 2017 04:23:25 +0000 (23:23 -0500)
committerLen Brown <len.brown@intel.com>
Wed, 1 Mar 2017 05:13:17 +0000 (00:13 -0500)
previously known as  MSR_NHM_SNB_PKG_CST_CFG_CTL

Signed-off-by: Len Brown <len.brown@intel.com>
drivers/idle/intel_idle.c

index 7d8ea3d5fda656b9c9bf79b8fa0e53c9937e2e8a..930537da76d492558b7823a401be55066b67bd39 100644 (file)
@@ -961,9 +961,9 @@ static void auto_demotion_disable(void)
 {
        unsigned long long msr_bits;
 
-       rdmsrl(MSR_NHM_SNB_PKG_CST_CFG_CTL, msr_bits);
+       rdmsrl(MSR_PKG_CST_CONFIG_CONTROL, msr_bits);
        msr_bits &= ~(icpu->auto_demotion_disable_flags);
-       wrmsrl(MSR_NHM_SNB_PKG_CST_CFG_CTL, msr_bits);
+       wrmsrl(MSR_PKG_CST_CONFIG_CONTROL, msr_bits);
 }
 static void c1e_promotion_disable(void)
 {
@@ -1273,7 +1273,7 @@ static void sklh_idle_state_table_update(void)
        if ((mwait_substates & (0xF << 28)) == 0)
                return;
 
-       rdmsrl(MSR_NHM_SNB_PKG_CST_CFG_CTL, msr);
+       rdmsrl(MSR_PKG_CST_CONFIG_CONTROL, msr);
 
        /* PC10 is not enabled in PKG C-state limit */
        if ((msr & 0xF) != 8)