linux-uconsole/drivers/pci/controller
Hou Zhiqiang cdf4c21625 PCI: mobiveil: Fix the valid check for inbound and outbound windows
[ Upstream commit ccd34dac2e ]

In program_ib/ob_windows() check the window index from the function
parameter instead of the total number of initialized windows to
determine if the specified window is valid.

Fixes: 9af6bcb11e ("PCI: mobiveil: Add Mobiveil PCIe Host Bridge IP driver")
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Minghuan Lian <Minghuan.Lian@nxp.com>
Reviewed-by: Subrahmanya Lingappa <l.subrahmanya@mobiveil.co.in>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-27 14:51:00 +01:00
..
dwc PCI: dwc: Fix dw_pcie_ep_find_capability() to return correct capability offset 2020-01-27 14:50:39 +01:00
Kconfig
Makefile
pci-aardvark.c
pci-ftpci100.c
pci-host-common.c
pci-host-generic.c
pci-hyperv.c PCI: hv: Avoid use of hv_pci_dev->pci_slot after freeing it 2019-10-01 08:26:09 +02:00
pci-mvebu.c
pci-rcar-gen2.c
pci-tegra.c PCI: tegra: Enable Relaxed Ordering only for Tegra20 & Tegra30 2019-11-12 19:20:52 +01:00
pci-thunder-ecam.c
pci-thunder-pem.c
pci-v3-semi.c
pci-versatile.c
pci-xgene-msi.c
pci-xgene.c
pcie-altera-msi.c
pcie-altera.c
pcie-cadence-ep.c PCI: cadence: Write MSI data with 32bits 2019-12-01 09:16:15 +01:00
pcie-cadence-host.c
pcie-cadence.c
pcie-cadence.h
pcie-iproc-bcma.c
pcie-iproc-msi.c
pcie-iproc-platform.c
pcie-iproc.c PCI: iproc: Enable iProc config read for PAXBv2 2020-01-27 14:50:43 +01:00
pcie-iproc.h
pcie-mediatek.c PCI: mediatek: Fixup MSI enablement logic by enabling MSI before clocks 2019-12-01 09:16:30 +01:00
pcie-mobiveil.c PCI: mobiveil: Fix the valid check for inbound and outbound windows 2020-01-27 14:51:00 +01:00
pcie-rcar.c PCI: rcar: Fix missing MACCTLR register setting in initialization sequence 2019-12-17 20:35:54 +01:00
pcie-rockchip-ep.c PCI: rockchip: Fix rockchip_pcie_ep_assert_intx() bitwise operations 2020-01-27 14:50:38 +01:00
pcie-rockchip-host.c PCI: rockchip: Propagate errors for optional regulators 2019-10-07 18:57:12 +02:00
pcie-rockchip.c
pcie-rockchip.h
pcie-tango.c
pcie-xilinx-nwl.c PCI: xilinx-nwl: Fix Multi MSI data programming 2019-07-31 07:27:02 +02:00
pcie-xilinx.c PCI: xilinx: Check for __get_free_pages() failure 2019-06-15 11:54:10 +02:00
vmd.c PCI: vmd: Detach resources after stopping root bus 2019-12-01 09:16:37 +01:00