summaryrefslogtreecommitdiffstats
path: root/core/ipmi-opal.c
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2017-10-06 23:02:40 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-10-10 13:36:17 +1100
commit36274947321306e4e6c076092509ff023c113b2e (patch)
tree7114c11480287965bec6caf5dad713802cbef842 /core/ipmi-opal.c
parent347e24521e87549f50ab049fc131567dd2d0ff92 (diff)
downloadblackbird-skiboot-36274947321306e4e6c076092509ff023c113b2e.tar.gz
blackbird-skiboot-36274947321306e4e6c076092509ff023c113b2e.zip
ipmi: Convert common debug prints to trace
OPAL logs messages for every IPMI request from host. Sometime OPAL console is filled with only these messages. This path is pretty stable now and we have enough logs to cover bad path. Hence lets convert these debug message to trace/info message. [ 1356.423958816,7] opal_ipmi_recv(cmd: 0xf0 netfn: 0x3b resp_size: 0x02) [ 1356.430774496,7] opal_ipmi_send(cmd: 0xf0 netfn: 0x3a len: 0x3b) [ 1356.430797392,7] BT: seq 0x20 netfn 0x3a cmd 0xf0: Message sent to host [ 1356.431668496,7] BT: seq 0x20 netfn 0x3a cmd 0xf0: IPMI MSG done Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core/ipmi-opal.c')
-rw-r--r--core/ipmi-opal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/ipmi-opal.c b/core/ipmi-opal.c
index 1b28aa64..d8df8f7b 100644
--- a/core/ipmi-opal.c
+++ b/core/ipmi-opal.c
@@ -50,7 +50,7 @@ static int64_t opal_ipmi_send(uint64_t interface,
return OPAL_PARAMETER;
}
- prlog(PR_DEBUG, "opal_ipmi_send(cmd: 0x%02x netfn: 0x%02x len: 0x%02llx)\n",
+ prlog(PR_TRACE, "opal_ipmi_send(cmd: 0x%02x netfn: 0x%02x len: 0x%02llx)\n",
opal_ipmi_msg->cmd, opal_ipmi_msg->netfn >> 2, msg_len);
msg = ipmi_mkmsg(interface,
@@ -106,7 +106,7 @@ static int64_t opal_ipmi_recv(uint64_t interface,
opal_ipmi_msg->data[0] = msg->cc;
memcpy(&opal_ipmi_msg->data[1], msg->data, msg->resp_size);
- prlog(PR_DEBUG, "opal_ipmi_recv(cmd: 0x%02x netfn: 0x%02x resp_size: 0x%02x)\n",
+ prlog(PR_TRACE, "opal_ipmi_recv(cmd: 0x%02x netfn: 0x%02x resp_size: 0x%02x)\n",
msg->cmd, msg->netfn >> 2, msg->resp_size);
/* Add one as the completion code is returned in the message data */
OpenPOWER on IntegriCloud