Re: [PATCH 4/6] pci: altera: Add Altera PCIe MSI driver

From: Dinh Nguyen
Date: Tue Jul 28 2015 - 23:38:19 EST


On Tue, Jul 28, 2015 at 10:07 PM, Ley Foon Tan <lftan@xxxxxxxxxx> wrote:
> On Wed, Jul 29, 2015 at 1:00 AM, Dinh Nguyen <dinh.linux@xxxxxxxxx> wrote:
>> On Tue, Jul 28, 2015 at 5:45 AM, Ley Foon Tan <lftan@xxxxxxxxxx> wrote:
>>> This patch adds Altera PCIe MSI driver. This soft IP supports configurable
>>> number of vectors, which is a dts parameter.
>>> @@ -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?
>
> This MSI IP is a soft IP and it is optional to PCI system. So, we have
> individual driver for it and user can disable it.
>

So why can't you use CONFIG_PCI_MSI in the pcie-altera driver? I see
that most, if not
all of the other drivers are combined with MSI.

Dinh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/