linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* error in assumptions in the handling of interrupts.
@ 2000-07-28 12:13 Ralph Blach
  2000-07-28 15:13 ` Dan Malek
  0 siblings, 1 reply; 3+ messages in thread
From: Ralph Blach @ 2000-07-28 12:13 UTC (permalink / raw)
  To: linuxppc-embedded


I would like explain a bug which I found in the 4xx interrupt controller
code yesterday.
In the ppc4xx_pic.c code their is a routine called

ppcxxx_aic_disable_and_ack.

The purpose of this code is disable interrupts on the level and reset
the ISR.

This will NOT work because for Level interrupts, the ISR will cannot be
reset until
the interrupting source is cleared.

The ack to reset the ISR for interrupt must go in the

ppcxxx_aic_enable

routine which  irq.c  calls after the interrupt routine has been
cleared.



Chip Blach
IBM MicroElectronics
Raleigh, NC.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-07-28 17:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-28 12:13 error in assumptions in the handling of interrupts Ralph Blach
2000-07-28 15:13 ` Dan Malek
2000-07-28 17:30   ` Frank Rowand

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).