All of lore.kernel.org
 help / color / mirror / Atom feed
* + scsi-megaraid_sas-add-the-dumy-readl-to-force-pci-flush.patch added to -mm tree
@ 2008-08-05  0:41 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2008-08-05  0:41 UTC (permalink / raw)
  To: mm-commits; +Cc: Bo.Yang, James.Bottomley, bo.yang


The patch titled
     scsi: megaraid_sas: add the dumy readl to force PCI flush
has been added to the -mm tree.  Its filename is
     scsi-megaraid_sas-add-the-dumy-readl-to-force-pci-flush.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: scsi: megaraid_sas: add the dumy readl to force PCI flush
From: "Yang, Bo" <Bo.Yang@lsi.com>

MegaRAID SAS Driver get unexpected Interrupt.  Add the dumy readl to force
PCI flush will fix this issue.

Signed-off-by Bo Yang<bo.yang@lsi.com>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/scsi/megaraid/megaraid_sas.c |    6 ++++++
 1 file changed, 6 insertions(+)

diff -puN drivers/scsi/megaraid/megaraid_sas.c~scsi-megaraid_sas-add-the-dumy-readl-to-force-pci-flush drivers/scsi/megaraid/megaraid_sas.c
--- a/drivers/scsi/megaraid/megaraid_sas.c~scsi-megaraid_sas-add-the-dumy-readl-to-force-pci-flush
+++ a/drivers/scsi/megaraid/megaraid_sas.c
@@ -198,6 +198,9 @@ megasas_clear_intr_xscale(struct megasas
 	 */
 	writel(status, &regs->outbound_intr_status);
 
+	/* Dummy readl to force pci flush */
+	readl(&regs->outbound_intr_status);
+
 	return 0;
 }
 
@@ -293,6 +296,9 @@ megasas_clear_intr_ppc(struct megasas_re
 	 */
 	writel(status, &regs->outbound_doorbell_clear);
 
+	/* Dummy readl to force pci flush */
+	readl(&regs->outbound_doorbell_clear);
+
 	return 0;
 }
 /**
_

Patches currently in -mm which might be from Bo.Yang@lsi.com are

scsi-megaraid_sas-add-the-dumy-readl-to-force-pci-flush.patch
scsi-megaraid_sas-add-the-shutdown-dcmd-cmd-to-driver-shutdown-routine.patch
scsi-megaraid_sas-add-the-new-controllers-support.patch
scsi-megaraid_sas-add-the-new-controllers-support-checkpatch-fixes.patch
scsi-megaraid_sas-version-and-documentation-update.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-08-05  0:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-05  0:41 + scsi-megaraid_sas-add-the-dumy-readl-to-force-pci-flush.patch added to -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.