Re: [PATCH] sysfs: add per pci device msi[x] irq listing (v5)

From: Jesse Barnes
Date: Tue Nov 01 2011 - 12:58:39 EST


On Tue, 1 Nov 2011 12:47:26 -0400
Neil Horman <nhorman@xxxxxxxxxxxxx> wrote:

> On Fri, Oct 14, 2011 at 09:21:48AM -0700, Jesse Barnes wrote:
> > On Thu, 6 Oct 2011 14:08:18 -0400
> > Neil Horman <nhorman@xxxxxxxxxxxxx> wrote:
> >
> > > This patch adds a per-pci-device subdirectory in sysfs called:
> > > /sys/bus/pci/devices/<device>/msi_irqs
> > >
> > > This sub-directory exports the set of msi vectors allocated by a given
> > > pci device, by creating a numbered sub-directory for each vector beneath
> > > msi_irqs. For each vector various attributes can be exported. Currently the
> > > only attribute is called mode, which tracks the operational mode of that vector
> > > (msi vs. msix)
> > >
> >
> > Ok this adds new ABI in the form of sysfs files so I want to make sure
> > it's ok.
> >
> > Matthew has dreams of a more sophisticated MSI-X management scheme, but
> > it sounds to me like that will mostly affect the driver interfaces and
> > shouldn't be incompatible with the sysfs scheme you propose here.
> >
> > If so, great, we can pull this in and maybe one day someone will
> > implement better MSI-X support.
> >
> > If not, I'd like to hear objections now; Neil has been responsive and
> > fixed several issues. I don't want to block his patch unless we have
> > something concrete that it conflicts with.
> >
> > Thanks,
> > --
> > Jesse Barnes, Intel Open Source Technology Center
> Ping Jesse, has something gone awry here? I've not seen this show up in your
> tree yet.

It's sitting in my queue and I've timed out waiting for objections. So
I'll put it in my -next tree shortly. Thanks for your patience Neil.

--
Jesse Barnes, Intel Open Source Technology Center

Attachment: signature.asc
Description: PGP signature