+ cciss-disable-dma-prefetch-for-p600.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     cciss: disable dma prefetch for P600

has been added to the -mm tree.  Its filename is

     cciss-disable-dma-prefetch-for-p600.patch

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

------------------------------------------------------
Subject: cciss: disable dma prefetch for P600
From: "Mike Miller (OS Dev)" <mikem@xxxxxxxxxxxxxxxxxxxxxxx>

Turn off DMA prefetch for the P600 on systems which may present
discontiguous memory.

Signed-off-by: Mike Miller <mikem@xxxxxxxxxxxxxxxxxxxxxxx>
Cc: Jens Axboe <jens.axboe@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/block/cciss.c |   15 +++++++++++++++
 1 files changed, 15 insertions(+)

diff -puN drivers/block/cciss.c~cciss-disable-dma-prefetch-for-p600 drivers/block/cciss.c
--- a/drivers/block/cciss.c~cciss-disable-dma-prefetch-for-p600
+++ a/drivers/block/cciss.c
@@ -2982,6 +2982,21 @@ static int cciss_pci_init(ctlr_info_t *c
 	}
 #endif
 
+#if defined(CONFIG_IA64) || defined(CONFIG_X86_64)
+	{
+		/* DMA prefetch must be disabled on P600 on platforms that may
+		 * present noncontiguous memory.
+		 */
+
+		__u32 dma_prefetch;
+		if(board_id == 0x3225103C) {
+			dma_prefetch = readl(c->vaddr + I2O0_DMA1_CFG);
+			dma_prefetch |= 0x8000;
+			writel(c->vaddr + I2O0_DMA1_CFG, dma_prefetch);
+		}
+	}
+#endif /* CONFIG_IA64 || CONFIG_X86_64 */
+
 #ifdef CCISS_DEBUG
 	printk("Trying to put board into Simple mode\n");
 #endif				/* CCISS_DEBUG */
_

Patches currently in -mm which might be from mikem@xxxxxxxxxxxxxxxxxxxxxxx are

cciss-change-pci-id-for-bug-workaround.patch
cciss-disable-dma-prefetch-for-p600.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux