Mark Lord
e18086d69c
[libata] More robust parsing for IDENTIFY DEVICE multi_count field
...
Make libata more robust when parsing the multi_count
field from a drive's identify data. This prevents us from
attempting to use dubious multi_count values ad infinitum.
Reset dev->multi_count to zero and reprobe it each time
through this routine, as it can change on device reset.
Also ensure that the reported "maximum" value is valid
and is a power of two, and that the reported "count" value
is valid and also a power of two. And that the "count"
value is not greater than the "maximum" value.
Signed-off-by: Mark Lord <mlord@pobox.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2009-03-24 22:40:05 -04:00
..
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-01-26 06:42:10 -05:00
2009-01-09 03:39:43 -05:00
2009-03-24 22:40:05 -04:00
2009-03-05 07:25:43 -05:00
2009-02-02 23:03:22 -05:00
2009-02-02 22:41:45 -05:00
2009-03-13 14:55:58 -04:00
2009-03-24 22:02:41 -04:00
2009-01-16 10:23:39 -05:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:39 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2008-10-10 15:55:17 +11:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-01-08 16:10:29 -05:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:32 -04:00
2009-03-24 22:16:34 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:35:47 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2008-01-23 05:24:15 -05:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2007-07-02 10:17:42 -04:00