linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Garzik <jeff@garzik.org>
To: Matthew Wilcox <matthew@wil.cx>
Cc: linux-scsi@vger.kernel.org
Subject: Re: [PATCH 23/24] advansys: Improve interrupt handler
Date: Fri, 27 Jul 2007 10:57:16 -0400	[thread overview]
Message-ID: <46AA07CC.9090004@garzik.org> (raw)
In-Reply-To: <20070727145336.GK21219@parisc-linux.org>

Matthew Wilcox wrote:
> On Fri, Jul 27, 2007 at 10:49:17AM -0400, Jeff Garzik wrote:
>> Matthew Wilcox wrote:
>>> Pass the Scsi_Host to the interrupt handler, rather than polling all
>>> hosts for each interrupt.
>>> Return IRQ_NONE if we didn't handle this interrupt
>>> Don't set the IRQF_DISABLED flag; this is not a fast-executing interrupt
>>> handler.
>>>
>>> Signed-off-by: Matthew Wilcox <matthew@wil.cx>
>> hrm.
>>
>> I thought you had multiple scsi hosts per board?  Thus multiple scsi 
>> hosts per interrupt?
> 
> Right.  We'll request the interrupt twice, each time with a different
> scsi_host.

ewwwwww.  That's, um, broken :)

I presume request_irq() will fail on non-ISA for subsequent calls, and 
your interrupt handler gets called -twice- for every single interrupt.





  reply	other threads:[~2007-07-27 14:57 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-27 13:40 advansys update 2007-07-27 Matthew Wilcox
2007-07-27 13:42 ` [PATCH 2/24] advansys: Clean up proc_info implementation Matthew Wilcox
2007-07-27 13:42 ` [PATCH 3/24] advansys: version, copyright, etc Matthew Wilcox
2007-07-27 13:42 ` [PATCH 4/24] advansys: Make advansys_board_found a little more readable Matthew Wilcox
2007-07-27 14:04   ` Jeff Garzik
2007-07-27 14:07     ` Matthew Wilcox
2007-07-27 13:42 ` [PATCH 5/24] advansys: Move to scsi hotplug initialisation model Matthew Wilcox
2007-07-27 13:42 ` [PATCH 6/24] advansys: Convert to pci_register_driver interface Matthew Wilcox
2007-07-27 14:15   ` Jeff Garzik
2007-07-27 13:42 ` [PATCH 7/24] advansys: Convert to EISA driver model Matthew Wilcox
2007-07-27 14:17   ` Jeff Garzik
2007-07-27 14:22     ` Matthew Wilcox
2007-07-27 14:35   ` Jeff Garzik
2007-07-27 14:40     ` Matthew Wilcox
2007-07-27 13:42 ` [PATCH 8/24] advansys: Rewrite resource management Matthew Wilcox
2007-07-27 14:39   ` Jeff Garzik
2007-07-27 14:43     ` Matthew Wilcox
2007-07-27 13:42 ` [PATCH 9/24] advansys: More PCI cleanups Matthew Wilcox
2007-07-27 14:41   ` Jeff Garzik
2007-07-27 14:44     ` Matthew Wilcox
2007-07-27 13:42 ` [PATCH 10/24] advansys: remove AscCompareString() Matthew Wilcox
2007-07-27 13:42 ` [PATCH 11/24] Add QUANTUM XP34301 to the blacklist Matthew Wilcox
2007-07-27 13:42 ` [PATCH 12/24] advansys: remove INQUIRY sniffing Matthew Wilcox
2007-07-27 13:42 ` [PATCH 13/24] advansys: misc reformatting Matthew Wilcox
2007-07-27 14:42   ` Jeff Garzik
2007-07-27 14:46     ` Matthew Wilcox
2007-07-27 14:53       ` Jeff Garzik
2007-07-27 13:42 ` [PATCH 14/24] advansys: delete AscGetChipBusType Matthew Wilcox
2007-07-27 13:42 ` [PATCH 15/24] advansys: ioremap no longer needs page-aligned addresses Matthew Wilcox
2007-07-27 14:45   ` Jeff Garzik
2007-07-27 13:42 ` [PATCH 16/24] advansys: Stop using n_io_port in Scsi_Host structure Matthew Wilcox
2007-07-27 13:42 ` [PATCH 17/24] advansys: Move struct device out of the cfg structures Matthew Wilcox
2007-07-27 13:42 ` [PATCH 18/24] advansys: Remove library-style callback routines Matthew Wilcox
2007-07-27 13:42 ` [PATCH 19/24] advansys: Remove pci_slot_info Matthew Wilcox
2007-07-27 13:42 ` [PATCH 20/24] advansys: use memcpy instead of open-coded loop Matthew Wilcox
2007-07-27 13:42 ` [PATCH 21/24] advansys: Delete some I/O address defines Matthew Wilcox
2007-07-27 13:42 ` [PATCH 22/24] advansys: Move documentation to Documentation/scsi Matthew Wilcox
2007-07-27 13:42 ` [PATCH 23/24] advansys: Improve interrupt handler Matthew Wilcox
2007-07-27 14:49   ` Jeff Garzik
2007-07-27 14:53     ` Matthew Wilcox
2007-07-27 14:57       ` Jeff Garzik [this message]
2007-07-27 15:04         ` Matthew Wilcox
2007-07-27 15:12           ` Jeff Garzik
2007-07-27 15:25             ` Matthew Wilcox
2007-07-27 15:53               ` Jeff Garzik
2007-07-27 17:36                 ` Matthew Wilcox
2007-07-27 17:39                   ` Jeff Garzik
2007-07-27 18:04                     ` Matthew Wilcox
2007-07-27 19:36                       ` Jeff Garzik
2007-07-27 19:46                         ` Matthew Wilcox
2007-07-27 19:59                           ` Jeff Garzik
2007-07-27 20:24                             ` Matthew Wilcox
2007-07-27 13:42 ` [PATCH 24/24] advansys: Remove array of all known hosts Matthew Wilcox
2007-07-27 14:50   ` Jeff Garzik

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=46AA07CC.9090004@garzik.org \
    --to=jeff@garzik.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=matthew@wil.cx \
    /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).