2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 12:43:55 +08:00
linux-next/drivers/char/ipmi
Corey Minyard c3e7e7916e [PATCH] ipmi: kcs error0 delay
BMCs can get into ERROR0 state while flashing new firmware, particularly while
the BMC is erasing the next flash block, which may take a just under 2 seconds
on a Dell PowerEdge 2800 (1.75 seconds typical), during which time the
single-threaded firmware may not be able to process new commands.  In
particular, clearing OBF may not take effect immediately.

We want it to delay in ERROR0 after clearing OBF a bit waiting for OBF to
actually be clear before proceeding.

This introduces a new return value from the LLDD's event loop,
SI_SM_CALL_WITH_TICK_DELAY.  This means the calling thread/timer should
schedule_timeout() at least 1 tick, rather than busy-wait.  This is a longer
delay than SI_SM_CALL_WITH_DELAY, which is typically a 250us busy-wait.

Signed-off-by: Matt Domsch <Matt_Domsch@dell.com>
Signed-off-by: Corey Minyard <minyard@acm.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-11-07 07:53:44 -08:00
..
ipmi_bt_sm.c [PATCH] ipmi: bt restart reset fixes 2005-11-07 07:53:44 -08:00
ipmi_devintf.c [PATCH] Driver Core: fix up all callers of class_device_create() 2005-10-28 09:52:52 -07:00
ipmi_kcs_sm.c [PATCH] ipmi: kcs error0 delay 2005-11-07 07:53:44 -08:00
ipmi_msghandler.c [PATCH] ipmi: use refcount in message handler 2005-11-07 07:53:43 -08:00
ipmi_poweroff.c [PATCH] ipmi: poweroff cleanups 2005-11-07 07:53:44 -08:00
ipmi_si_intf.c [PATCH] ipmi: kcs error0 delay 2005-11-07 07:53:44 -08:00
ipmi_si_sm.h [PATCH] ipmi: kcs error0 delay 2005-11-07 07:53:44 -08:00
ipmi_smic_sm.c [PATCH] ipmi: more dell fixes 2005-11-07 07:53:44 -08:00
ipmi_watchdog.c [PATCH] ipmi: watchdog parms in sysfs 2005-11-07 07:53:44 -08:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00