PCI: dwc: Define maximum number of vectors
authorGustavo Pimentel <gustavo.pimentel@synopsys.com>
Mon, 14 May 2018 15:06:33 +0000 (16:06 +0100)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Mon, 14 May 2018 16:03:33 +0000 (17:03 +0100)
commit2d27ae899856d07db88cf84bf9b1f204bab23e96
tree464146654bc8a89dd707687096d2b920df179967
parentc27fd68c3942e3cd51097c36769cab29aeba1447
PCI: dwc: Define maximum number of vectors

Add a callback to define the maximum number of vectors used by the RC.

Since this is a parameter associated to each SoC IP setting, makes sense
to be configurable and easily visible to future modifications.

Set DesignWare driver vectors number maximum to 256.

Signed-off-by: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Joao Pinto <jpinto@synopsys.com>
Acked-by: Jingoo Han <jingoohan1@gmail.com>
drivers/pci/dwc/pcie-designware-plat.c