aboutsummaryrefslogtreecommitdiff
path: root/hw/bt.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 /hw/bt.c
parent347e24521e87549f50ab049fc131567dd2d0ff92 (diff)
downloadskiboot-36274947321306e4e6c076092509ff023c113b2e.zip
skiboot-36274947321306e4e6c076092509ff023c113b2e.tar.gz
skiboot-36274947321306e4e6c076092509ff023c113b2e.tar.bz2
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 'hw/bt.c')
-rw-r--r--hw/bt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/bt.c b/hw/bt.c
index 2f0726a..ce87e2b 100644
--- a/hw/bt.c
+++ b/hw/bt.c
@@ -270,7 +270,7 @@ static void bt_send_msg(struct bt_msg *bt_msg)
for (i = 0; i < ipmi_msg->req_size; i++)
bt_outb(ipmi_msg->data[i], BT_HOST2BMC);
- BT_Q_DBG(bt_msg, "Message sent to host");
+ BT_Q_INF(bt_msg, "Message sent to host");
bt_msg->send_count++;
bt_outb(BT_CTRL_H2B_ATN, BT_CTRL);
@@ -362,7 +362,7 @@ static void bt_get_resp(void)
ipmi_msg->data[i] = bt_inb(BT_HOST2BMC);
bt_set_h_busy(false);
- BT_Q_DBG(bt_msg, "IPMI MSG done");
+ BT_Q_INF(bt_msg, "IPMI MSG done");
list_del(&bt_msg->link);
bt.queue_len--;