Interrupt handler not executed
Scott Wood
scottwood at freescale.com
Sat Jan 12 05:16:11 EST 2013
On 01/11/2013 01:36:29 AM, R.Patil at mei-india.com wrote:
> Hello,
>
> We are working on board based on Freescale MPC8313ERDB. We have
> ported linux 3.0.46 kernel on it. In one of device driver written by
> us, we need to take some action upon asserting IRQ0 interrupt. For
> this we have written interrupt handler which takes care of this. We
> are able register interrupt handler successfully with the help of
> 'request_irq'. We confirmed this by checking respective entry in
> '/proc/interrupts'. We have also confirmed assertion of interrupt
> line (IRQ0) on oscilloscope. The problem is, interrupt handler does
> not execute upon asserting the interrupt line.
What IRQ number did you pass to request_irq()? request_irq() takes
virtual interrupt numbers, not anything out of the chip manual.
If that's not the issue, is the interrupt configured properly for level
and sense?
-Scott
More information about the Linuxppc-dev
mailing list