[Skiboot] [PATCH] core/ipmi: Add ipmi sync messages to top of the list
Vasant Hegde
hegdevasant at linux.vnet.ibm.com
Wed Feb 6 02:54:18 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 5cdc92430..e5d38a90c 100644
--- a/core/ipmi.c
+++ b/core/ipmi.c
@@ -176,7 +176,7 @@ void ipmi_queue_msg_sync(struct ipmi_msg *msg)
lock(&sync_lock);
while (sync_msg);
sync_msg = msg;
- ipmi_queue_msg(msg);
+ ipmi_queue_msg_head(msg);
unlock(&sync_lock);
while (sync_msg == msg)
--
2.14.3
More information about the Skiboot
mailing list