Skip to content

Commit b40a7bb

Browse files
Brad Griffiszyf1116
authored andcommitted
arm64: tegra: Fix Tegra234 PCIe interrupt-map
stable inclusion from stable-6.6.78 commit ce5bcb5732794c757fc68c023a6975a1f9d9e882 category: bugfix issue: #IC2PN8 CVE: NA Signed-off-by: zyf1116 <[email protected]> --------------------------------------- commit b615fbd70fce8582d92b3bdbbf3c9b80cadcfb55 upstream. For interrupt-map entries, the DTS specification requires that #address-cells is defined for both the child node and the interrupt parent. For the PCIe interrupt-map entries, the parent node ("gic") has not specified #address-cells. The existing layout of the PCIe interrupt-map entries indicates that it assumes that #address-cells is zero for this node. Explicitly set #address-cells to zero for "gic" so that it complies with the device tree specification. NVIDIA EDK2 works around this issue by assuming #address-cells is zero in this scenario, but that workaround is being removed and so this update is needed or else NVIDIA EDK2 cannot successfully parse the device tree and the board cannot boot. Fixes: ec142c4 ("arm64: tegra: Add P2U and PCIe controller nodes to Tegra234 DT") Signed-off-by: Brad Griffis <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Thierry Reding <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: zyf1116 <[email protected]>
1 parent af1caa5 commit b40a7bb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/arm64/boot/dts/nvidia/tegra234.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1912,6 +1912,8 @@
19121912
#redistributor-regions = <1>;
19131913
#interrupt-cells = <3>;
19141914
interrupt-controller;
1915+
1916+
#address-cells = <0>;
19151917
};
19161918

19171919
smmu_iso: iommu@10000000 {

0 commit comments

Comments
 (0)