diff options
| author | Corey Minyard <corey@minyard.net> | 2026-04-21 08:40:21 -0500 |
|---|---|---|
| committer | Corey Minyard <corey@minyard.net> | 2026-05-19 06:32:11 -0500 |
| commit | d08048d4e03b68aeadce6100ba32a525b6e5ab3d (patch) | |
| tree | 049f71c6eb6a165185ade30345e03bbffb7ba4fb /drivers/char/ipmi | |
| parent | ab5fce87a778cb780a05984a2ca448f2b41aafbf (diff) | |
| download | linux-next-d08048d4e03b68aeadce6100ba32a525b6e5ab3d.tar.gz linux-next-d08048d4e03b68aeadce6100ba32a525b6e5ab3d.zip | |
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>
Diffstat (limited to 'drivers/char/ipmi')
| -rw-r--r-- | drivers/char/ipmi/ipmi_kcs_sm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/ipmi/ipmi_kcs_sm.c b/drivers/char/ipmi/ipmi_kcs_sm.c index efda90dcf5b3..c89055db39e5 100644 --- a/drivers/char/ipmi/ipmi_kcs_sm.c +++ b/drivers/char/ipmi/ipmi_kcs_sm.c @@ -102,7 +102,7 @@ enum kcs_states { /* Timeouts in microseconds. */ #define IBF_RETRY_TIMEOUT (5*USEC_PER_SEC) #define OBF_RETRY_TIMEOUT (5*USEC_PER_SEC) -#define MAX_ERROR_RETRIES 10 +#define MAX_ERROR_RETRIES 2 #define ERROR0_OBF_WAIT_JIFFIES (2*HZ) struct si_sm_data { |
