Deepak Saxena wrote:
>  simply grabbing that irq via request_irq() causes USB 
>   device insertion (and other things?) to break. 

I had a related problem in OFW - enabling the SMBALRT# pin (for DCON 
use) caused immediate wakeups from suspends (in OFW-based testing).  
OFW's solution is to enable SMBALRT# for the shortest possible time, 
just when it is being tested.

I wonder if a similar narrow-enable approach could be used with 
request_irq()?  I can see how that might be tricky.

Alternatively, could Linux avoid using interrupts for that DCON sync 
function, polling with interrupts disabled like OFW does?  The overall 
system performance impact should be small, since the maximum wait time 
is only one video frame, and it only happens a freeze points, which are 
presumably times of low activity.

_______________________________________________
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel

Reply via email to