From: Dmitry Torokhov <dtor@insightbb.com>
To: fernando@oss.ntt.co.jp
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
linux-kernel@vger.kernel.org, vojtech@suse.cz,
akpm@linux-foundation.org
Subject: Re: [PATCH] fix return value of i8042_aux_test_irq
Date: Sun, 29 Jul 2007 01:27:25 -0400 [thread overview]
Message-ID: <200707290127.26058.dtor@insightbb.com> (raw)
In-Reply-To: <2090.172.50.1.13.1185465429.squirrel@172.19.0.2>
On Thursday 26 July 2007 11:57, fernando@oss.ntt.co.jp wrote:
> On Fri, July 27, 2007 12:29 am, Alan Cox wrote:
> >> > A small number of boxes do share IRQ12 and it was switched to shared
> >> for
> >> > them.
> >> If that is the case interrupt handlers should be able to determine
> >> whether
> >> a certain interrupt comes from their respective devices, and return
> >> IRQ_HANDLED or IRQ_NONE accordingly. Returning IRQ_HANDLED
> >> unconditionally
> >> when IRQF_SHARED is set seems strange. Is this behavior intended?
> >
> > Sometimes you simple can't tell and in those cases you have no choice.
> As I mentioned in a previous email, i8042_interrupt considers that it
> should not handle an interrupt when there is no data to read and,
> accordingly, it returns IRQ_NONE in such cases. I was just wondering if we
> could follow the same approach to make i8042_aux_test_irq more
> IRQF_SHARED-friendly.
>
Yes, you are right. Patch applied to 'for-linus' branch of input tree.
Thank you.
--
Dmitry
next prev parent reply other threads:[~2007-07-29 5:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-26 8:04 [PATCH] fix return value of i8042_aux_test_irq Fernando Luis Vázquez Cao
2007-07-26 13:54 ` Dmitry Torokhov
2007-07-26 14:10 ` Alan Cox
2007-07-26 14:49 ` fernando
2007-07-26 15:29 ` Alan Cox
2007-07-26 15:57 ` fernando
2007-07-29 5:27 ` Dmitry Torokhov [this message]
2007-07-26 14:38 ` Vojtech Pavlik
2007-07-26 14:39 ` fernando
2007-07-26 15:51 ` fernando
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=200707290127.26058.dtor@insightbb.com \
--to=dtor@insightbb.com \
--cc=akpm@linux-foundation.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=fernando@oss.ntt.co.jp \
--cc=linux-kernel@vger.kernel.org \
--cc=vojtech@suse.cz \
/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