public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] 34xx spurious interrupts unravelling
@ 2008-10-31 19:21 Tony Lindgren
  2008-10-31 19:21 ` [PATCH 1/4] Revert "Add MT_MEMORY_SO, mark L3 and L4 to use it" Tony Lindgren
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Tony Lindgren @ 2008-10-31 19:21 UTC (permalink / raw)
  To: linux-omap; +Cc: Tony Lindgren

Hi all,

So it's now starting to look like we need to ensure write posting in
interrupt handlers for 34xx instead of marking the IO areas as strongly
ordered.

The first patch in the series reverts marking the IO areas as strongly
ordered.

The second debug patch also prints out the previous interrupt before
the spurious interrupt, which should help identify the interrupt
handler that needs a read back of some register.

So if you see errors like this with dspbridge:

FIXME: spurious irq 95: 0xffffffdf previous irq 26
FIXME: spurious irq 95: 0xffffffdf previous irq 26
FIXME: spurious irq 95: 0xffffffdf previous irq 26
...

You'll know that the interrupt handler for irq 26 needs a read back
of some register in the interrupt handler. Most likely you need to
read back the interrupt ack register right after writing to it in
the handler, see a later patch in this series for dspbridge.

If you get errors like this during boot:

FIXME: spurious irq 95: 0xffffffdf previous irq 25       
FIXME: spurious irq 95: 0xffffffdf previous irq 25       
FIXME: spurious irq 95: 0xffffffdf previous irq 37
...

Most likely we need to do a read back when initializing some devices
like dispc and gptimer. I don't have patches for these yet..

The other patches fix few interrupt handlers that I'm aware of needing
this, like i2c-omap and dspbridge. The dspbridge patch only applies
if you have it installed.

I'd appreciate if people who have been working on this issue would
torture test this series and provide feedback!

Cheers,

Tony

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

end of thread, other threads:[~2008-11-03 18:54 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-31 19:21 [PATCH 0/4] 34xx spurious interrupts unravelling Tony Lindgren
2008-10-31 19:21 ` [PATCH 1/4] Revert "Add MT_MEMORY_SO, mark L3 and L4 to use it" Tony Lindgren
2008-10-31 19:21   ` [PATCH 2/4] ARM: OMAP3: Print debug info on spurious interrupts Tony Lindgren
2008-10-31 19:21     ` [PATCH 3/4] I2C: Ensure write posting for critical i2c-omap writes Tony Lindgren
2008-10-31 19:21       ` [PATCH 4/4] DSPBRIDGE: Ensure write posting when acking mailbox irq Tony Lindgren
2008-10-31 21:06         ` Tony Lindgren
2008-11-01  3:43         ` Woodruff, Richard
2008-11-02 22:10           ` Tony Lindgren
2008-11-03 18:54             ` Tony Lindgren
2008-10-31 21:03       ` [PATCH 3/4] I2C: Ensure write posting for critical i2c-omap writes Tony Lindgren
2008-10-31 20:55     ` [PATCH 2/4] ARM: OMAP3: Print debug info on spurious interrupts Tony Lindgren
2008-10-31 20:07 ` [PATCH 0/4] 34xx spurious interrupts unravelling David Brownell
2008-10-31 20:35   ` Tony Lindgren
2008-10-31 21:59     ` David Brownell
2008-11-01  4:01       ` Woodruff, Richard
2008-11-01  6:08         ` David Brownell
2008-11-01 12:57           ` Woodruff, Richard
2008-11-01 21:14 ` Felipe Contreras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox