RE: A question about ohci_irq()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 28 Dec 2009, Huang, FrankR wrote:

> No problem , Alan. I can post the debug info. Which part do you want to
> check? I can post it.

Go ahead and post all of it.

> The two controllers share the same IRQ. The cat /proc/interrupts result
> for ohci and ehci is as below:
> 
> 	11:           1924		XT-PIC 	ehci_hcd:usb1,
> ohci_hcd:usb2

That's why ohci_irq runs when you transfer file data.  The data
transfer causes the EHCI controller to issue interrupt requests, and
the CPU has to call both interrupt routines (ehci_irq and ohci_irq)  
whenever one of the interrupts occurs.

> When I use the udelay(1), the result is better and the mouse hang still
> happen. But the hang time is delayed(around 30 mins)
> When I use the udelay(100), the hang issue is hardly found.

Please post the patch for your udelay().

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux