android_kernel_sony_sdm845/drivers/pci/host
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Andrew Murray f84bd31331 PCI: rcar: Fix incorrect programming of OB windows
[ Upstream commit 2b9f217433e31d125fb697ca7974d3de3ecc3e92 ]

The outbound windows (PCIEPAUR(x), PCIEPALR(x)) describe a mapping between
a CPU address (which is determined by the window number 'x') and a
programmed PCI address - Thus allowing the controller to translate CPU
accesses into PCI accesses.

However the existing code incorrectly writes the CPU address - lets fix
this by writing the PCI address instead.

For memory transactions, existing DT users describe a 1:1 identity mapping
and thus this change should have no effect. However the same isn't true for
I/O.

Link: https://lore.kernel.org/r/20191004132941.6660-1-andrew.murray@arm.com
Fixes: c25da47788 ("PCI: rcar: Add Renesas R-Car PCIe driver")
Tested-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Signed-off-by: Andrew Murray <andrew.murray@arm.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-06-30 15:38:24 -04:00
..
Kconfig
Makefile
pci-aardvark.c PCI: aardvark: Don't blindly enable ASPM L0s and don't write to read-only register 2020-06-30 15:38:21 -04:00
pci-dra7xx.c
pci-exynos.c
pci-host-common.c PCI: OF: Fix I/O space page leak 2018-08-24 13:12:40 +02:00
pci-host-generic.c
pci-hyperv.c PCI: hv: Fix a use-after-free bug in hv_eject_device_work() 2019-08-04 09:33:30 +02:00
pci-imx6.c
pci-keystone-dw.c PCI: keystone: Fix link training retries initiation 2020-02-14 16:31:00 -05:00
pci-keystone.c PCI: keystone: Use quirk to limit MRRS for K2G 2019-11-28 18:29:01 +01:00
pci-keystone.h
pci-layerscape.c
pci-mvebu.c PCI: mvebu: Fix I/O space end address calculation 2018-09-15 09:42:59 +02:00
pci-rcar-gen2.c
pci-tegra.c PCI: tegra: Enable Relaxed Ordering only for Tegra20 & Tegra30 2019-11-12 19:15:54 +01:00
pci-thunder-ecam.c
pci-thunder-pem.c
pci-versatile.c PCI: versatile: Fix I/O space page leak 2018-08-24 13:12:40 +02:00
pci-xgene-msi.c
pci-xgene.c
pcie-altera-msi.c
pcie-altera.c
pcie-armada8k.c
pcie-artpec6.c
pcie-designware-plat.c
pcie-designware.c PCI: dwc: Fix enumeration end when reaching root subordinate 2018-03-18 11:18:56 +01:00
pcie-designware.h
pcie-hisi.c
pcie-iproc-bcma.c
pcie-iproc-msi.c
pcie-iproc-platform.c
pcie-iproc.c
pcie-iproc.h
pcie-qcom.c
pcie-rcar.c PCI: rcar: Fix incorrect programming of OB windows 2020-06-30 15:38:24 -04:00
pcie-rockchip.c
pcie-spear13xx.c
pcie-xilinx-nwl.c PCI: xilinx-nwl: Fix Multi MSI data programming 2019-08-04 09:33:38 +02:00
pcie-xilinx.c PCI: xilinx: Check for __get_free_pages() failure 2019-06-22 08:17:17 +02:00
vmd.c PCI: vmd: Free up IRQs on suspend path 2019-02-12 19:45:02 +01:00