From: Tejun Heo <tj@kernel.org>
To: Hans de Goede <hdegoede@redhat.com>
Cc: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org,
Kevin Shanahan <kevin@shanahan.id.au>
Subject: Re: [PATCH] libata: Apply NOLPM quirk for SAMSUNG MZMPC128HBFU-000MV SSD
Date: Thu, 26 Apr 2018 11:46:43 -0700 [thread overview]
Message-ID: <20180426184643.GL1911913@devbig577.frc2.facebook.com> (raw)
In-Reply-To: <20180424091907.19903-1-hdegoede@redhat.com>
On Tue, Apr 24, 2018 at 11:19:07AM +0200, Hans de Goede wrote:
> Kevin Shanahan reports the following repeating errors when using LPM,
> causing long delays accessing the disk:
>
> Apr 23 10:21:43 link kernel: ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x50000 action 0x6 frozen
> Apr 23 10:21:43 link kernel: ata1: SError: { PHYRdyChg CommWake }
> Apr 23 10:21:43 link kernel: ata1.00: failed command: WRITE DMA
> Apr 23 10:21:43 link kernel: ata1.00: cmd ca/00:08:60:5d:cd/00:00:00:00:00/e1 tag 9 dma 4096 out
> res 50/01:01:01:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
> Apr 23 10:21:43 link kernel: ata1.00: status: { DRDY }
> Apr 23 10:21:43 link kernel: ata1.00: error: { AMNF }
> Apr 23 10:21:43 link kernel: ata1: hard resetting link
> Apr 23 10:21:43 link kernel: ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
> Apr 23 10:21:43 link kernel: ata1.00: configured for UDMA/133
> Apr 23 10:21:43 link kernel: ata1: EH complete
>
> These go away when switching from med_power_with_dipm to medium_power.
>
> This is somewhat weird as the PM830 datasheet explicitly mentions DIPM
> being supported and the idle power-consumption is specified with DIPM
> enabled.
>
> There are many OEM customized firmware versions for the PM830, so for now
> lets assume this is firmware version specific and blacklist LPM based on
> the firmware version.
>
> Cc: Kevin Shanahan <kevin@shanahan.id.au>
> Reported-by: Kevin Shanahan <kevin@shanahan.id.au>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Applied to libata/for-4.17-fixes.
Thanks.
--
tejun
prev parent reply other threads:[~2018-04-26 18:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-24 9:19 [PATCH] libata: Apply NOLPM quirk for SAMSUNG MZMPC128HBFU-000MV SSD Hans de Goede
2018-04-26 18:46 ` Tejun Heo [this message]
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=20180426184643.GL1911913@devbig577.frc2.facebook.com \
--to=tj@kernel.org \
--cc=hdegoede@redhat.com \
--cc=kevin@shanahan.id.au \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.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