From: Ricardo Scop <scop@vanet.com.br>
To: Jean-Denis Boyer <jdboyer@mediatrix.com>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: 8260 - Spurious interrupt when calling __sti()
Date: Tue, 9 Apr 2002 14:09:28 -0300 [thread overview]
Message-ID: <19589.020409@vanet.com.br> (raw)
In-Reply-To: <F1BED55F35F4D3118C0F00E0295CFF4DFF9F8E@mail.mediatrix.com>
Jean-Denis,
See comments below.
[]'s, Scop mailto:scop@vanet.com.br
------------------------------------------------------------------
"We all lie in the gutter, but some of us look up at the stars."
-- Oscar Wilde
Tuesday, April 09, 2002, 11:53:45 AM, you wrote:
JDB> I have a custom board that uses an 8260 (rev. A.1 1K22A).
Same CPU and rev, other custom board.
JDB> We've had for a long time a problem of spurious interrupt.
JDB> On kernel 2.4.10, at boot up, the following message was written to the
JDB> console:
JDB> Unhandled interrupt 0, disabled
We have this with kernel 2.4.16.
JDB> This message did not appear on kernel 2.4.18 (I don't know why),
Didn't try 2.4.18, yet.
JDB> but in /proc/interrupts, the number at the right of BAD was increasing
JDB> slowly.
<snip>
JDB> Putting traces in the interrupt handler, it appeared that the interrupt
JDB> happened in '__sti()' (arch/ppc/kernel/misc.S), just after calling 'mtmsr'
JDB> to turn on the 'EE' bit.
JDB> I added a 'sync', between 'ori r3,r3,MSR_EE' and 'mtmsr r3',
JDB> and it has fixed the problem.
I'll try that, thanks.
JDB> My questions are:
JDB> - Did anybody encountered the same problem on that core?
yes.
JDB> - Did anybody seen something about that in the user's manual and/or the
JDB> errata?
no.
JDB> - Is my fix correct, and should it be brought to other calls to 'mtmsr' ?
I don't have the knowledge to answer that :-(
JDB> --------------------------------------------
JDB> Jean-Denis Boyer, B.Eng., System Architect
JDB> Mediatrix Telecom Inc.
JDB> 4229 Garlock Street
JDB> Sherbrooke (Québec)
JDB> J1L 2C8 CANADA
JDB> (819)829-8749 x241
JDB> --------------------------------------------
JDB> ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2002-04-09 17:09 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-09 14:53 8260 - Spurious interrupt when calling __sti() Jean-Denis Boyer
2002-04-09 17:09 ` Ricardo Scop [this message]
2002-04-09 18:26 ` Dan Malek
-- strict thread matches above, loose matches on Subject: below --
2002-04-10 16:31 Jean-Denis Boyer
2002-04-10 15:50 ` Dan Malek
2002-04-10 17:16 Re[2]: " Jean-Denis Boyer
2002-04-10 17:04 ` Dan Malek
2002-04-10 18:30 Jean-Denis Boyer
2002-04-10 18:33 ` Dan Malek
2002-04-10 20:24 ` Ron Bianco
2002-04-10 21:25 ` Dan Malek
2002-04-15 18:33 ` Val Henson
2002-04-16 18:58 ` Dan Malek
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=19589.020409@vanet.com.br \
--to=scop@vanet.com.br \
--cc=jdboyer@mediatrix.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).