linux/include/asm-powerpc
Linas Vepstas ac325acd50 [PATCH] powerpc/pseries: clear PCI failure counter if no new failures
The current PCI error recovery system keeps track of the number of PCI card
resets, and refuses to bring a card back up if this number is too large.
The goal of doing this was to avoid an infinite loop of resets if a card is
obviously dead.  However, if the failures are rare, but the machine has a
high uptime, this mechanism might still be triggered; this is too harsh.

This patch will avoids this problem by decrementing the fail count after an
hour.  Thus, as long as a pci card BSOD's less than 6 times an hour, it
will continue to be reset indefinitely.  If it's failure rate is greater
than that, it will be taken off-line permanently.

This patch is larger than it might otherwise be because it changes
indentation by removing a pointless while-loop.  The while loop is not
needed, as the handler is invoked once fo each event (by schedule_work());
the loop is leftover cruft from an earlier implementation.

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-04-22 18:46:13 +10:00
..
2005-10-11 09:59:38 +10:00
2006-01-09 14:49:54 +11:00
2005-09-28 15:42:53 +10:00
2006-01-08 20:13:39 -08:00
2006-04-22 18:45:05 +10:00
2005-11-08 12:20:34 +11:00
2006-04-22 18:45:05 +10:00
2006-04-04 14:49:48 +10:00
2006-03-08 14:15:04 -08:00
2006-01-10 08:01:40 -08:00
2006-02-15 15:32:22 -08:00
2006-03-09 14:32:05 +11:00
2006-01-09 14:49:01 +11:00
2005-10-31 13:37:12 +11:00
2005-11-03 16:24:25 +11:00
2005-11-03 16:02:23 +11:00
2006-03-25 09:41:40 -08:00
2005-11-01 14:36:55 +11:00
2005-10-12 08:24:47 -07:00
2005-11-06 16:56:47 -08:00
2006-03-26 08:57:00 -08:00
2005-11-03 16:59:17 +11:00
2005-09-21 19:21:09 +10:00