arm64: tegra: Fix Prefetchable aperture ranges of Tegra234 PCIe controllers
authorVidya Sagar <vidyas@nvidia.com>
Wed, 28 Sep 2022 06:27:31 +0000 (11:57 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:31:52 +0000 (13:31 +0100)
commit75a0e121937d4bcdc5c1ddd6fb3d0c8ea1ad56be
tree78eb76c5fe0ff00ae55c9979bbffb9e9231008d2
parent29ca6ffb08408a10511569706e540d40c33e4a97
arm64: tegra: Fix Prefetchable aperture ranges of Tegra234 PCIe controllers

[ Upstream commit 248400656b1cd85de37f3742d065dc1826cdf589 ]

commit edf408b946d3 ("PCI: dwc: Validate iATU outbound mappings against
hardware constraints") exposes an issue with the existing partitioning of
the aperture space where the Prefetchable apertures of controllers
C5, C7 and C9 in Tegra234 cross the 32GB boundary hardware constraint.
This patch makes sure that the Prefetchable region doesn't spill over
the 32GB boundary.

Fixes: ec142c44b026 ("arm64: tegra: Add P2U and PCIe controller nodes to Tegra234 DT")
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/nvidia/tegra234.dtsi