Søren Schmidt wrote: > There is no good solution to this *unless* the HW has bits to > determine which channel caused the interrupt. Now all decent > controller has this, but I have no idea about the VIA since they are > not one of those companies that hands out docs. > > The only way to safeguard is to "serialize" access to the channels as > I've done on a few oh so broken chipsets... Ok, I see where it should be detected now - in ata_generic_intr, before ata_generic_interrupt... There is an actual test for the interrupt on the channel, so there should be no race if the controller works correctly. Apparently the VIA doesn't... The detection only applies to DMA - is PIO sensitive to unexpected interrupts, even on working controllers? If so, shouldn't there be some protection against this?Received on Mon Aug 02 2004 - 16:19:28 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:04 UTC