From: tomasz.figa@gmail.com (Tomasz Figa)
To: linux-arm-kernel@lists.infradead.org
Subject: Future of S3C6410 platform
Date: Tue, 05 Jul 2011 01:40:04 +0200 [thread overview]
Message-ID: <1937503.ug88JfFd8A@flatron> (raw)
In-Reply-To: <20110704232515.GL8286@n2100.arm.linux.org.uk>
On Tuesday 05 of July 2011 00:25:15 Russell King - ARM Linux wrote:
> On Tue, Jul 05, 2011 at 01:10:11AM +0200, Tomasz Figa wrote:
> > For me (on GT-i5700) both fb and adc, after leaving the bootloader, end
> > up with unhandled interrupts and calling request_irq leads to kernel
> > crash because an interrupt fires before all driver data get
> > initialized.
>
> We really should have a debug mode for that so developers can find
> that stuff really easily. We already do this for IRQF_SHARED
> interrupts, but not !IRQF_SHARED. Thomas, any opinion?
Would it be possible to simulate that in a realistic way? I mean, usually when
an interrupt fires, the driver checks the detailed cause in hardware
registers. If we would just simulate an interrupt, wouldn't it just end up
with finding no interrupt cause, something which shouldn't happen normally
with "exclusive" interrupts? This also implies that not all code paths would
be tested with such test case.
prev parent reply other threads:[~2011-07-04 23:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-04 19:14 Future of S3C6410 platform Tomasz Figa
2011-07-04 20:39 ` Arnd Bergmann
2011-07-04 21:39 ` Ben Dooks
2011-07-04 23:10 ` Tomasz Figa
2011-07-04 23:25 ` Russell King - ARM Linux
2011-07-04 23:40 ` Tomasz Figa [this message]
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=1937503.ug88JfFd8A@flatron \
--to=tomasz.figa@gmail.com \
--cc=linux-arm-kernel@lists.infradead.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).