[Skiboot] [TEST-PATCH 2/2] SLW: Override hdat idle-enable
Akshay Adiga
akshay.adiga at linux.vnet.ibm.com
Thu Jun 29 13:10:31 AEST 2017
Enable idle states irrespective of what the idle-enable bits say.
---
hw/slw.c | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/hw/slw.c b/hw/slw.c
index bd954eb..e73e234 100644
--- a/hw/slw.c
+++ b/hw/slw.c
@@ -853,15 +853,6 @@ void add_cpu_idle_state_properties(void)
if (!(states[i].flags & supported_states_mask))
continue;
- /* We can only use the stop levels that HB has made available */
- if (has_stop_inst) {
- u32 level = 31 - (states[i].pm_ctrl_reg_val &
- OPAL_PM_PSSCR_RL_MASK);
-
- if (!(stop_levels & (1ul << level)))
- continue;
- }
-
prlog(PR_NOTICE, "SLW: Enabling: %s\n", states[i].name);
/*
--
2.5.5
More information about the Skiboot
mailing list