]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
arm64: dts: rockchip: add dma-coherent for pcie and gmac of RK3576
authorShawn Lin <shawn.lin@rock-chips.com>
Fri, 28 Nov 2025 07:09:22 +0000 (15:09 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 22 Dec 2025 13:28:54 +0000 (14:28 +0100)
commit2d6fcdcaf42671dd3fb281d7a2e5ea985af11ce5
tree395670e2dd0cb04581cba2d8a8a612316d15081c
parente3b12fc3336240e7dee4989b9e8634be3c959c94
arm64: dts: rockchip: add dma-coherent for pcie and gmac of RK3576

The RK3576 SoC employs ARM CCI for maintaining cache coherency
between the CPU cluster and high-speed peripherals including USB3,
SATA, GMAC, and PCIe controllers. While the USB3 and SATA controllers
were correctly marked as dma-coherent, the GMAC and PCIe nodes were
overlooked.

Without dma-coherent, the kernel falls back to software cache maintenance
for DMA operations, requiring explicit cache flushing and invalidating.
This adds significant overhead that degrades performance in high-throughput
workloads.

Add the missing dma-coherent properties to enable hardware coherency and
avoid unnecessary software cache management overhead.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Link: https://patch.msgid.link/1764313762-78063-1-git-send-email-shawn.lin@rock-chips.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3576.dtsi