All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] PCI: imx6: Limit DBI register length for imx6qp pcie
@ 2021-02-18  5:09 ` Richard Zhu
  0 siblings, 0 replies; 10+ messages in thread
From: Richard Zhu @ 2021-02-18  5:09 UTC (permalink / raw)
  To: l.stach, bhelgaas, stefan, lorenzo.pieralisi
  Cc: linux-pci, linux-imx, linux-arm-kernel, linux-kernel, kernel,
	Richard Zhu

Refer to commit 075af61c19cd ("PCI: imx6: Limit DBI register length"),
i.MX6QP PCIe has the similar issue.
Define the length of the DBI registers and limit config space to its
length for i.MX6QP PCIe too.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
---
 drivers/pci/controller/dwc/pci-imx6.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pci/controller/dwc/pci-imx6.c b/drivers/pci/controller/dwc/pci-imx6.c
index 0cf1333c0440..853ea8e82952 100644
--- a/drivers/pci/controller/dwc/pci-imx6.c
+++ b/drivers/pci/controller/dwc/pci-imx6.c
@@ -1175,6 +1175,7 @@ static const struct imx6_pcie_drvdata drvdata[] = {
 		.variant = IMX6QP,
 		.flags = IMX6_PCIE_FLAG_IMX6_PHY |
 			 IMX6_PCIE_FLAG_IMX6_SPEED_CHANGE,
+		.dbi_length = 0x200,
 	},
 	[IMX7D] = {
 		.variant = IMX7D,
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-02-20  1:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-18  5:09 [PATCH] PCI: imx6: Limit DBI register length for imx6qp pcie Richard Zhu
2021-02-18  5:09 ` Richard Zhu
2021-02-18  8:59 ` Lucas Stach
2021-02-18  8:59   ` Lucas Stach
2021-02-18 11:55 ` Krzysztof Wilczyński
2021-02-18 11:55   ` Krzysztof Wilczyński
2021-02-18 17:34   ` Krzysztof Wilczyński
2021-02-18 17:34     ` Krzysztof Wilczyński
2021-02-20  1:27     ` [EXT] " Richard Zhu
2021-02-20  1:27       ` Richard Zhu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.