Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Srinivas_Gowda <srinivas_g_gowda@dell.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Srinivas_Gowda and committed by
Linus Torvalds
b88e7693 09c71bfd

+3 -1
+3 -1
drivers/char/ipmi/ipmi_si_intf.c
··· 932 932 spin_unlock_irqrestore(&smi_info->msg_lock, flags); 933 933 934 934 spin_lock_irqsave(&smi_info->si_lock, flags); 935 - if (smi_info->si_state == SI_NORMAL && smi_info->curr_msg == NULL) 935 + if (smi_info->si_state == SI_NORMAL && smi_info->curr_msg == NULL) { 936 936 start_next_msg(smi_info); 937 + smi_event_handler(smi_info, 0); 938 + } 937 939 spin_unlock_irqrestore(&smi_info->si_lock, flags); 938 940 } 939 941