[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160630173508.GA23378@lst.de>
Date: Thu, 30 Jun 2016 19:35:08 +0200
From: Christoph Hellwig <hch@....de>
To: Alexander Gordeev <agordeev@...hat.com>
Cc: Christoph Hellwig <hch@....de>, tglx@...utronix.de, axboe@...com,
linux-block@...r.kernel.org, linux-pci@...r.kernel.org,
linux-nvme@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 07/13] pci: Provide sensible irq vector alloc/free
routines
On Thu, Jun 30, 2016 at 07:28:09PM +0200, Alexander Gordeev wrote:
> I think I need to look at the updated version :)
I've astarted processing the comments for the whole series and plan
to post an update tomorrow.
> > > > +#define PCI_IRQ_NOMSIX (1 << 0) /* don't try to use MSI-X interrupts */
> > >
> > > BTW, why PCI_IRQ_NOMSIX only and no PCI_IRQ_NOMSI?
> >
> > Because there is no need to call this API if your device only supports
> > a single legacy vector anyway.
>
> What if a device reports (up to 32) MSIs and MSI-X allocation failed? The
> driver might prefer the legacy single (i.e. due to errata in MSI), but
> there is no flag to ask for it.
Ok, I'll add it for now.
Powered by blists - more mailing lists