]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ipmi:kcs: Reduce the number of retries
authorCorey Minyard <corey@minyard.net>
Tue, 21 Apr 2026 13:40:21 +0000 (08:40 -0500)
committerCorey Minyard <corey@minyard.net>
Tue, 19 May 2026 11:32:11 +0000 (06:32 -0500)
commitd08048d4e03b68aeadce6100ba32a525b6e5ab3d
tree049f71c6eb6a165185ade30345e03bbffb7ba4fb
parentab5fce87a778cb780a05984a2ca448f2b41aafbf
ipmi:kcs: Reduce the number of retries

The retry count was initially set to 10, which with the 5 second
timeouts give 55 seconds to fail a message.

The IPMI spec specifies the 5 second timeout, and it specifies retries
for KCS but does not specify a number.  55 seconds is a long time, so
reduce retries to 2.  It matches the default in the BT state machine.
This is 15 seconds, then, which is still a long time, but more
reasonable.

Signed-off-by: Corey Minyard <corey@minyard.net>
drivers/char/ipmi/ipmi_kcs_sm.c