Re: [PATCH] edac: thunderx: Replace pci_alloc_msix_exact

2017-05-18 Thread Jan Glauber
On Thu, May 18, 2017 at 02:52:54AM +0300, Sergei Temerkhanov wrote: > On Wed, May 17, 2017 at 8:23 PM, Jan Glauber > wrote: > > On Wed, May 17, 2017 at 06:35:05PM +0300, Sergei Temerkhanov wrote: > >> CIL... > >> > >> On Tue, May 16, 2017 at 12:54 PM, Jan Glauber wrote: > >> > Replace the depreca

Re: [PATCH] edac: thunderx: Replace pci_alloc_msix_exact

2017-05-17 Thread Sergei Temerkhanov
On Wed, May 17, 2017 at 8:23 PM, Jan Glauber wrote: > On Wed, May 17, 2017 at 06:35:05PM +0300, Sergei Temerkhanov wrote: >> CIL... >> >> On Tue, May 16, 2017 at 12:54 PM, Jan Glauber wrote: >> > Replace the deprecated pci_alloc_msix_exact() with >> > pci_alloc_irq_vectors(). >> > >> > Avoid the

Re: [PATCH] edac: thunderx: Replace pci_alloc_msix_exact

2017-05-17 Thread Jan Glauber
On Wed, May 17, 2017 at 06:35:05PM +0300, Sergei Temerkhanov wrote: > CIL... > > On Tue, May 16, 2017 at 12:54 PM, Jan Glauber wrote: > > Replace the deprecated pci_alloc_msix_exact() with > > pci_alloc_irq_vectors(). > > > > Avoid the container_of usage in the interrupt handler > > by simply pas

Re: [PATCH] edac: thunderx: Replace pci_alloc_msix_exact

2017-05-17 Thread Sergei Temerkhanov
CIL... On Tue, May 16, 2017 at 12:54 PM, Jan Glauber wrote: > Replace the deprecated pci_alloc_msix_exact() with > pci_alloc_irq_vectors(). > > Avoid the container_of usage in the interrupt handler > by simply passing the required struct as data to the interrupt > handler. > > Signed-off-by: Jan

[PATCH] edac: thunderx: Replace pci_alloc_msix_exact

2017-05-16 Thread Jan Glauber
Replace the deprecated pci_alloc_msix_exact() with pci_alloc_irq_vectors(). Avoid the container_of usage in the interrupt handler by simply passing the required struct as data to the interrupt handler. Signed-off-by: Jan Glauber --- drivers/edac/thunderx_edac.c | 91 ++--