From: Ralph Blach <rcblach@raleigh.ibm.com>
To: linuxppc-embedded@lists.linuxppc.org
Subject: error in assumptions in the handling of interrupts.
Date: Fri, 28 Jul 2000 08:13:04 -0400 [thread overview]
Message-ID: <398178CF.6AEAF91E@raleigh.ibm.com> (raw)
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/
next reply other threads:[~2000-07-28 12:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-07-28 12:13 Ralph Blach [this message]
2000-07-28 15:13 ` error in assumptions in the handling of interrupts Dan Malek
2000-07-28 17:30 ` Frank Rowand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=398178CF.6AEAF91E@raleigh.ibm.com \
--to=rcblach@raleigh.ibm.com \
--cc=linuxppc-embedded@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).