Re: [PATCH 08/13] pci: spread interrupt vectors in pci_alloc_irq_vectors

2016-07-12 Thread Alexander Gordeev
On Sun, Jul 10, 2016 at 05:57:51AM +0200, Christoph Hellwig wrote: > On Thu, Jul 07, 2016 at 01:05:01PM +0200, Alexander Gordeev wrote: > > irq_create_affinity_mask() bails out with no affinity in case of single > > vector, but alloc_descs() (see below (*)) assigns the whole affinity > > mask. It

Re: [PATCH 08/13] pci: spread interrupt vectors in pci_alloc_irq_vectors

2016-07-12 Thread Alexander Gordeev
On Sun, Jul 10, 2016 at 05:57:51AM +0200, Christoph Hellwig wrote: > On Thu, Jul 07, 2016 at 01:05:01PM +0200, Alexander Gordeev wrote: > > irq_create_affinity_mask() bails out with no affinity in case of single > > vector, but alloc_descs() (see below (*)) assigns the whole affinity > > mask. It

Re: [PATCH 08/13] pci: spread interrupt vectors in pci_alloc_irq_vectors

2016-07-09 Thread Christoph Hellwig
On Thu, Jul 07, 2016 at 01:05:01PM +0200, Alexander Gordeev wrote: > irq_create_affinity_mask() bails out with no affinity in case of single > vector, but alloc_descs() (see below (*)) assigns the whole affinity > mask. It should be consistent instead. I don't understand the comment. If we only

Re: [PATCH 08/13] pci: spread interrupt vectors in pci_alloc_irq_vectors

2016-07-09 Thread Christoph Hellwig
On Thu, Jul 07, 2016 at 01:05:01PM +0200, Alexander Gordeev wrote: > irq_create_affinity_mask() bails out with no affinity in case of single > vector, but alloc_descs() (see below (*)) assigns the whole affinity > mask. It should be consistent instead. I don't understand the comment. If we only

Re: [PATCH 08/13] pci: spread interrupt vectors in pci_alloc_irq_vectors

2016-07-07 Thread Alexander Gordeev
On Mon, Jul 04, 2016 at 05:39:29PM +0900, Christoph Hellwig wrote: > Set the affinity_mask in the PCI device before allocating vectors so that > the affinity can be propagated through the MSI descriptor structures to > the core IRQ code. Add a new helper __pci_enable_msi_range which is > similar

Re: [PATCH 08/13] pci: spread interrupt vectors in pci_alloc_irq_vectors

2016-07-07 Thread Alexander Gordeev
On Mon, Jul 04, 2016 at 05:39:29PM +0900, Christoph Hellwig wrote: > Set the affinity_mask in the PCI device before allocating vectors so that > the affinity can be propagated through the MSI descriptor structures to > the core IRQ code. Add a new helper __pci_enable_msi_range which is > similar

[PATCH 08/13] pci: spread interrupt vectors in pci_alloc_irq_vectors

2016-07-04 Thread Christoph Hellwig
Set the affinity_mask in the PCI device before allocating vectors so that the affinity can be propagated through the MSI descriptor structures to the core IRQ code. Add a new helper __pci_enable_msi_range which is similar to __pci_enable_msix_range introduced in the last patch so that we can

[PATCH 08/13] pci: spread interrupt vectors in pci_alloc_irq_vectors

2016-07-04 Thread Christoph Hellwig
Set the affinity_mask in the PCI device before allocating vectors so that the affinity can be propagated through the MSI descriptor structures to the core IRQ code. Add a new helper __pci_enable_msi_range which is similar to __pci_enable_msix_range introduced in the last patch so that we can

Re: [PATCH 08/13] pci: spread interrupt vectors in pci_alloc_irq_vectors

2016-06-25 Thread Alexander Gordeev
On Tue, Jun 14, 2016 at 09:59:01PM +0200, Christoph Hellwig wrote: > Set the affinity_mask before allocating vectors. > > Signed-off-by: Christoph Hellwig > --- > drivers/pci/msi.c | 26 -- > include/linux/pci.h | 1 + > 2 files changed, 25 insertions(+),

Re: [PATCH 08/13] pci: spread interrupt vectors in pci_alloc_irq_vectors

2016-06-25 Thread Alexander Gordeev
On Tue, Jun 14, 2016 at 09:59:01PM +0200, Christoph Hellwig wrote: > Set the affinity_mask before allocating vectors. > > Signed-off-by: Christoph Hellwig > --- > drivers/pci/msi.c | 26 -- > include/linux/pci.h | 1 + > 2 files changed, 25 insertions(+), 2

[PATCH 08/13] pci: spread interrupt vectors in pci_alloc_irq_vectors

2016-06-14 Thread Christoph Hellwig
Set the affinity_mask before allocating vectors. Signed-off-by: Christoph Hellwig --- drivers/pci/msi.c | 26 -- include/linux/pci.h | 1 + 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c index

[PATCH 08/13] pci: spread interrupt vectors in pci_alloc_irq_vectors

2016-06-14 Thread Christoph Hellwig
Set the affinity_mask before allocating vectors. Signed-off-by: Christoph Hellwig --- drivers/pci/msi.c | 26 -- include/linux/pci.h | 1 + 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c index a33adec..50d694c