The patch titled
     ahci: enable GHC.AE bit before set GHC.HR
has been removed from the -mm tree.  Its filename was
     ahci-enable-ghcae-bit-before-set-ghchr.patch

This patch was dropped because an updated version will be merged

------------------------------------------------------
Subject: ahci: enable GHC.AE bit before set GHC.HR
From: "Peer Chen" <[EMAIL PROTECTED]>

According to the description of section 5.2.2.1 and 10.1.2 of AHCI
specification rev1_1/rev1_2, GHC.HR shall only be set to 1 by software when
GHC.AE is set to 1.

Signed-off-by: Peer Chen <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 drivers/ata/ahci.c |    4 ++++
 1 file changed, 4 insertions(+)

diff -puN drivers/ata/ahci.c~ahci-enable-ghcae-bit-before-set-ghchr 
drivers/ata/ahci.c
--- a/drivers/ata/ahci.c~ahci-enable-ghcae-bit-before-set-ghchr
+++ a/drivers/ata/ahci.c
@@ -834,6 +834,10 @@ static int ahci_reset_controller(struct 
        void __iomem *mmio = host->iomap[AHCI_PCI_BAR];
        u32 tmp;
 
+        /* turn on AHCI mode before controller reset*/
+        writel(HOST_AHCI_EN, mmio + HOST_CTL);
+        (void) readl(mmio + HOST_CTL);  /* flush */
+
        /* global controller reset */
        tmp = readl(mmio + HOST_CTL);
        if ((tmp & HOST_RESET) == 0) {
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

alsa-add-the-mcp79-support-to-hda_intel-driver.patch
ahci-enable-ghcae-bit-before-set-ghchr.patch
ahci-add-mcp79-support-to-ahci-driver.patch

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

Reply via email to