* help on lost interrupt
@ 1999-07-15 13:22 Rajendra Prasad
1999-07-16 5:12 ` Paul Mackerras
0 siblings, 1 reply; 2+ messages in thread
From: Rajendra Prasad @ 1999-07-15 13:22 UTC (permalink / raw)
To: linux-ppc-dev
[-- Attachment #1: Type: text/plain, Size: 360 bytes --]
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
[-- Attachment #2: Card for Rajendra Prasad --]
[-- Type: text/x-vcard, Size: 320 bytes --]
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:prasadr@duettech.com
title:Project Leader
x-mozilla-cpt:;-14352
fn:Rajendra Prasad
end:vcard
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: help on lost interrupt
1999-07-15 13:22 help on lost interrupt Rajendra Prasad
@ 1999-07-16 5:12 ` Paul Mackerras
0 siblings, 0 replies; 2+ messages in thread
From: Paul Mackerras @ 1999-07-16 5:12 UTC (permalink / raw)
To: prasadr; +Cc: linuxppc-dev
Rajendra Prasad <prasadr@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. ]]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-07-16 5:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-07-15 13:22 help on lost interrupt Rajendra Prasad
1999-07-16 5:12 ` Paul Mackerras
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).