All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hans Feldt <Hans.Feldt@uab.ericsson.se>
To: linuxppc-embedded@lists.linuxppc.org
Subject: 8260 - Spurious interrupts again
Date: Wed, 13 Nov 2002 14:34:40 +0100	[thread overview]
Message-ID: <3DD254F0.3050701@uab.ericsson.se> (raw)


I am running a 750 with a 8260 as slave. Since I get heaps of spurious
interrupts I started digging into it. The old thread "8260 - Spurious
interrupt when calling __sti()" and the latest code didn't help but this
does:

- A sync instruction last in m8260_mask_irq and m8260_mask_and_ack in
ppc8260_pic.c.

I guess you need to let the write to SIMR make it before enabling
external interrupts in the 750 (603). This is probably due to our use of
8260 as a slave processor but I think it makes sense anyway.

Note that this problem is not related to the fact that I am running the
new ATM driver, this also happens as indicated in the old mail thread
with serial and Ethernet interrupts only.

Thanks,
Hans

P.S. Tack Magnus!

without sync:
==============
bash-2.04# cat /proc/interrupts
            CPU0
   4:       9777   8260 SIU   Edge      uart
   5:          0   8260 SIU   Edge      uart
  32: 1396813673   8260 SIU   Edge      atm
  33:      57596   8260 SIU   Edge      fenet
  41:          0   8260 SIU   Edge      uart
  42:          0   8260 SIU   Edge      uart
  60:         11   8260 SIU   Edge      ide0
BAD: 1396813185

with sync:
===========
bash-2.04# cat /proc/interrupts
            CPU0
   4:       4709   8260 SIU   Edge      uart
   5:          0   8260 SIU   Edge      uart
  32:     217671   8260 SIU   Edge      atm
  33:      10395   8260 SIU   Edge      fenet
  41:          0   8260 SIU   Edge      uart
  42:          0   8260 SIU   Edge      uart
  60:         11   8260 SIU   Edge      ide0
BAD:          0


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

             reply	other threads:[~2002-11-13 13:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-13 13:34 Hans Feldt [this message]
2002-11-15  8:58 ` 8260 - Spurious interrupts again Shen Rong
2002-11-15 11:13   ` Hans Feldt
2002-12-19 17:02     ` Tom Rini

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=3DD254F0.3050701@uab.ericsson.se \
    --to=hans.feldt@uab.ericsson.se \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.