From: Tony Lindgren <tony@atomide.com>
To: "Shah, Hardik" <hardik.shah@ti.com>
Cc: "linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: Spurious interrupt warning
Date: Tue, 6 Jan 2009 13:08:38 +0200 [thread overview]
Message-ID: <20090106110837.GG9752@atomide.com> (raw)
In-Reply-To: <5A47E75E594F054BAF48C5E4FC4B92AB02E6629AAC@dbde02.ent.ti.com>
Hi,
* Shah, Hardik <hardik.shah@ti.com> [090106 11:54]:
> I have ported the V4L2 driver on top of Tomi's DSS library. DSS library has requested irq number 25. It is never freeing it. But whenever I get interrupt from the DSS I get this warning intermittently.
>
> <4>Spurious irq 95: 0xffffffdf, please flush posted write for irq 25
> Spurious irq 95: 0xffffffdf, please flush posted write for irq 25
> <4>Spurious irq 95: 0xffffffdf, please flush posted write for irq 25
> Spurious irq 95: 0xffffffdf, please flush posted write for irq 25
> <4>Spurious irq 95: 0xffffffdf, please flush posted write for irq 25
> Spurious irq 95: 0xffffffdf, please flush posted write for irq 25
> <4>Spurious irq 95: 0xffffffdf, please flush posted write for irq 25
> Spurious irq 95: 0xffffffdf, please flush posted write for irq 25
> <4>Spurious irq 95: 0xffffffdf, please flush posted write for irq 25
> Spurious irq 95: 0xffffffdf, please flush posted write for irq 25
> <4>Spurious irq 95: 0xffffffdf, please flush posted write for irq 25
> Spurious irq 95: 0xffffffdf, please flush posted write for irq 25
> <4>Spurious irq 95: 0xffffffdf, please flush posted write for irq 25
> Spurious irq 95: 0xffffffdf, please flush posted write for irq 25
> <4>Spurious irq 95: 0xffffffdf, please flush posted write for irq 25
> Spurious irq 95: 0xffffffdf, please flush posted write for irq 25
> <4>Spurious irq 95: 0xffffffdf, please flush posted write for irq 25
> Spurious irq 95: 0xffffffdf, please flush posted write for irq 25
> <4>Spurious irq 95: 0xffffffdf, please flush posted write for irq 25
> Spurious irq 95: 0xffffffdf, please flush posted write for irq 25
> <4>Spurious irq 95: 0xffffffdf, please flush posted write for irq 25
> Spurious irq 95: 0xffffffdf, please flush posted write for irq 25
> <4>Spurious irq 95: 0xffffffdf, please flush posted write for irq 25
> Spurious irq 95: 0xffffffdf, please flush posted write for irq 25
> <4>Spurious irq 95: 0xffffffdf, please flush posted write for irq 25
> Spurious irq 95: 0xffffffdf, please flush posted write for irq 25
> <4>Spurious irq 95: 0xffffffdf, please flush posted write for irq 25
> Spurious irq 95: 0xffffffdf, please flush posted write for irq 25
> <4>Spurious irq 95: 0xffffffdf, please flush posted write for irq 25
> Spurious irq 95: 0xffffffdf, please flush posted write for irq 25
> <4>Spurious irq 95: 0xffffffdf, please flush posted write for irq 25
>
>
>
> Please note it's not continuous. Driver is also working fine. Is it something to do with the latest spurious interrupt patch.
> http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commitdiff;h=ea153a1765dc754be688013192e8c83c40e008dc
>
> Is there something to do in the driver to solve this interrupt warning issue.
Interesting. Can you please try adding a read-back of the interrupt
status register (or revision register) at the end of the interrupt
handler for irq 25?
I guess it's INT_24XX_DSS_IRQ, which is the same for 34xx as 24xx?
Most likely this spurious interrupt means that the write does not
get posted all the way to the interrupt controller for device interrupt
handler for irq 25 before irq 25 is unmasked again.
Doing a read back in the irq 25 handler after the last write forces
the write to get posted.
Let me know if that does not help.
Regards,
Tony
next prev parent reply other threads:[~2009-01-06 11:08 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-06 9:54 Spurious interrupt warning Shah, Hardik
2009-01-06 11:08 ` Tony Lindgren [this message]
2009-01-06 11:12 ` Hiremath, Vaibhav
2009-01-06 11:19 ` Tony Lindgren
2009-01-06 14:05 ` Woodruff, Richard
2009-01-07 8:26 ` Tony Lindgren
2009-01-07 16:13 ` Woodruff, Richard
2009-01-07 17:13 ` Russell King
2009-01-07 17:24 ` Woodruff, Richard
2009-01-11 9:04 ` David Brownell
2009-01-11 14:18 ` Woodruff, Richard
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=20090106110837.GG9752@atomide.com \
--to=tony@atomide.com \
--cc=hardik.shah@ti.com \
--cc=linux-omap@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