From patchwork Wed Aug 5 02:10:41 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Soften up the dmesg on SB600 PMP softreset failure recovery Date: Tue, 04 Aug 2009 16:10:41 -0000 From: Shane Huang X-Patchwork-Id: 30762 Message-Id: <1249438241.3583.5.camel@zm-desktop> To: jgarzik@pobox.com Cc: linux-ide@vger.kernel.org, tj@kernel.org, pgnet.dev@gmail.com, "Huang, Shane" Too strong words led to spurious bug reports: Novell bugzilla #527748, RedHat bugzilla #468800. This patch is used to soften up the dmesg on SB600 PMP softreset failure recovery, so as to remove the scariness and concern from community. Reported-by: pgnet Dev Signed-off-by: Shane Huang Cc: Tejun Heo Acked-by: Tejun Heo --- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff -ruN a/drivers/ata/ahci.c b/drivers/ata/ahci.c --- a/drivers/ata/ahci.c 2009-07-29 14:38:39.000000000 +0800 +++ b/drivers/ata/ahci.c 2009-08-04 17:24:34.000000000 +0800 @@ -1769,7 +1769,8 @@ irq_sts = readl(port_mmio + PORT_IRQ_STAT); if (irq_sts & PORT_IRQ_BAD_PMP) { ata_link_printk(link, KERN_WARNING, - "failed due to HW bug, retry pmp=0\n"); + "applying SB600 PMP SRST workaround " + "and retrying\n"); rc = ahci_do_softreset(link, class, 0, deadline, ahci_check_ready); }