diff options
| author | Gabriele Mazzotta <[email protected]> | 2015-04-25 17:52:37 +0000 |
|---|---|---|
| committer | Tejun Heo <[email protected]> | 2015-04-25 20:50:14 +0000 |
| commit | 09c5b4803a80a5451d950d6a539d2eb311dc0fb1 (patch) | |
| tree | 3c705a3de60c8c2fe76ee8dd8d13d6e8676bce10 /net/switchdev/switchdev.c | |
| parent | libata: Add helper to determine when PHY events should be ignored (diff) | |
| download | kernel-09c5b4803a80a5451d950d6a539d2eb311dc0fb1.tar.gz kernel-09c5b4803a80a5451d950d6a539d2eb311dc0fb1.zip | |
libata: Ignore spurious PHY event on LPM policy change
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 <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Cc: [email protected]
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
