From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932166AbcHHTML (ORCPT ); Mon, 8 Aug 2016 15:12:11 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:35563 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932160AbcHHTK0 (ORCPT ); Mon, 8 Aug 2016 15:10:26 -0400 From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Benjamin Herrenschmidt , Brian King , "Martin K. Petersen" Subject: [PATCH 3.14 19/21] ipr: Clear interrupt on croc/crocodile when running with LSI Date: Mon, 8 Aug 2016 21:09:50 +0200 Message-Id: <20160808180144.735734908@linuxfoundation.org> X-Mailer: git-send-email 2.9.2 In-Reply-To: <20160808180143.919366850@linuxfoundation.org> References: <20160808180143.919366850@linuxfoundation.org> User-Agent: quilt/0.64 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Brian King 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. Tested-by: Benjamin Herrenschmidt Signed-off-by: Brian King Signed-off-by: Martin K. Petersen Signed-off-by: Greg Kroah-Hartman --- drivers/scsi/ipr.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/scsi/ipr.c +++ b/drivers/scsi/ipr.c @@ -9644,6 +9644,7 @@ static int ipr_probe_ioa(struct pci_dev ioa_cfg->intr_flag = IPR_USE_MSI; else { ioa_cfg->intr_flag = IPR_USE_LSI; + ioa_cfg->clear_isr = 1; ioa_cfg->nvectors = 1; dev_info(&pdev->dev, "Cannot enable MSI.\n"); }