Re: [PATCH v5 3/5] pci: altera: Add Altera PCIe MSI driver

2015-08-26 Thread Ley Foon Tan
On Tue, Aug 25, 2015 at 7:25 PM, Marc Zyngier wrote: > > + > > +static void altera_msi_isr(unsigned int irq, struct irq_desc *desc) > > +{ > > + struct irq_chip *chip = irq_desc_get_chip(desc); > > + struct altera_msi *msi; > > + unsigned long status; > > + u32 num_of_vectors; >

Re: [PATCH v5 3/5] pci: altera: Add Altera PCIe MSI driver

2015-08-26 Thread Ley Foon Tan
On Tue, Aug 25, 2015 at 7:25 PM, Marc Zyngier marc.zyng...@arm.com wrote: + +static void altera_msi_isr(unsigned int irq, struct irq_desc *desc) +{ + struct irq_chip *chip = irq_desc_get_chip(desc); + struct altera_msi *msi; + unsigned long status; + u32

Re: [PATCH v5 3/5] pci: altera: Add Altera PCIe MSI driver

2015-08-25 Thread Marc Zyngier
On 25/08/15 10:35, Ley Foon Tan wrote: > This patch adds Altera PCIe MSI driver. This soft IP supports configurable > number of vectors, which is a dts parameter. > > Signed-off-by: Ley Foon Tan > --- > drivers/pci/host/Kconfig | 8 + > drivers/pci/host/Makefile | 1 + >

[PATCH v5 3/5] pci: altera: Add Altera PCIe MSI driver

2015-08-25 Thread Ley Foon Tan
This patch adds Altera PCIe MSI driver. This soft IP supports configurable number of vectors, which is a dts parameter. Signed-off-by: Ley Foon Tan --- drivers/pci/host/Kconfig | 8 + drivers/pci/host/Makefile | 1 + drivers/pci/host/pcie-altera-msi.c | 322

[PATCH v5 3/5] pci: altera: Add Altera PCIe MSI driver

2015-08-25 Thread Ley Foon Tan
This patch adds Altera PCIe MSI driver. This soft IP supports configurable number of vectors, which is a dts parameter. Signed-off-by: Ley Foon Tan lf...@altera.com --- drivers/pci/host/Kconfig | 8 + drivers/pci/host/Makefile | 1 + drivers/pci/host/pcie-altera-msi.c |

Re: [PATCH v5 3/5] pci: altera: Add Altera PCIe MSI driver

2015-08-25 Thread Marc Zyngier
On 25/08/15 10:35, Ley Foon Tan wrote: This patch adds Altera PCIe MSI driver. This soft IP supports configurable number of vectors, which is a dts parameter. Signed-off-by: Ley Foon Tan lf...@altera.com --- drivers/pci/host/Kconfig | 8 + drivers/pci/host/Makefile |