PCI: tegra194: Set EP alignment restriction for inbound ATU
Jon Hunter
maintainerPATCH v2 1/1 PCI: tegra194: Set EP alignment restriction for inbound ATU
Tegra194 and Tegra234 PCIe EP controllers have 64K alignment restriction for the inbound ATU. Set the endpoint inbound ATU alignment to 64kB in the Tegra194 PCIe driver.
---
Changes since V1: Updated commit message.
drivers/pci/controller/dwc/pcie-tegra194.c | 1 + 1 file changed, 1 insertion(+)
drivers/pci/controller/dwc/pcie-tegra194.c +1 -0
@@ -2015,6 +2015,7 @@ static const struct pci_epc_features tegra_pcie_epc_features = { .bar[BAR_3] = { .type = BAR_RESERVED, }, .bar[BAR_4] = { .type = BAR_RESERVED, }, .bar[BAR_5] = { .type = BAR_RESERVED, }, + .align = SZ_64K, }; static const struct pci_epc_features*
Signature · 1 line
2.34.1
Quoted 28 lines · Jon Hunter
Tegra194 and Tegra234 PCIe EP controllers have 64K alignment restriction for the inbound ATU. Set the endpoint inbound ATU alignment to 64kB in the Tegra194 PCIe driver.
Fixes c57247f940e8 ("PCI: tegra: Add support for PCIe endpoint mode in Tegra194")Suggested-by Manikanta Maddireddy <[email protected]>Signed-off-by Jon Hunter <[email protected]>---
Changes since V1: Updated commit message.drivers/pci/controller/dwc/pcie-tegra194.c | 1 + 1 file changed, 1 insertion(+)drivers/pci/controller/dwc/pcie-tegra194.c +1
-0@@ -2015,6 +2015,7 @@ static const struct pci_epc_features tegra_pcie_epc_features = { .bar[BAR_3] = { .type = BAR_RESERVED, }, .bar[BAR_4] = { .type = BAR_RESERVED, }, .bar[BAR_5] = { .type = BAR_RESERVED, }, + .align = SZ_64K, }; static const struct pci_epc_features*Signature · 1 line
2.34.1
Quoted 8 lines · Niklas Cassel
Quoted 7 lines · Jon Hunter
Tegra194 and Tegra234 PCIe EP controllers have 64K alignment restriction for the inbound ATU. Set the endpoint inbound ATU alignment to 64kB in the Tegra194 PCIe driver.
Fixes c57247f940e8 ("PCI: tegra: Add support for PCIe endpoint mode in Tegra194")Suggested-by Manikanta Maddireddy <[email protected]>Signed-off-by Jon Hunter <[email protected]>
Applied by Krzysztof to pci/controller/tegra194, but his outgoing mail queue was stuck. Trying to squeeze into v6.10.
Quoted 23 lines
Quoted 21 lines
---
Changes since V1: Updated commit message.drivers/pci/controller/dwc/pcie-tegra194.c | 1 + 1 file changed, 1 insertion(+)drivers/pci/controller/dwc/pcie-tegra194.c +1
-0@@ -2015,6 +2015,7 @@ static const struct pci_epc_features tegra_pcie_epc_features = { .bar[BAR_3] = { .type = BAR_RESERVED, }, .bar[BAR_4] = { .type = BAR_RESERVED, }, .bar[BAR_5] = { .type = BAR_RESERVED, }, + .align = SZ_64K, }; static const struct pci_epc_features*Signature · 1 line
2.34.1Reviewed-by Niklas Cassel <[email protected]>
Krzysztof Wilczyński
AppliedHello,
Quoted 3 lines
Tegra194 and Tegra234 PCIe EP controllers have 64K alignment restriction for the inbound ATU. Set the endpoint inbound ATU alignment to 64kB in the Tegra194 PCIe driver.
Applied to controller/tegra194, thank you!
[1/1] PCI: tegra194: Set EP alignment restriction for inbound ATU
https://git.kernel.org/pci/pci/c/ff58a429d70c Krzysztof