mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Rick Bronson <rick@efn.org>
To: linux-kernel@vger.kernel.org
Subject: RE: OMAP3430 spurious interrupts
Date: Thu, 16 Oct 2008 08:36:47 -0700	[thread overview]
Message-ID: <E1KqUu7-0005vQ-7O@amazonia.comcast.net> (raw)

Hi,

  I'm getting some info on the spurious interrupt that's happening
upon startup about once in 10-15 reboots.  By the way, I'm using
2.6.26-omap1 from the latest Open Embedded with Lauri's spurious
patch.  Here's what I'm seeing.  There is a barrage of interrupts on,
in one scenario A) from the Display Subsystem Module and in another
scenario B) I2C Module One.  This barrage leads up to
omap2_gp_timer_interrupt() happening and then in case A) an immediate
spurious GPTIMER interrupt.  In case B) a spurious GPTIMER interrupt
7.8ms later.  7.8ms is the time the GPTIMER is set for (128 Hz).

  I think the first thing to do is find out how to prevent the
spurious interrupt from happening.  The next thing to do is to solve
the barrage of interrupts upon startup.

  The question I have for you is this: Looking at page 1308 of 3446 of
the OMAP3 pdf "Spurious Interrupt Handling", it's not clear to me,
from a programming perspective, how to check if (when changing the
registers mentioned) we are encountering this condition.  If we
can't test for this condition, how can it be avoided?

  Thanks for your help.

  Rick Bronson

                 reply	other threads:[~2008-10-16 16:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=E1KqUu7-0005vQ-7O@amazonia.comcast.net \
    --to=rick@efn.org \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®