Re: [RFC] disable_irq()/enable_irq() semantics and ide-probe.c

From: Jeff Garzik
Date: Thu Oct 09 2003 - 12:18:56 EST


Benjamin Herrenschmidt wrote:
On Thu, 2003-10-09 at 19:03, Jeff Garzik wrote:


Easily solved with a synchronize_irq() ;-)


No. synchronize_irq will do nothing to an irq that is
still somewhere in the HW path from the device to the core,
and even in the core it may be queued for some cycles before
actually delivered.


hmmm, ok :)

Well my main objection is disable_irq+free_irq+enable_irq. Seems to me we'll wind up coding around that. Maybe a free_and_enable_irq is appropriate to avoid such a situation? Oh well, just thinking out loud...

Jeff



-
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/