All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew Wilcox <matthew@wil.cx>
To: Jeff Garzik <jeff@garzik.org>
Cc: linux-scsi@vger.kernel.org
Subject: Re: [PATCH 23/24] advansys: Improve interrupt handler
Date: Fri, 27 Jul 2007 13:46:53 -0600	[thread overview]
Message-ID: <20070727194652.GR21219@parisc-linux.org> (raw)
In-Reply-To: <46AA4951.3040102@garzik.org>

On Fri, Jul 27, 2007 at 03:36:49PM -0400, Jeff Garzik wrote:
> OK, I think I misunderstood your explanation.  Rather than judging based 
> on English emails, I went back and looked at the old and new code.

Phew!  I didn't like to think that one of us was going crazy in our
dotage ;-)

> Looking at the old code, there is a clear 1-to-1-to-1-to-1 
> correspondence between adapter, request_irq() call, scsi_host, and 
> boardp.  So what the old code is doing during probe is quite normal.
> 
> I thought you were saying there were multiple request_irq() calls for a 
> single adapter.
> 
> The only thing that's abnormal is the interrupt handler checking 
> multiple boards for events, which you rightly removed.
> 
> There is absolutely no need to add IRQF_SHARED to non-PCI devices or 
> anything like that.

Possibly you've misunderstood the code slightly -- for the case of a
dual-channel EISA board, the two hosts will have the same interrupt
number.  So we do need to keep the current code which sets IRQF_SHARED
on EISA interrupts.  I'm not quite sure why that's not the case for
the ABP852 dual-channel VLB card -- possibly each channel has its own
interrupt.  I don't know if VLB can do that or not.

> At this point, looking at your new code, I would only add
> 	"replace spin_lock_irqsave with spin_lock in interrupt handler"
> and
> 	"delete no-ops DvcEnterCritical and DvcLeaveCritical"
> to the todo list.

Thanks, added.

-- 
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours.  We can't possibly take such
a retrograde step."

  reply	other threads:[~2007-07-27 19:46 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
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 [this message]
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=20070727194652.GR21219@parisc-linux.org \
    --to=matthew@wil.cx \
    --cc=jeff@garzik.org \
    --cc=linux-scsi@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.