Re: Safety of IRQ during i/o

Bill Davidsen (davidsen@tmr.com)
Thu, 25 Jul 2002 07:17:55 -0400 (EDT)


On 25 Jul 2002, Alan Cox wrote:

> There are also some older systems where if the block transfer of the IDE
> data didn't keep up with the controller instead of handshaking properly
> it kind of dribbled random numbers onto the disk.
>
> Unless anyone knows of PCI era devices with this problem I would be
> inclined to agree that we should default to IRQ unmasking in the 2.5 IDE
> code if the IDE controller is PCI.

Certainly if the controller is running in DMA mode. If running in PIO mode
I would think you could still have a problem if the transfer was stopped
mid-block. Perhaps I'm paranoid, is that a "can't happen" now?

> For old ISA/VLB controllers its safer left as is, and nobody running a
> machine like that can realistically expect good performance without hand
> tuning stuff anyway

I would think the guts of PIO block transfer would have to be protected
anyway, but that's a very small part of the code.

-- 
bill davidsen <davidsen@tmr.com>
  CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.

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