help on lost interrupt

Paul Mackerras paulus at cs.anu.edu.au
Fri Jul 16 15:12:10 EST 1999


Rajendra Prasad <prasadr at duettech.com> wrote:

> I was looking the source code of linux for ppc. In the interrupt
> handling
> there is a concept of lost_interrupt and do_lost_interrupt. I could not
> understand why this is required and how it is managed on linux.

With the interrupt controller on powermacs, if you disable an
interrupt in the interrupt controller, then the device requests an
interrupt, then you enable that interrupt in the interrupt controller,
the interrupt controller doesn't then request an interrupt from the
CPU.  So in that situation we set the corresponding bit in
lost_interrupts, and when interrupts get reenabled, we check if there
are any such interrupts that need to be serviced.

Paul.

[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]





More information about the Linuxppc-dev mailing list