From: Thomas Gleixner <tglx@linutronix.de>
To: "Luck, Tony" <tony.luck@intel.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
Linus Torvalds <torvalds@linux-foundation.org>,
Andrew Morton <akpm@linux-foundation.org>,
Ingo Molnar <mingo@elte.hu>,
Peter Zijlstra <peterz@infradead.org>,
Christoph Hellwig <hch@infradead.org>,
"linux-alpha@vger.kernel.org" <linux-alpha@vger.kernel.org>,
"linux-cris-kernel@axis.com" <linux-cris-kernel@axis.com>,
"linux-ia64@vger.kernel.org" <linux-ia64@vger.kernel.org>,
Yoshinori Sato <ysato@users.sourceforge.jp>,
Hirokazu Takata <takata@linux-m32r.org>,
Greg Ungerer <gerg@uclinux.org>, Jeff Dike <jdike@addtoit.com>,
"linux-parisc@vger.kernel.org" <linux-parisc@vger.kernel.org>,
Chris Zankel <chris@zankel.net>,
"linux-arch@vger.kernel.org" <linux-arch@vger.kernel.org>
Subject: RE: [RFC trollpatch 1/1] genirq: Remove the fits all and nothing
Date: Mon, 27 Sep 2010 18:49:49 +0000 [thread overview]
Message-ID: <alpine.LFD.2.00.1009272048100.2416@localhost6.localdomain6> (raw)
In-Reply-To: <987664A83D2D224EAE907B061CE93D5301604712B4@orsmsx505.amr.corp.intel.com>
On Mon, 27 Sep 2010, Luck, Tony wrote:
> > No, it's deliberate. The solution is to use the correct flow handler
> > for your device. We have currently several flow handlers implemented:
>
> Yes, I found the different "handle_*_irq()" functions. The _percpu_
> variant works fine for the ia64 per-cpu interrupt paths.
>
> But *NONE* of them call desc->chip->end() (even though the code flow
> in Documentation/DcoBook/genericirq.tmpl says that three of them do
> call it]. So it appears that this was thought to be necessary when
> the docs were written, but was not put into the code.
Yeah, sorry.
> The ia64 chip->end function for edge triggered interrupts is a nop(),
> so handle_edge_irq() ought to work just fine for it [can't confirm
> from my initial tests because the HP box I'm using only has level
> triggered ones].
>
> handle_level_irq() works for my level triggered interrupts if I add
> a "desc->chip->end(irq)" call to it.
Hmm, why isn't chip->unmask() sufficient ?
> git grep "chip->end" appears to show that the only use of chip->end
> is in the "Recovery handler for misrouted interrupts": try_one_irq()
Right, that's just due to the old __do_IRQ() compability.
> At minimum we seem to have some documentation inconsistencies with
> the code.
Will fix.
Thanks,
tglx
next prev parent reply other threads:[~2010-09-27 18:49 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-08 18:14 [RFC trollpatch 1/1] genirq: Remove the fits all and nothing Thomas Gleixner
2010-09-08 18:51 ` James Bottomley
2010-09-08 19:34 ` Thomas Gleixner
2010-09-08 20:35 ` James Bottomley
2010-09-08 21:35 ` Thomas Gleixner
2010-09-08 20:28 ` Mike Frysinger
2010-09-08 18:58 ` Kyle McMartin
2010-09-08 20:36 ` Luck, Tony
2010-09-09 7:10 ` Mikael Starvik
2010-09-09 13:44 ` [RFC trollpatch 1/1] genirq: Remove the fits all and nothing __do_IRQ() code Dialup Jon Norstog
2010-09-09 7:21 ` [RFC trollpatch 1/1] genirq: Remove the fits all and nothing Greg Ungerer
2010-09-09 14:09 ` Kyle McMartin
2010-09-09 23:17 ` Greg Ungerer
2010-09-27 17:36 ` Tony Luck
2010-09-27 18:01 ` Thomas Gleixner
2010-09-27 18:39 ` Luck, Tony
2010-09-27 18:49 ` Thomas Gleixner [this message]
2010-09-27 19:01 ` Luck, Tony
2010-09-29 0:46 ` Kyle McMartin
2010-09-29 4:55 ` Luck, Tony
2010-09-29 14:38 ` Kyle McMartin
2010-09-27 19:48 ` richard -rw- weinberger
2010-09-27 19:54 ` Thomas Gleixner
2010-09-30 1:26 ` Kyle McMartin
2010-09-30 2:41 ` Kyle McMartin
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=alpine.LFD.2.00.1009272048100.2416@localhost6.localdomain6 \
--to=tglx@linutronix.de \
--cc=akpm@linux-foundation.org \
--cc=chris@zankel.net \
--cc=gerg@uclinux.org \
--cc=hch@infradead.org \
--cc=jdike@addtoit.com \
--cc=linux-alpha@vger.kernel.org \
--cc=linux-arch@vger.kernel.org \
--cc=linux-cris-kernel@axis.com \
--cc=linux-ia64@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-parisc@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=peterz@infradead.org \
--cc=takata@linux-m32r.org \
--cc=tony.luck@intel.com \
--cc=torvalds@linux-foundation.org \
--cc=ysato@users.sourceforge.jp \
/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