linux-stable/drivers/pci/controller
Sandor Bodo-Merle e673d697b9 PCI: iproc: Fix multi-MSI base vector number allocation
Commit fc54bae288 ("PCI: iproc: Allow allocation of multiple MSIs")
introduced multi-MSI support with a broken allocation mechanism (it failed
to reserve the proper number of bits from the inner domain).  Natural
alignment of the base vector number was also not guaranteed.

Link: https://lore.kernel.org/r/20210622152630.40842-1-sbodomerle@gmail.com
Fixes: fc54bae288 ("PCI: iproc: Allow allocation of multiple MSIs")
Reported-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Sandor Bodo-Merle <sbodomerle@gmail.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Marc Zyngier <maz@kernel.org>
Acked-by: Pali Rohár <pali@kernel.org>
Acked-by: Ray Jui <ray.jui@broadcom.com>
2021-06-22 16:43:42 +01:00
..
cadence pci-v5.13-changes 2021-05-05 13:24:11 -07:00
dwc pci-v5.13-changes 2021-05-05 13:24:11 -07:00
mobiveil PCI: mobiveil: Improve PCIE_LAYERSCAPE_GEN4 dependencies 2021-03-23 10:29:24 +00:00
Kconfig Merge branch 'remotes/lorenzo/pci/msi' 2021-05-04 10:43:30 -05:00
Makefile Merge branch 'remotes/lorenzo/pci/mediatek' 2021-05-04 10:43:28 -05:00
pci-aardvark.c Merge branch 'remotes/lorenzo/pci/aardvark' 2020-12-15 15:11:10 -06:00
pci-ftpci100.c
pci-host-common.c PCI/MSI: Make pci_host_common_probe() declare its reliance on MSI domains 2021-04-20 14:11:22 +01:00
pci-host-generic.c PCI: Unify ECAM constants in native PCI Express drivers 2020-12-10 14:55:49 -06:00
pci-hyperv-intf.c
pci-hyperv.c pci-v5.13-changes 2021-05-05 13:24:11 -07:00
pci-loongson.c
pci-mvebu.c
pci-rcar-gen2.c
pci-tegra.c PCI: tegra: Convert to MSI domains 2021-04-20 14:11:01 +01:00
pci-thunder-ecam.c PCI: thunder: Fix compile testing 2021-03-11 15:07:46 -06:00
pci-thunder-pem.c PCI: thunder: Fix compile testing 2021-03-11 15:07:46 -06:00
pci-v3-semi.c
pci-versatile.c
pci-xgene-msi.c PCI: xgene-msi: Fix race in installing chained irq handler 2021-01-18 15:48:06 +00:00
pci-xgene.c PCI: xgene: Fix cfg resource mapping 2021-03-31 10:28:38 +01:00
pcie-altera-msi.c PCI: altera-msi: Remove redundant dev_err call in altera_msi_probe() 2021-04-14 17:45:11 +01:00
pcie-altera.c
pcie-brcmstb.c Merge branch 'pci/brcmstb' 2021-05-04 10:43:31 -05:00
pcie-hisi-error.c
pcie-iproc-bcma.c
pcie-iproc-msi.c PCI: iproc: Fix multi-MSI base vector number allocation 2021-06-22 16:43:42 +01:00
pcie-iproc-platform.c
pcie-iproc.c Merge branch 'remotes/lorenzo/pci/iproc' 2020-12-15 15:11:12 -06:00
pcie-iproc.h
pcie-mediatek-gen3.c PCI: mediatek-gen3: Add system PM support 2021-04-29 17:34:22 +01:00
pcie-mediatek.c Merge branch 'remotes/lorenzo/pci/msi' 2021-05-04 10:43:30 -05:00
pcie-microchip-host.c PCI: microchip: Remove dev_err() when handing an error from platform_get_irq() 2021-03-22 14:25:41 +00:00
pcie-rcar-ep.c
pcie-rcar-host.c PCI: rcar: Convert to MSI domains 2021-04-20 14:11:21 +01:00
pcie-rcar.c
pcie-rcar.h
pcie-rockchip-ep.c
pcie-rockchip-host.c PCI: Unify ECAM constants in native PCI Express drivers 2020-12-10 14:55:49 -06:00
pcie-rockchip.c PCI: rockchip: Make 'ep-gpios' DT property optional 2021-02-23 14:23:50 -06:00
pcie-rockchip.h PCI: Unify ECAM constants in native PCI Express drivers 2020-12-10 14:55:49 -06:00
pcie-xilinx-cpm.c PCI: xilinx-cpm: Fix reference count leak on error path 2021-01-25 17:27:41 +00:00
pcie-xilinx-nwl.c PCI: xilinx-nwl: Enable coherent PCIe DMA traffic using CCI 2021-04-07 16:59:23 +01:00
pcie-xilinx.c PCI: xilinx: Convert to MSI domains 2021-04-20 14:11:21 +01:00
vmd.c PCI: vmd: Disable MSI-X remapping when possible 2021-03-22 14:08:20 +00:00