intel_idle: use new name for MSR_PKG_CST_CONFIG_CONTROL

previously known as  MSR_NHM_SNB_PKG_CST_CFG_CTL

Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
Len Brown 2017-01-07 23:23:25 -05:00
Родитель 40496c8ee7
Коммит 6cfb2374f8
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -961,9 +961,9 @@ static void auto_demotion_disable(void)
{ {
unsigned long long msr_bits; 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); 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) static void c1e_promotion_disable(void)
{ {
@ -1273,7 +1273,7 @@ static void sklh_idle_state_table_update(void)
if ((mwait_substates & (0xF << 28)) == 0) if ((mwait_substates & (0xF << 28)) == 0)
return; 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 */ /* PC10 is not enabled in PKG C-state limit */
if ((msr & 0xF) != 8) if ((msr & 0xF) != 8)