linux/drivers/pci/controller/dwc
Manivannan Sadhasivam d25166e1e9 PCI: qcom: Disable write access to read only registers for IP v2.9.0
[ Upstream commit 200b8f85f2 ]

In the post init sequence of v2.9.0, write access to read only registers
are not disabled after updating the registers. Fix it by disabling the
access after register update.

While at it, let's also add a newline after existing dw_pcie_dbi_ro_wr_en()
guard function to align with rest of the driver.

Link: https://lore.kernel.org/r/20230619150408.8468-4-manivannan.sadhasivam@linaro.org
Fixes: 0cf7c2efe8 ("PCI: qcom: Add IPQ60xx support")
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-07-19 16:21:40 +02:00
..
Kconfig PCI: kirin: Select REGMAP_MMIO 2023-05-11 23:02:59 +09:00
Makefile
pci-dra7xx.c
pci-exynos.c
pci-imx6.c PCI: imx6: Install the fault handler only on compatible match 2023-05-11 23:03:28 +09:00
pci-keystone.c
pci-layerscape-ep.c
pci-layerscape.c
pci-meson.c
pcie-al.c
pcie-armada8k.c
pcie-artpec6.c
pcie-designware-ep.c
pcie-designware-host.c
pcie-designware-plat.c
pcie-designware.c PCI: dwc: Fix PORT_LINK_CONTROL update when CDM check enabled 2023-04-06 12:10:43 +02:00
pcie-designware.h
pcie-dw-rockchip.c
pcie-fu740.c
pcie-hisi.c
pcie-histb.c
pcie-intel-gw.c
pcie-keembay.c
pcie-kirin.c
pcie-qcom-ep.c
pcie-qcom.c PCI: qcom: Disable write access to read only registers for IP v2.9.0 2023-07-19 16:21:40 +02:00
pcie-spear13xx.c
pcie-tegra194-acpi.c
pcie-tegra194.c
pcie-uniphier-ep.c
pcie-uniphier.c
pcie-visconti.c