Bartlomiej Zolnierkiewicz
509426bd46
pata_cmd64x: fix overclocking of UDMA0-2 modes
...
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.
Cc: stable@kernel.org
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2009-12-20 15:42:12 -05:00
..
2009-12-03 14:36:17 -05:00
2009-12-03 14:35:31 -05:00
2009-12-09 19:43:33 -08:00
2009-12-09 17:14:38 +11:00
2009-12-03 02:46:33 -05:00
2009-12-03 14:36:16 -05:00
2009-12-03 02:46:35 -05:00
2009-09-08 21:21:14 -04:00
2009-12-17 01:02:09 -05:00
2009-12-17 01:08:29 -05:00
2009-10-06 00:26:27 -04:00
2009-12-09 17:14:38 +11:00
2009-03-24 22:13:27 -04:00
2009-12-03 02:46:36 -05: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
2009-12-20 15:42:12 -05:00
2009-03-24 22:13:27 -04:00
2009-12-03 15:52:51 -05:00
2009-03-24 22:13:27 -04:00
2009-11-09 09:40:55 +01:00
2009-12-03 02:46:34 -05:00
2009-03-24 22:13:27 -04:00
2009-12-03 17:52:16 -05:00
2009-12-17 01:11:27 -05:00
2009-12-03 15:58:53 -05:00
2009-12-03 14:36:17 -05:00
2009-12-03 14:36:17 -05:00
2009-03-28 20:29:51 +00:00
2009-03-24 22:52:39 -04:00
2009-12-03 02:46:35 -05:00
2009-12-03 17:53:27 -05:00
2009-04-07 08:31:11 -07:00
2009-03-24 22:13:27 -04:00
2009-12-03 16:06:47 -05:00
2009-12-09 17:09:28 +11:00
2009-12-03 16:07:12 -05: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-12-03 16:08:30 -05:00
2009-12-17 01:02:50 -05:00
2008-10-10 15:55:17 +11:00
2009-12-03 17:52:16 -05: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-11-28 18:03:14 +01:00
2009-05-11 14:30:07 -04:00
2009-03-24 22:13:27 -04:00
2009-12-03 14:35:31 -05:00
2009-09-11 02:25:58 -04:00
2009-03-24 22:13:27 -04:00
2009-12-03 16:11:24 -05:00
2009-09-11 02:25:58 -04:00
2009-12-03 17:52:16 -05:00
2009-12-03 16:12:35 -05: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-12-03 14:36:17 -05:00
2009-12-07 11:41:25 -05:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-12-03 16:13:39 -05:00
2009-03-24 22:13:27 -04:00
2009-04-07 08:31:11 -07:00
2009-12-09 19:43:33 -08:00
2009-09-01 19:47:20 -04:00
2009-12-19 11:04:29 -08:00
2009-12-04 12:00:41 -06: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-12-03 02:46:34 -05: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