[Skiboot] [PATCH] slw: Print enabled stop states

Michael Neuling mikey at neuling.org
Fri Feb 17 21:23:19 AEDT 2017


On boot, print the enabled stop states.  Output looks like:

    [   25.045201661,5] SLW: Enabling: stop0_lite
    [   25.045205017,5] SLW: Enabling: stop0
    [   25.045206549,5] SLW: Enabling: stop1_lite
    [   25.045208320,5] SLW: Enabling: stop1
    [   25.045209738,5] SLW: Enabling: stop2_lite
    [   25.045211467,5] SLW: Enabling: stop2

Signed-off-by: Michael Neuling <mikey at neuling.org>
---
 hw/slw.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/hw/slw.c b/hw/slw.c
index 81e4e4ad87..97d4758627 100644
--- a/hw/slw.c
+++ b/hw/slw.c
@@ -770,6 +770,8 @@ void add_cpu_idle_state_properties(void)
 				continue;
 		}
 
+		prlog(PR_NOTICE, "SLW: Enabling: %s\n", states[i].name);
+
 		/*
 		 * If a state is supported add each of its property
 		 * to its corresponding property buffer.
-- 
2.9.3



More information about the Skiboot mailing list