Message ID | 1487828256-13999-1-git-send-email-shilpa.bhat@linux.vnet.ibm.com |
---|---|
State | Superseded |
Headers | show |
diff --git a/hw/slw.c b/hw/slw.c index 97d4758..45ea1d3 100644 --- a/hw/slw.c +++ b/hw/slw.c @@ -765,6 +765,11 @@ void add_cpu_idle_state_properties(void) if (has_stop_inst) { u32 level = 31 - (states[i].pm_ctrl_reg_val & OPAL_PM_PSSCR_RL_MASK); + u64 esl = states[i].pm_ctrl_reg_val & + OPAL_PM_PSSCR_ESL; + + if (chip->ec_level == 0x10 && esl) + continue; if (!(stop_levels & (1ul << level))) continue;