linux/drivers/char/ipmi
Corey Minyard 21dcd300b1 [PATCH] ipmi: bt restart reset fixes
The current BT retry/reset mechanism fails to succeed on a PowerEdge 1650,
when the controller is wedged with B2H_ATN asserted at XACTION_START.  If this
occurs, no further commands will ever succeed unless the state of the
controller is first cleared out.

Furthermore, the soft reset would only occur if the first command after insmod
was the one that timed out, not if a later command timed out.

This patch changes the retry/reset mechanism to be as follows:

Before retrying a command, clear the state of the BT controller such that the
flags represent ready for a new transaction.  This increases the chance of
success of the restarted transaction.

After 2 retries, issue a soft reset and retry one more time before giving up
and reporting back a failure.

Signed-off-by: Matt Domsch <Matt_Domsch@dell.com>
Acked-by: Rocky Craig <rocky.craig@hp.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
..
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
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: various si cleanup 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: si start transaction hook 2005-11-07 07:53:44 -08:00
ipmi_si_sm.h [PATCH] ipmi iomem annotations and fixes 2005-05-04 07:33:15 -07: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