[Skiboot] [PATCH v2 2/3] core/ipmi: Add ipmi sync messages to top of the list

Vasant Hegde hegdevasant at linux.vnet.ibm.com
Fri Feb 22 03:06:17 AEDT 2019

In ipmi_queue_msg_sync() path OPAL will wait until it gets response from
BMC. If we do not get response ontime we may endup in kernel hardlockups.
Hence lets add sync messages to top of the queue. This will reduces the
chance of hardlockups.

Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
 core/ipmi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/ipmi.c b/core/ipmi.c
index 6770b43a8..27cb4268f 100644
--- a/core/ipmi.c
+++ b/core/ipmi.c
@@ -178,7 +178,7 @@ void ipmi_queue_msg_sync(struct ipmi_msg *msg)
 	sync_msg = msg;
 	if (msg->backend->disable_retry)
-	ipmi_queue_msg(msg);
+	ipmi_queue_msg_head(msg);
 	while (sync_msg == msg)

More information about the Skiboot mailing list