diff mbox

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

Message ID 20170310055659.12277-1-stewart@linux.vnet.ibm.com
State Accepted
Headers show

Commit Message

Stewart Smith March 10, 2017, 5:56 a.m. UTC
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
---
 hw/slw.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Stewart Smith March 16, 2017, 7 a.m. UTC | #1
Stewart Smith <stewart@linux.vnet.ibm.com> writes:
> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
> ---
>  hw/slw.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Both trivial fixes merged to master as of
c9bf78b0556b1d2c2f3a5041d3da7df225227cde

(this helps fix testcases.OpalMsglog tests in op-test-framework, as we
get rid of some of the not-really-warning-or-error "erorrs" we had in
opal log)
diff mbox

Patch

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;
 		}