PCI: tegra194: Set EP alignment restriction for inbound ATU
authorJon Hunter <jonathanh@nvidia.com>
Wed, 8 May 2024 09:22:07 +0000 (10:22 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 28 May 2024 16:16:02 +0000 (11:16 -0500)
commitd19a86d584e04191cdab7ced24d7ed791075697a
tree7457c0564eab0e3362e4626a59b1d5dea62a2de4
parent1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0
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: c57247f940e8 ("PCI: tegra: Add support for PCIe endpoint mode in Tegra194")
Suggested-by: Manikanta Maddireddy <mmaddireddy@nvidia.com>
Link: https://lore.kernel.org/linux-pci/20240508092207.337063-1-jonathanh@nvidia.com
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Krzysztof WilczyƄski <kwilczynski@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Niklas Cassel <cassel@kernel.org>
drivers/pci/controller/dwc/pcie-tegra194.c