diff options
author | Stewart Smith <stewart@linux.ibm.com> | 2018-06-07 15:34:31 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2018-06-18 22:13:34 -0500 |
commit | 8f650b6d55b4060cca7b8a2fa2850bc73890b179 (patch) | |
tree | a15b9da4af9cbe72d5c88a09edfff58566cd2b21 | |
parent | 61bbadfcd6036233ae26175b6f2f0afee139254b (diff) | |
download | skiboot-8f650b6d55b4060cca7b8a2fa2850bc73890b179.zip skiboot-8f650b6d55b4060cca7b8a2fa2850bc73890b179.tar.gz skiboot-8f650b6d55b4060cca7b8a2fa2850bc73890b179.tar.bz2 |
hw/bt.c: quieten all the noisy BT/IPMI messages
Suggested-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Yeah-boiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiied-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
-rw-r--r-- | hw/bt.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -88,8 +88,8 @@ #define BT_Q_DBG(msg, fmt, args...) \ _BT_Q_LOG(PR_DEBUG, msg, fmt, ##args) -#define BT_Q_INF(msg, fmt, args...) \ - _BT_Q_LOG(PR_INFO, msg, fmt, ##args) +#define BT_Q_TRACE(msg, fmt, args...) \ + _BT_Q_LOG(PR_TRACE, msg, fmt, ##args) struct bt_msg { struct list_node link; @@ -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_INF(bt_msg, "Message sent to host"); + BT_Q_TRACE(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_INF(bt_msg, "IPMI MSG done"); + BT_Q_TRACE(bt_msg, "IPMI MSG done"); list_del(&bt_msg->link); bt.queue_len--; |