ipr: Clear interrupt on croc/crocodile when running with LSI
authorBrian King <brking@linux.vnet.ibm.com>
Mon, 27 Jun 2016 14:09:40 +0000 (09:09 -0500)
committerDanny Wood <danwood76@gmail.com>
Tue, 29 Jan 2019 13:13:50 +0000 (13:13 +0000)
commit0c1ab7b4638d3f9cf37514acb6cf0a9d2d60115f
tree4d5771e0e920f380d07886872699470bfb32c749
parent95486709878fa60f56ea9a5cd931a0616df4a414
ipr: Clear interrupt on croc/crocodile when running with LSI

commit 54e430bbd490e18ab116afa4cd90dcc45787b3df upstream.

If we fall back to using LSI on the Croc or Crocodile chip we need to
clear the interrupt so we don't hang the system.

Cc: <stable@vger.kernel.org>
Tested-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Willy Tarreau <w@1wt.eu>
drivers/scsi/ipr.c