[PATCH] ppc64: escape hatch for spinning interrupt deadlocks
authorLinas Vepstas <linas@linas.org>
Fri, 4 Nov 2005 00:49:31 +0000 (18:49 -0600)
committerPaul Mackerras <paulus@samba.org>
Thu, 10 Nov 2005 00:33:33 +0000 (11:33 +1100)
commit5c1344e988c716470b5609708215dd7f135f0e3a
treeb7f736919ffa6b6e07e5b6bc950a4e36cd0d5547
parentfd761fd876e4d1c0d07b6d93bc45c999fa596cb0
[PATCH] ppc64: escape hatch for spinning interrupt deadlocks

08-eeh-spin-counter.patch

One an EEH event is triggers, all further I/O to a device is blocked (until
reset).  Bad device drivers may end up spinning in their interrupt handlers,
trying to read an interrupt status register that will never change state.
This patch moves that spin counter to a per-device structure, and adds
some diagnostic prints to help locate the bad driver.

Signed-off-by: Linas Vepstas <linas@linas.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/ppc64/kernel/eeh.c