Messages in this thread | | | Subject | Re: Safety of IRQ during i/o | From | Alan Cox <> | Date | 25 Jul 2002 11:26:24 +0100 |
| |
On Thu, 2002-07-25 at 08:54, Marcin Dalecki wrote: > > Yup, for PIO unmask (if possible) is a must. > > It's even for DMA a good thing, since the IRQ handler in question can > reenter the RQ handler. The invention of the not unmasking > behaviour in Linux is the result of some not entierly ATA-2 compliant > devices long long time ago gone. Basically XT disks on PC. They did have > the habbit of splewing IRQs too early for command ACK.
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.
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
- 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/
| |