Re: [PATCH] AHCI: Add generic MSI-X interrupt support to SATA PCI driver

2014-11-10 Thread Robert Richter
On 10.11.14 22:51:44, Jiang Liu wrote: > On 2014/11/10 13:30, Robert Richter wrote: > > From: Sunil Goutham > > + /* only enable the first entry (entry.entry = 0) */ > > + rc = pci_enable_msix_exact(pdev, , 1); > > + if (rc < 0) > > + return rc; > > + > > + pdev->irq =

Re: [PATCH] AHCI: Add generic MSI-X interrupt support to SATA PCI driver

2014-11-10 Thread Jiang Liu
On 2014/11/10 13:30, Robert Richter wrote: > From: Sunil Goutham > > This patch adds generic support for MSI-X interrupts to the SATA PCI > driver. Only single interrupt support is implemented. Thus, per-port > interrupts can not yet be enabled. > > The driver now checks the device for the

Re: [PATCH] AHCI: Add generic MSI-X interrupt support to SATA PCI driver

2014-11-10 Thread Jiang Liu
On 2014/11/10 13:30, Robert Richter wrote: From: Sunil Goutham sgout...@cavium.com This patch adds generic support for MSI-X interrupts to the SATA PCI driver. Only single interrupt support is implemented. Thus, per-port interrupts can not yet be enabled. The driver now checks the device

Re: [PATCH] AHCI: Add generic MSI-X interrupt support to SATA PCI driver

2014-11-10 Thread Robert Richter
On 10.11.14 22:51:44, Jiang Liu wrote: On 2014/11/10 13:30, Robert Richter wrote: From: Sunil Goutham sgout...@cavium.com + /* only enable the first entry (entry.entry = 0) */ + rc = pci_enable_msix_exact(pdev, entry, 1); + if (rc 0) + return rc; + + pdev-irq =

[PATCH] AHCI: Add generic MSI-X interrupt support to SATA PCI driver

2014-11-09 Thread Robert Richter
From: Sunil Goutham This patch adds generic support for MSI-X interrupts to the SATA PCI driver. Only single interrupt support is implemented. Thus, per-port interrupts can not yet be enabled. The driver now checks the device for the existence of MSI-X and tries to enable the interrupt.

[PATCH] AHCI: Add generic MSI-X interrupt support to SATA PCI driver

2014-11-09 Thread Robert Richter
From: Sunil Goutham sgout...@cavium.com This patch adds generic support for MSI-X interrupts to the SATA PCI driver. Only single interrupt support is implemented. Thus, per-port interrupts can not yet be enabled. The driver now checks the device for the existence of MSI-X and tries to enable the