Re: [PATCH v2 2/2] libata: Ignore spurious PHY event on LPM policy change
From: Tejun Heo
Date: Sat Apr 25 2015 - 16:54:18 EST
On Sat, Apr 25, 2015 at 07:52:37PM +0200, Gabriele Mazzotta wrote:
> When the LPM policy is set to ATA_LPM_MAX_POWER, the device might
> generate a spurious PHY event that cuases errors on the link.
> Ignore this event if it occured within 10s after the policy change.
>
> The timeout was chosen observing that on a Dell XPS13 9333 these
> spurious events can occur up to roughly 6s after the policy change.
>
> Link: http://lkml.kernel.org/g/3352987.ugV1Ipy7Z5@xps13
> Signed-off-by: Gabriele Mazzotta <gabriele.mzt@xxxxxxxxx>
Applied 1-2 to libata/for-4.1-fixes w/ stable cc'd.
Thanks a lot.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/