aboutsummaryrefslogtreecommitdiff
path: root/hw/bt.c
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2015-03-04 14:06:23 +1030
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-03-04 15:40:14 +1100
commitf11aeb6494ca6d555cfb26b51c012b82a9a6deef (patch)
tree9aee1569e594a6791c476a762c8227368192cf58 /hw/bt.c
parent415a34b9681ad29d704b234aaf6cdc7eb689eaa9 (diff)
downloadskiboot-f11aeb6494ca6d555cfb26b51c012b82a9a6deef.zip
skiboot-f11aeb6494ca6d555cfb26b51c012b82a9a6deef.tar.gz
skiboot-f11aeb6494ca6d555cfb26b51c012b82a9a6deef.tar.bz2
bt: Make queue length 10
Now that skiboot supports more IPMI functionality we are queuing more than 5 messages at a time. For example in the astbmc platform.init() adds 6 messages to the queue. Shifting to ten ensures current systems boot without dropping messages, and should give us some breathing room. Signed-off-by: Joel Stanley <joel@jms.id.au> 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 56a67a9..94776e1 100644
--- a/hw/bt.c
+++ b/hw/bt.c
@@ -57,7 +57,7 @@
/*
* Maximum number of outstanding messages to allow in the queue.
*/
-#define BT_MAX_QUEUE_LEN 5
+#define BT_MAX_QUEUE_LEN 10
/*
* How long (in TB ticks) before a message is timed out.
@@ -386,7 +386,7 @@ static void bt_add_msg(struct bt_msg *bt_msg)
bt_msg->seq = ipmi_seq++;
bt.queue_len++;
if (bt.queue_len > BT_MAX_QUEUE_LEN) {
- /* Maximum ueue lenght exceeded - remove the oldest message
+ /* Maximum queue length exceeded - remove the oldest message
from the queue. */
BT_ERR(bt_msg, "Maximum queue length exceeded");
bt_msg = list_tail(&bt.msgq, struct bt_msg, link);