Re: [PATCH V2] PCI: exynos: add support for MSI

From: Pratyush Anand
Date: Wed Aug 28 2013 - 23:45:40 EST


On Wed, Aug 28, 2013 at 04:17:24PM +0800, Jingoo Han wrote:
> On Friday, August 23, 2013 5:36 PM, Pratyush Anand wrote:
> > On Fri, Aug 23, 2013 at 02:04:20PM +0800, Jingoo Han wrote:
>

[...]

> > #define MAX_PCIE_PORT_SUPPORTED 3
> > static DECLARE_BITMAP(msi_irq_in_use[MAX_PCIE_PORT_SUPPORTED],
> > NUM_MSI_IRQS);
> > static unsigned int *msi_data[MAX_PCIE_PORT_SUPPORTED];
>
> No, there is no need to do it.
> Without this, we can use 3 RCs by adding a node of 3rd RC to dt file.
>

Yes, you can use RCs by adding nodes to dt file. But you will need one
msi_irq_in_use and one msi_data per RC (ie per port in this driver), isn't it?

Regards
Pratyush

--
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/