ipmi: Add a way to tune some timeouts
authorCorey Minyard <cminyard@mvista.com>
Wed, 4 Apr 2018 14:15:23 +0000 (09:15 -0500)
committerCorey Minyard <cminyard@mvista.com>
Wed, 18 Apr 2018 15:22:42 +0000 (10:22 -0500)
commitce7fa1c38d07102d4dc4627f757a3f2467069d86
treebdb1d13cc0c3745ab5c761e387ce5a2a057fe498
parenta27fc14219f2e3c4a46ba9177b04d9b52c875532
ipmi: Add a way to tune some timeouts

By default the retry timeout is 1 second.  Allow that to be modified,
primarily for slow operations, like firmware writes.

Also, the timeout was driven by a 1 second timer, so 1 second really
meant between 0 and 1 second.  Set the default to 2 seconds so it
means between 1 and 2 seconds.

Also allow the time the interface automatically stays in mainenance
mode to be modified from it's default 30 seconds.

Also consolidate some of the timeout and retry setup.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
more
drivers/char/ipmi/ipmi_msghandler.c