aboutsummaryrefslogtreecommitdiff
path: root/hw/slw.c
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2017-02-17 21:23:19 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-02-22 17:40:45 +1100
commit18cbb7a8d5ec19a4ad1a054c3fd861002c04eddc (patch)
tree03fc9f1e632c4f8454c59660b81bcaa04a9707f9 /hw/slw.c
parentf4d5deb6a546d393a228ec72159705c7cf83f224 (diff)
downloadskiboot-18cbb7a8d5ec19a4ad1a054c3fd861002c04eddc.zip
skiboot-18cbb7a8d5ec19a4ad1a054c3fd861002c04eddc.tar.gz
skiboot-18cbb7a8d5ec19a4ad1a054c3fd861002c04eddc.tar.bz2
slw: Print enabled stop states
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@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/slw.c')
-rw-r--r--hw/slw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/slw.c b/hw/slw.c
index 81e4e4a..97d4758 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.