Re: [PATCH] ide-cd: handle fragmented packet commands gracefully

From: David Miller
Date: Fri Jun 26 2009 - 12:23:43 EST


From: Borislav Petkov <petkovbb@xxxxxxxxxxxxxx>
Date: Fri, 26 Jun 2009 10:19:58 +0200

> Hi David,
>
> On Mon, Jun 22, 2009 at 11:50:22AM +0200, Bartlomiej Zolnierkiewicz wrote:
>> On Sunday 21 June 2009 10:55:27 Borislav Petkov wrote:
>> > There are some devices in the wild that clear the DRQ bit during the
>> > last word of a packet command and therefore could use a "second chance"
>> > for that last word of data to be xferred instead of simply failing the
>> > request. Do that by attempting to suck in those last bytes in PIO mode.
>> >
>> > In addition, the ATA_ERR bit has to be cleared for we cannot be sure the
>> > data is valid otherwise.
>> >
>> > See http://bugzilla.kernel.org/show_bug.cgi?id=13399 for details.
>> >
>> > Signed-off-by: Borislav Petkov <petkovbb@xxxxxxxxx>
>>
>> Acked-by: Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxx>
>
> can you pick that one too, please. I can't seem to find it on patchwork.

Yep, I'll dig into the archives to get it, I had this on my TODO
list.

Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/