From: Gabriele Mazzotta <gabriele.mzt@gmail.com>
To: Tejun Heo <tj@kernel.org>
Cc: linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org
Subject: Re: SATA link power management issues
Date: Mon, 12 Jan 2015 18:15:52 +0100 [thread overview]
Message-ID: <1606112.gp6iaYBghU@xps13> (raw)
In-Reply-To: <20150112170734.GA22156@htj.dyndns.org>
On Monday 12 January 2015 12:07:34 Tejun Heo wrote:
> Hello, Gabriele.
>
> On Mon, Jan 12, 2015 at 06:03:41PM +0100, Gabriele Mazzotta wrote:
> > I tried it and got the same result:
> >
> > [ 451.077463] ahci 0000:00:1f.2: port does not support device sleep
> > [ 452.162451] ata3.00: exception Emask 0x10 SAct 0x400 SErr 0x50000 action 0xe frozen
> > [ 452.162461] ata3.00: irq_stat 0x00400008, PHY RDY changed
> > [ 452.162467] ata3: SError: { PHYRdyChg CommWake }
> > [ 452.162473] ata3.00: failed command: WRITE FPDMA QUEUED
> > [ 452.162484] ata3.00: cmd 61/58:50:98:7c:4b/00:00:17:00:00/40 tag 10 ncq 45056 out
> > res 40/00:54:98:7c:4b/00:00:17:00:00/40 Emask 0x10 (ATA bus error)
> > [ 452.162489] ata3.00: status: { DRDY }
> > [ 452.162497] ata3: hard resetting link
> > [ 452.886958] ata3: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
> > [ 452.890384] ata3.00: configured for UDMA/133
> > [ 452.902976] ahci 0000:00:1f.2: port does not support device sleep
> > [ 452.903002] ata3: EH complete
>
> Hah, that's weird. Can you please double check that you're actually
> running the patched kernel by throwing in a printk around the
> commented out section? If leaving phy irqs turned off doesn't make
> the problem go away, I'm not sure there's much we can do. Hmmm... one
> option could be holding off speed-down verdict after LPM state
> transition, but it looks like the ssd in question is misbehaving
> pretty badly.
>
> Thanks.
Done:
[ 168.515793] ahci 0000:00:1f.2: port does not support device sleep
[ 168.515800] Skip turn PHYRDY IRQ back on
[ 168.515802] turn PHYRDY IRQ back on skipped
[ 168.523793] ata3.00: exception Emask 0x10 SAct 0x40 SErr 0x50000 action 0xe frozen
[ 168.523798] ata3.00: irq_stat 0x00400008, PHY RDY changed
[ 168.523801] ata3: SError: { PHYRdyChg CommWake }
[ 168.523805] ata3.00: failed command: WRITE FPDMA QUEUED
[ 168.523811] ata3.00: cmd 61/28:30:68:60:4b/00:00:17:00:00/40 tag 6 ncq 20480 out
res 40/00:34:68:60:4b/00:00:17:00:00/40 Emask 0x10 (ATA bus error)
[ 168.523814] ata3.00: status: { DRDY }
[ 168.523819] ata3: hard resetting link
[ 169.248384] ata3: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 169.251661] ata3.00: configured for UDMA/133
[ 169.264293] ahci 0000:00:1f.2: port does not support device sleep
[ 169.264299] Skip turn PHYRDY IRQ back on
[ 169.264301] turn PHYRDY IRQ back on skipped
[ 169.264315] ata3: EH complete
next prev parent reply other threads:[~2015-01-12 17:15 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-08 19:37 SATA link power management issues Gabriele Mazzotta
2015-01-09 22:00 ` Tejun Heo
2015-01-09 22:02 ` Tejun Heo
2015-01-09 22:05 ` Tejun Heo
2015-01-09 22:50 ` Gabriele Mazzotta
2015-01-12 13:16 ` Tejun Heo
2015-01-12 17:03 ` Gabriele Mazzotta
2015-01-12 17:07 ` Tejun Heo
2015-01-12 17:15 ` Gabriele Mazzotta [this message]
2015-01-09 22:40 ` Gabriele Mazzotta
[not found] ` <CAOHikRDTgVWL7_WUS3Yvce01GyP5TcyRm8ojfAyTHLTZ7xiR7A@mail.gmail.com>
2015-01-12 17:16 ` Suman Tripathi
2015-01-12 20:26 ` Gabriele Mazzotta
[not found] ` <CAOHikRCp=m6tgKEmdg2pLj=XB2ugCGhj0rkeqCzF2+DPR8O9sw@mail.gmail.com>
2015-01-12 20:36 ` Gabriele Mazzotta
[not found] ` <CAOHikRC43JBMwCahBqT1znJLBnbr3Ui+szKhVQoK8cpfapTQyg@mail.gmail.com>
2015-01-12 20:54 ` Gabriele Mazzotta
2015-01-12 23:05 ` Gabriele Mazzotta
2015-02-22 20:53 ` Gabriele Mazzotta
2015-04-20 20:02 ` Gabriele Mazzotta
2015-04-21 15:31 ` Tejun Heo
2015-04-21 20:29 ` Gabriele Mazzotta
2015-04-21 20:56 ` Tejun Heo
2015-04-21 21:44 ` Gabriele Mazzotta
2015-04-24 21:44 ` Tejun Heo
2015-04-25 9:34 ` [PATCH] libata: Ignore spurious PHY events on LPM policy change Gabriele Mazzotta
2015-04-25 15:37 ` Tejun Heo
2015-04-25 17:57 ` Gabriele Mazzotta
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1606112.gp6iaYBghU@xps13 \
--to=gabriele.mzt@gmail.com \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tj@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).