From: William Lee Irwin III <wli@holomorphy.com>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-arch@vger.kernel.org
Subject: Re: irq-type-flags.patch
Date: Wed, 9 Nov 2005 01:26:47 -0800 [thread overview]
Message-ID: <20051109092647.GJ29402@holomorphy.com> (raw)
In-Reply-To: <20051108191057.09f57114.akpm@osdl.org>
On Tue, Nov 08, 2005 at 07:10:57PM -0800, Andrew Morton wrote:
> Is everyone OK with this?
> From: Russell King <rmk+lkml@arm.linux.org.uk>
> Some ARM platforms have the ability to program the interrupt controller to
> detect various interrupt edges and/or levels. For some platforms, this is
> critical to setup correctly, particularly those which the setting is
> dependent on the device.
> Currently, ARM drivers do (eg) the following:
> err = request_irq(irq, ...);
> set_irq_type(irq, IRQT_RISING);
> However, if the interrupt has previously been programmed to be level
> sensitive (for whatever reason) then this will cause an interrupt storm.
> Hence, if we combine set_irq_type() with request_irq(), we can then safely
> set the type prior to unmasking the interrupt. The unfortunate problem is
> that in order to support this, these flags need to be visible outside of
> the ARM architecture - drivers such as smc91x need these flags and they're
> cross-architecture.
> Finally, the SA_TRIGGER_* flag passed to request_irq() should reflect the
> property that the device would like. The IRQ controller code should do its
> best to select the most appropriate supported mode.
This seems innocuous enough to me. I anticipate that this will have no
impact on sparc32.
-- wli
next prev parent reply other threads:[~2005-11-09 9:26 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-09 3:10 irq-type-flags.patch Andrew Morton
2005-11-09 9:26 ` William Lee Irwin III [this message]
2005-11-09 13:20 ` irq-type-flags.patch David Howells
2005-11-09 13:24 ` irq-type-flags.patch Russell King
2005-11-09 15:13 ` irq-type-flags.patch David Howells
2005-11-09 15:27 ` irq-type-flags.patch Russell King
2005-11-09 16:07 ` irq-type-flags.patch David Howells
2005-11-09 13:30 ` irq-type-flags.patch Paul Mundt
2005-11-09 13:49 ` irq-type-flags.patch Matthew Wilcox
2005-11-09 14:40 ` irq-type-flags.patch Paul Mundt
2005-11-09 14:47 ` irq-type-flags.patch Russell King
2005-11-09 15:26 ` irq-type-flags.patch Matthew Wilcox
2005-11-09 15:28 ` irq-type-flags.patch Russell King
2005-11-10 14:06 ` irq-type-flags.patch Andi Kleen
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=20051109092647.GJ29402@holomorphy.com \
--to=wli@holomorphy.com \
--cc=akpm@osdl.org \
--cc=linux-arch@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