Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754661AbYHAQTn (ORCPT ); Fri, 1 Aug 2008 12:19:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751367AbYHAQTe (ORCPT ); Fri, 1 Aug 2008 12:19:34 -0400 Received: from mail0.lsil.com ([147.145.40.20]:53072 "EHLO mail0.lsil.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751258AbYHAQTd convert rfc822-to-8bit (ORCPT ); Fri, 1 Aug 2008 12:19:33 -0400 From: "Yang, Bo" To: "Yang, Bo" , "'James.Bottomley@SteelEye.com'" CC: "'linux-scsi@vger.kernel.org'" , "'James.Bottomley@SteelEye.com'" , "'akpm@osdl.org'" , "'linux-kernel@vger.kernel.org'" , "Patro, Sumant" , "Austria, Winston" , "poswald@novell.com" Date: Fri, 1 Aug 2008 10:19:07 -0600 Subject: [PATCH 1/4] scsi: megaraid_sas - Add the dumy readl to force PCI flush Thread-Topic: [PATCH 1/4] scsi: megaraid_sas - Add the dumy readl to force PCI flush Thread-Index: Acgx9Krd+BU9hV11RZWgo5JcfegcdQAwCr4gME6S/nA= Message-ID: <4B6A08C587958942AA3002690DD4F8C31B08093F@cosmail02.lsi.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1291 Lines: 36 MegaRAID SAS Driver get unexpected Interrupt. Add the dumy readl to force PCI flush will fix this issue. Signed-off-by Bo Yang --- drivers/scsi/megaraid/megaraid_sas.c | 6 ++++++ 1 files changed, 6 insertions(+) diff -rupN linux-2.6.28_orig/drivers/scsi/megaraid/megaraid_sas.c linux-2.6.28_new/drivers/scsi/megaraid/megaraid_sas.c --- linux-2.6.28_orig/drivers/scsi/megaraid/megaraid_sas.c 2008-07-31 12:00:58.000000000 -0400 +++ linux-2.6.28_new/drivers/scsi/megaraid/megaraid_sas.c 2008-07-31 12:30:35.000000000 -0400 @@ -198,6 +198,9 @@ megasas_clear_intr_xscale(struct megasas */ writel(status, ®s->outbound_intr_status); + /* Dummy readl to force pci flush */ + readl(®s->outbound_intr_status); + return 0; } @@ -293,6 +296,9 @@ megasas_clear_intr_ppc(struct megasas_re */ writel(status, ®s->outbound_doorbell_clear); + /* Dummy readl to force pci flush */ + readl(®s->outbound_doorbell_clear); + return 0; } /** -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/