[Skiboot] [PATCH 1/2] hw/slw: fix NOTICE/WARNING of idle states found/not-found

Stewart Smith stewart at linux.vnet.ibm.com
Fri Mar 10 16:56:58 AEDT 2017


Signed-off-by: Stewart Smith <stewart at linux.vnet.ibm.com>
---
 hw/slw.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hw/slw.c b/hw/slw.c
index bea1028dd091..bb79f2e347af 100644
--- a/hw/slw.c
+++ b/hw/slw.c
@@ -690,14 +690,14 @@ void add_cpu_idle_state_properties(void)
 
 		p = dt_find_property(dt_root, "ibm,enabled-idle-states");
 		if (p)
-			prlog(PR_WARNING,
+			prlog(PR_NOTICE,
 			      "SLW: HB-provided idle states property found\n");
 		states = power8_cpu_idle_states;
 		nr_states = ARRAY_SIZE(power8_cpu_idle_states);
 
 		/* Check if hostboot say we can sleep */
 		if (!p || !dt_prop_find_string(p, "fast-sleep")) {
-			prlog(PR_NOTICE, "SLW: Sleep not enabled by HB"
+			prlog(PR_WARNING, "SLW: Sleep not enabled by HB"
 			      " on this platform\n");
 			can_sleep = false;
 		}
-- 
2.9.3



More information about the Skiboot mailing list