From 36274947321306e4e6c076092509ff023c113b2e Mon Sep 17 00:00:00 2001 From: Vasant Hegde Date: Fri, 6 Oct 2017 23:02:40 +0530 Subject: 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 Signed-off-by: Stewart Smith --- hw/bt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hw/bt.c') 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--; -- cgit v1.1