[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070623035451.GA5522@alinoe.com>
Date: Sat, 23 Jun 2007 05:54:51 +0200
From: Carlo Wood <carlo@...noe.com>
To: Jeff Garzik <jeff@...zik.org>, Tejun Heo <htejun@...il.com>,
Manoj Kasichainula <manoj@...com>, linux-kernel@...r.kernel.org
Subject: Re: SATA RAID5 speed drop of 100 MB/s
For what it's worth... I tried applying
--- a/drivers/ata/ahci.c
+++ b/drivers/ata/ahci.c
@@ -516,6 +516,8 @@ static void ahci_save_initial_config(struct pci_dev *pdev,
* reset. Values without are used for driver operation.
*/
hpriv->saved_cap = cap = readl(mmio + HOST_CAP);
+ hpriv->saved_cap &= ( (1<<28) | (1<<17) );
+ hpriv->saved_cap |= (1 << 27);
hpriv->saved_port_map = port_map = readl(mmio + HOST_PORTS_IMPL);
/* some chips lie about 64bit support */
to 2.6.22-rc5, but it had no effect :*)
I'll await any comments from a kernel developer for now.
Please let me know if you want me to test something.
--
Carlo Wood <carlo@...noe.com>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists