Skip to content

Commit 1dc81fb

Browse files
Romain Naourgregkh
authored andcommitted
ARM: dts: dra7: Add bus_dma_limit for l4 cfg bus
commit c1472ec1dc4419d0bae663c1a1e6cb98dc7881ad upstream. A bus_dma_limit was added for l3 bus by commit cfb5d65 ("ARM: dts: dra7: Add bus_dma_limit for L3 bus") to fix an issue observed only with SATA on DRA7-EVM with 4GB RAM and CONFIG_ARM_LPAE enabled. Since kernel 5.13, the SATA issue can be reproduced again following the SATA node move from L3 bus to L4_cfg in commit 8af1536 ("ARM: dts: Configure interconnect target module for dra7 sata"). Fix it by adding an empty dma-ranges property to l4_cfg and segment@100000 nodes (parent device tree node of SATA controller) to inherit the 2GB dma ranges limit from l3 bus node. Note: A similar fix was applied for PCIe controller by commit 90d4d3f ("ARM: dts: dra7: Fix bus_dma_limit for PCIe"). Fixes: 8af1536 ("ARM: dts: Configure interconnect target module for dra7 sata"). Link: https://lore.kernel.org/linux-omap/[email protected]/ Cc: [email protected] # 5.13 Signed-off-by: Romain Naour <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Kevin Hilman <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 43590d2 commit 1dc81fb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/arm/boot/dts/dra7-l4.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
ranges = <0x00000000 0x4a000000 0x100000>, /* segment 0 */
1313
<0x00100000 0x4a100000 0x100000>, /* segment 1 */
1414
<0x00200000 0x4a200000 0x100000>; /* segment 2 */
15+
dma-ranges;
1516

1617
segment@0 { /* 0x4a000000 */
1718
compatible = "simple-pm-bus";
@@ -557,6 +558,7 @@
557558
<0x0007e000 0x0017e000 0x001000>, /* ap 124 */
558559
<0x00059000 0x00159000 0x001000>, /* ap 125 */
559560
<0x0005a000 0x0015a000 0x001000>; /* ap 126 */
561+
dma-ranges;
560562

561563
target-module@2000 { /* 0x4a102000, ap 27 3c.0 */
562564
compatible = "ti,sysc";

0 commit comments

Comments
 (0)