]> git.baikalelectronics.ru Git - kernel.git/commit
ipmi: increase KCS timeouts
authorMatthew Garrett <mjg@redhat.com>
Wed, 28 Mar 2012 21:42:48 +0000 (14:42 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 29 Mar 2012 00:14:36 +0000 (17:14 -0700)
commit38f455a961d0524f4283842f38e13960ed5ad3b1
tree643c5d2ef6b7593841ccb2ab4f5eacedafa7b9ee
parentd33011b439ae67f47bd0df1bd311177faa3f2314
ipmi: increase KCS timeouts

We currently time out and retry KCS transactions after 1 second of waiting
for IBF or OBF.  This appears to be too short for some hardware.  The IPMI
spec says "All system software wait loops should include error timeouts.
For simplicity, such timeouts are not shown explicitly in the flow
diagrams.  A five-second timeout or greater is recommended".  Change the
timeout to five seconds to satisfy the slow hardware.

Signed-off-by: Matthew Garrett <mjg@redhat.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>
drivers/char/ipmi/ipmi_kcs_sm.c