aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNeelesh Gupta <neelegup@linux.vnet.ibm.com>2014-09-11 16:52:10 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2014-10-15 17:59:40 +1100
commitbf6451f9192d452ca33c42c848903f9269ca7433 (patch)
tree1593e6cb9422c7680473898994293df262937595 /include
parente786bde299d9b96078e72f0514251e13b7e8f71b (diff)
downloadskiboot-bf6451f9192d452ca33c42c848903f9269ca7433.zip
skiboot-bf6451f9192d452ca33c42c848903f9269ca7433.tar.gz
skiboot-bf6451f9192d452ca33c42c848903f9269ca7433.tar.bz2
opal-msg: Bump up the maximum asynchronous completion count
There are more components using asynchronous infrastructure for messaging between OPAL and kernel, therefore the patch bumps up the count and documents the usage. Signed-off-by: Neelesh Gupta <neelegup@linux.vnet.ibm.com> Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/opal-msg.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/opal-msg.h b/include/opal-msg.h
index 2be7832..a271e18 100644
--- a/include/opal-msg.h
+++ b/include/opal-msg.h
@@ -20,7 +20,12 @@
#include <opal.h>
-#define OPAL_MAX_ASYNC_COMP 2
+/*
+ * It dictates the number of asynchronous tokens available at the kernel,
+ * ideally the value matches to the number of modules using async
+ * infrastructure, but not necessarily the same..
+ */
+#define OPAL_MAX_ASYNC_COMP 8
int _opal_queue_msg(enum OpalMessageType msg_type, void *data,
void (*consumed)(void *data), size_t num_params,