Commit b88e7693 authored by Srinivas_Gowda's avatar Srinivas_Gowda Committed by Linus Torvalds
Browse files

ipmi: decrease the IPMI message transaction time in interrupt mode

Call the event handler immediately after starting the next message.

This change considerably decreases the IPMI transaction time (cuts off
~9ms for a single ipmitool transaction).
Signed-off-by: default avatarSrinivas_Gowda <>
Signed-off-by: default avatarCorey Minyard <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 09c71bfd
......@@ -932,8 +932,10 @@ static void sender(void *send_info,
spin_unlock_irqrestore(&smi_info->msg_lock, flags);
spin_lock_irqsave(&smi_info->si_lock, flags);
if (smi_info->si_state == SI_NORMAL && smi_info->curr_msg == NULL)
if (smi_info->si_state == SI_NORMAL && smi_info->curr_msg == NULL) {
smi_event_handler(smi_info, 0);
spin_unlock_irqrestore(&smi_info->si_lock, flags);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment