]>
Commit | Line | Data |
---|---|---|
2cb7cef9 BS |
1 | Subject: ahci: soften up the dmesg on SB600 PMP softreset failure recovery |
2 | From: Shane Huang <shane.huang@amd.com> | |
3 | References: bnc#527748 | |
4 | ||
5 | Too strong words led to spurious bug reports: Novell bugzilla #527748, | |
6 | RedHat bugzilla #468800. This patch is used to soften up the dmesg on | |
7 | SB600 PMP softreset failure recovery, so as to remove the scariness and | |
8 | concern from community. | |
9 | ||
10 | Reported-by: pgnet Dev <pgnet.dev@gmail.com> | |
11 | Signed-off-by: Shane Huang <shane.huang@amd.com> | |
12 | Cc: Tejun Heo <tj@kernel.org> | |
13 | Signed-off-by: Tejun Heo <teheo@suse.de> | |
14 | --- | |
15 | drivers/ata/ahci.c | 3 ++- | |
16 | 1 file changed, 2 insertions(+), 1 deletion(-) | |
17 | ||
18 | Index: 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 | } |