Bartlomiej Zolnierkiewicz
1ee0552bc1
pata_cmd64x: fix overclocking of UDMA0-2 modes
...
commit 509426bd46 upstream.
adev->dma_mode stores the transfer mode value not UDMA mode number
so the condition in cmd64x_set_dmamode() is always true and the higher
UDMA clock is always selected. This can potentially result in data
corruption when UDMA33 device is used, when 40-wire cable is used or
when the error recovery code decides to lower the device speed down.
The issue was introduced in the commit 6a40da0 ("libata cmd64x: whack
into a shape that looks like the documentation") which goes back to
kernel 2.6.20.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com >
Signed-off-by: Jeff Garzik <jgarzik@redhat.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-01-06 15:03:23 -08:00
..
2009-11-03 14:25:57 -05:00
2009-03-24 22:13:27 -04:00
2009-08-31 17:25:00 -10:00
2009-09-17 16:47:06 -04:00
2009-10-06 00:26:27 -04:00
2009-11-03 14:26:12 -05:00
2009-10-16 06:21:54 -04:00
2009-09-08 21:21:14 -04:00
2009-09-08 21:17:43 -04:00
2009-06-10 07:50:16 -04:00
2009-10-06 00:26:27 -04:00
2009-09-17 16:47:06 -04:00
2009-03-24 22:13:27 -04:00
2009-10-06 00:22:10 -04:00
2009-09-17 16:46:41 -04:00
2009-03-24 22:45:05 -04:00
2009-03-24 22:13:27 -04:00
2009-08-12 06:16:47 -04:00
2009-10-16 06:21:20 -04:00
2009-10-06 20:58:23 -04:00
2009-03-24 22:13:27 -04:00
2010-01-06 15:03:23 -08:00
2009-03-24 22:13:27 -04:00
2009-04-07 08:31:11 -07:00
2009-03-24 22:13:27 -04:00
2009-09-11 02:31:31 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-06-05 14:40:52 -04:00
2010-01-06 15:03:22 -08:00
2009-03-24 22:13:27 -04:00
2009-12-18 14:03:48 -08:00
2009-03-24 22:13:27 -04:00
2009-03-28 20:29:51 +00:00
2009-03-24 22:52:39 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-04-07 08:31:11 -07:00
2009-03-24 22:13:27 -04:00
2009-06-05 14:40:46 -04:00
2009-03-24 22:13:27 -04:00
2009-06-17 00:30:22 -06:00
2009-03-24 22:13:27 -04:00
2009-06-08 09:12:28 -07:00
2009-04-16 15:28:23 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-09-11 02:25:58 -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-05-31 14:50:40 +01:00
2009-07-28 21:05:18 -04:00
2009-05-11 14:30:07 -04:00
2009-03-24 22:13:27 -04:00
2009-09-11 02:25:58 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:32 -04:00
2009-09-11 02:25:58 -04:00
2009-09-01 19:47:20 -04:00
2009-09-11 02:33:59 -04:00
2009-10-16 06:22:40 -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-10-16 06:19:45 -04:00
2009-03-24 22:13:27 -04:00
2009-04-07 08:31:11 -07:00
2009-11-19 18:18:17 -05:00
2009-09-01 19:47:20 -04:00
2009-10-16 06:22:46 -04:00
2009-10-16 06:21:32 -04:00
2009-09-17 16:46:34 -04:00
2008-01-23 05:24:15 -05:00
2009-04-07 08:31:11 -07:00
2009-09-01 19:47:21 -04:00
2009-09-01 19:47:19 -04:00
2009-09-08 21:17:36 -04:00
2009-03-24 22:13:27 -04:00
2009-06-10 07:50:17 -04:00
2009-03-24 22:13:27 -04:00
2009-11-03 14:27:06 -05:00
2009-04-07 08:31:11 -07:00
2007-07-02 10:17:42 -04:00