From: Greg KH <greg@kroah.com>
To: Mark Maule <maule@sgi.com>
Cc: Greg KH <gregkh@suse.de>,
linuxppc64-dev@ozlabs.org, linux-pci@atrey.karlin.mff.cuni.cz,
linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org,
Tony Luck <tony.luck@intel.com>
Subject: Re: [PATCH 0/3] msi abstractions and support for altix
Date: Fri, 23 Dec 2005 08:32:21 -0800 [thread overview]
Message-ID: <20051223163221.GA13018@kroah.com> (raw)
In-Reply-To: <20051223153215.GA11935@sgi.com>
On Fri, Dec 23, 2005 at 09:32:15AM -0600, Mark Maule wrote:
> On Thu, Dec 22, 2005 at 01:44:46PM -0800, Greg KH wrote:
> > On Thu, Dec 22, 2005 at 02:38:24PM -0600, Mark Maule wrote:
> > > On Thu, Dec 22, 2005 at 12:34:15PM -0800, Greg KH wrote:
> > > > On Thu, Dec 22, 2005 at 02:26:27PM -0600, Mark Maule wrote:
> > > > > On Thu, Dec 22, 2005 at 12:22:59PM -0800, Greg KH wrote:
> > > > > > On Thu, Dec 22, 2005 at 02:15:44PM -0600, Mark Maule wrote:
> > > > > > > Resend #2: including linuxppc64-dev and linux-pci as well as PCI maintainer
> > > > > >
> > > > > > I'll wait for Resend #3 based on my previous comments before considering
> > > > > > adding it to my kernel trees:)
> > > > > >
> > > > >
> > > > > Resend #2 includes the correction to the irq_vector[] declaration, and I
> > > > > responded to the question about setting irq_vector[0] if that's what you
> > > > > mean ...
> > > >
> > > > Sorry, but I missed that last response. Why do you set the [0] value in
> > > > a #ifdef now?
> > >
> > > Because on ia64 IA64_FIRST_DEVICE_VECTOR and IA64_LAST_DEVICE_VECTOR
> > > (from which MSI FIRST_DEVICE_VECTOR/LAST_DEVICE_VECTOR are derived) are not
> > > constants. The are now global variables (see change to asm-ia64/hw_irq.h)
> > > to allow the platform to override them. Altix uses a reduced range of
> > > vectors for devices, and this change was necessary to make assign_irq_vector()
> > > to work on altix.
> >
> > I'm with Matthew on this one, that's not a real fix for this. What
> > would PPC64 do in this case?
>
> Using the existing framework, wouldn't PPC just define it's own
> assign_irq_vector and {FIRST,LAST}_DEVICE_VECTOR and handle it however it
> wants under the covers?
>
> I agree that this is not a great solution, but it's what the existing framework
> allowed. I'm willing to pursue a more general vector allocation scheme, but
> I suspect that'll take some time.
>
> Is this issue going to hold up forward progress of this patchset? IMO, this
> set is a major step in generalizing the MSI code and I think the vector
> generalizing code would best be handled by a separate effort.
I don't know, let's see what the ppc64 developers say. If they are
happy with this implementation, then it might be ok...
Ben?
thanks,
greg k-h
next prev parent reply other threads:[~2005-12-23 16:38 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-22 20:15 [PATCH 0/3] msi abstractions and support for altix Mark Maule
2005-12-22 20:15 ` [PATCH 1/3] msi vector targeting abstractions Mark Maule
2006-01-03 22:39 ` Grant Grundler
2006-01-03 23:50 ` Mark Maule
2006-01-04 0:20 ` Grant Grundler
2006-01-04 0:27 ` Greg KH
2006-01-04 3:52 ` Mark Maule
2005-12-22 20:15 ` [PATCH 2/3] per-platform IA64_{FIRST,LAST}_DEVICE_VECTOR definitions Mark Maule
2006-01-04 0:01 ` Grant Grundler
2005-12-22 20:16 ` [PATCH 2/3] altix: msi support Mark Maule
2005-12-22 20:22 ` [PATCH 0/3] msi abstractions and support for altix Greg KH
2005-12-22 20:26 ` Mark Maule
2005-12-22 20:34 ` Greg KH
2005-12-22 20:38 ` Mark Maule
2005-12-22 20:50 ` Matthew Wilcox
2006-01-03 3:22 ` Mark Maule
2006-01-03 6:07 ` Greg KH
2006-01-10 17:00 ` Mark Maule
2006-01-10 17:03 ` Christoph Hellwig
2006-01-10 17:11 ` Greg KH
2005-12-22 21:44 ` Greg KH
2005-12-23 15:32 ` Mark Maule
2005-12-23 16:32 ` Greg KH [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-03-29 2:31 Mark Maule
2006-03-21 14:34 Mark Maule
2006-03-21 21:53 ` David S. Miller
2006-01-19 19:46 Mark Maule
2006-01-11 22:16 Mark Maule
2006-01-11 15:52 Mark Maule
2005-12-22 17:15 Mark Maule
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=20051223163221.GA13018@kroah.com \
--to=greg@kroah.com \
--cc=gregkh@suse.de \
--cc=linux-ia64@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@atrey.karlin.mff.cuni.cz \
--cc=linuxppc64-dev@ozlabs.org \
--cc=maule@sgi.com \
--cc=tony.luck@intel.com \
/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