powerpc/eeh: Only disable/enable LSI interrupts in EEH
commit8535ef05a6904429ce72671c3035dbf05e6d5edf
authorMike Mason <mmlnx@us.ibm.com>
Tue, 10 Feb 2009 11:12:21 +0000 (10 11:12 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 11 Feb 2009 05:00:08 +0000 (11 16:00 +1100)
treead7afac47353afc482a5ced7d563d2b7a526b7f7
parent10156ceac26b8adfd5d739a3931c8aa9d0d69d53
powerpc/eeh: Only disable/enable LSI interrupts in EEH

The EEH code disables and enables interrupts during the
device recovery process.  This is unnecessary for MSI
and MSI-X interrupts because they are effectively disabled
by the DMA Stopped state when an EEH error occurs.  The
current code is also incorrect for MSI-X interrupts.  It
doesn't take into account that MSI-X interrupts are tracked
in a different way than LSI/MSI interrupts.  This patch
ensures only LSI interrupts are disabled/enabled.

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_driver.c