Skip to content

Commit d19a86d

Browse files
jonhunterbjorn-helgaas
authored andcommitted
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. Fixes: c57247f ("PCI: tegra: Add support for PCIe endpoint mode in Tegra194") Suggested-by: Manikanta Maddireddy <[email protected]> Link: https://lore.kernel.org/linux-pci/[email protected] Signed-off-by: Jon Hunter <[email protected]> Signed-off-by: Krzysztof Wilczyński <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Niklas Cassel <[email protected]>
1 parent 1613e60 commit d19a86d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/pci/controller/dwc/pcie-tegra194.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2015,6 +2015,7 @@ static const struct pci_epc_features tegra_pcie_epc_features = {
20152015
.bar[BAR_3] = { .type = BAR_RESERVED, },
20162016
.bar[BAR_4] = { .type = BAR_RESERVED, },
20172017
.bar[BAR_5] = { .type = BAR_RESERVED, },
2018+
.align = SZ_64K,
20182019
};
20192020

20202021
static const struct pci_epc_features*

0 commit comments

Comments
 (0)