]> err.no Git - linux-2.6/commit
powerpc/eeh: Don't panic when EEH_MAX_FAILS is exceeded
authorMike Mason <mmlnx@us.ibm.com>
Mon, 21 Jul 2008 16:40:17 +0000 (02:40 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 22 Jul 2008 00:39:37 +0000 (10:39 +1000)
commitf36c5227cd88b6340c40d62b05859e8213740a97
tree4a858eb42fea4a1984bd37e0854c4d96c8c800a2
parent57a20d8fb0d2a05abe40abd6bb29e3f923721f1b
powerpc/eeh: Don't panic when EEH_MAX_FAILS is exceeded

This patch changes the EEH_MAX_FAILS action from panic to printing an
error message.  Panicking under under this condition is too harsh.
Although performance will be affected and the device may not recover,
the system is still running, which at the very least should allow for a
more graceful shutdown. The patch also removes the msleep() within a
spinlock, which can lead to a deadlock and is not recommended.

Signed-off-by: Mike Mason <mmlnx@us.ibm.com>
Acked-by: Linas Vepstas <linasvepstas@gmail.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/eeh.c