Re: [PATCH 4/6] pci: altera: Add Altera PCIe MSI driver
From: Ley Foon Tan <hidden>
Date: 2015-07-29 08:54:03
Also in:
linux-arm-kernel, linux-pci, lkml
On Wed, Jul 29, 2015 at 1:00 AM, Dinh Nguyen [off-list ref] wrote:
On Tue, Jul 28, 2015 at 5:45 AM, Ley Foon Tan [off-list ref] wrote:quoted
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 <redacted> --- drivers/pci/host/Kconfig | 7 + drivers/pci/host/Makefile | 1 + drivers/pci/host/pcie-altera-msi.c | 318 +++++++++++++++++++++++++++++++++++++ 3 files changed, 326 insertions(+) create mode 100644 drivers/pci/host/pcie-altera-msi.cdiff --git a/drivers/pci/host/Kconfig b/drivers/pci/host/Kconfig index af19039..a8b87fd 100644 --- a/drivers/pci/host/Kconfig +++ b/drivers/pci/host/Kconfig@@ -154,4 +154,11 @@ config PCIE_ALTERA Say Y here if you want to enable PCIe controller support for Altera SoCFPGA family of SoCs. +config PCIE_ALTERA_MSI + bool "Altera PCIe MSI feature" + depends on PCI_MSI && PCIE_ALTERA + help + Say Y here if you want PCIe MSI support for the Altera SocFPGA SoC. + This MSI driver supports Altera MSI to GIC controller IP. +Couldn't this driver get combined with the pcie-altera driver?
Prefer to separate them, since they are 2 separate IPs. Theoretically, this MSI driver can work with other PCIe host as well. Thanks. Regard Ley Foon -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html