On Tue, Aug 17, 2010 at 05:30:07PM -0400, Jeff Garzik wrote: > On 08/17/2010 08:13 AM, Tejun Heo wrote: > >Commit d62f5576 (pata_cmd64x: fix handling of address setup timings) > >incorrectly called ata_timing_compute() on UDMA mode on 0 @UT leading > >to devide by zero fault. Revert it until better fix is available. > >This is reported in bko#16607 by Milan Kocian who also root caused it. > > > > https://bugzilla.kernel.org/show_bug.cgi?id=16607 > > > >Signed-off-by: Tejun Heo<tj@xxxxxxxxxx> > >Reported-and-root-caused-by: Milan Kocian<milan.kocian@xxxxx> > >Cc: Bartlomiej Zolnierkiewicz<bzolnier@xxxxxxxxx> > >Cc: stable@xxxxxxxxxx > >--- > > drivers/ata/pata_cmd64x.c | 6 ------ > > 1 file changed, 6 deletions(-) > > > >diff --git a/drivers/ata/pata_cmd64x.c b/drivers/ata/pata_cmd64x.c > >index 9f5da1c..905ff76 100644 > >--- a/drivers/ata/pata_cmd64x.c > >+++ b/drivers/ata/pata_cmd64x.c > >@@ -121,14 +121,8 @@ static void cmd64x_set_timing(struct ata_port *ap, struct ata_device *adev, u8 m > > > > if (pair) { > > struct ata_timing tp; > >- > > ata_timing_compute(pair, pair->pio_mode,&tp, T, 0); > > ata_timing_merge(&t,&tp,&t, ATA_TIMING_SETUP); > >- if (pair->dma_mode) { > >- ata_timing_compute(pair, pair->dma_mode, > >- &tp, T, 0); > >- ata_timing_merge(&tp,&t,&t, ATA_TIMING_SETUP); > > applied; even if not perfect, this gets us into a better state. > > Thank all for solving this. Should I close the bug now ? regards -- Milan Kocian -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html