help on lost interrupt
Hi,
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.
Is it something like interrupt is recognized by isr but not serviced by the
drivers and interrupt is left as disabled?
regards
Rajendra Prasad
begin:vcard
n:Prasad;Rajendra
tel;home:91-118-535666
tel;work:91-118-567001
x-mozilla-html:FALSE
url:www.duettech.com
org:Duet Technologies Ltd.;Telecom
adr:;;#B1, SDF, NEPZ;NOIDA;U.P.;201305;INDIA
version:2.1
email;internet:[email protected]
title:Project Leader
x-mozilla-cpt:;-14352
fn:Rajendra Prasad
end:vcard
Quoted 4 lines · Rajendra Prasad
I was looking the source code of linux for ppc. In the interrupt handling
there is a concept oflost_interruptanddo_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. ]]