]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/suse-2.6.27.39/patches.drivers/libata-ahci-sb600-srst-workaround-soften-msg
Fix oinkmaster patch.
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.39 / patches.drivers / libata-ahci-sb600-srst-workaround-soften-msg
CommitLineData
2cb7cef9
BS
1Subject: ahci: soften up the dmesg on SB600 PMP softreset failure recovery
2From: Shane Huang <shane.huang@amd.com>
3References: bnc#527748
4
5Too strong words led to spurious bug reports: Novell bugzilla #527748,
6RedHat bugzilla #468800. This patch is used to soften up the dmesg on
7SB600 PMP softreset failure recovery, so as to remove the scariness and
8concern from community.
9
10Reported-by: pgnet Dev <pgnet.dev@gmail.com>
11Signed-off-by: Shane Huang <shane.huang@amd.com>
12Cc: Tejun Heo <tj@kernel.org>
13Signed-off-by: Tejun Heo <teheo@suse.de>
14---
15 drivers/ata/ahci.c | 3 ++-
16 1 file changed, 2 insertions(+), 1 deletion(-)
17
18Index: linux-2.6.27-SLE11_BRANCH/drivers/ata/ahci.c
19===================================================================
20--- linux-2.6.27-SLE11_BRANCH.orig/drivers/ata/ahci.c
21+++ linux-2.6.27-SLE11_BRANCH/drivers/ata/ahci.c
22@@ -1735,7 +1735,8 @@ static int ahci_sb600_softreset(struct a
23 irq_sts = readl(port_mmio + PORT_IRQ_STAT);
24 if (irq_sts & PORT_IRQ_BAD_PMP) {
25 ata_link_printk(link, KERN_WARNING,
26- "failed due to HW bug, retry pmp=0\n");
27+ "applying SB600 PMP SRST workaround "
28+ "and retrying\n");
29 rc = ahci_do_softreset(link, class, 0, deadline,
30 ahci_check_ready);
31 }