]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
riscv: dts: sophgo: Add dma-coherent to SG2042 PCIe controllers
authorHan Gao <gaohan@iscas.ac.cn>
Tue, 31 Mar 2026 17:12:48 +0000 (01:12 +0800)
committerInochi Amaoto <inochiama@gmail.com>
Tue, 2 Jun 2026 22:16:19 +0000 (06:16 +0800)
commit2647eabde8de748ee2c9a2816615d4af3bd4bf9d
treefe4242b0555bd57b282f5ba2077977de4fba338b
parent972e8823d93866bc39cf6270bd5ec26d055b9d6f
riscv: dts: sophgo: Add dma-coherent to SG2042 PCIe controllers

SG2042's PCIe root complexes are cache-coherent with the CPU. Mark all
four PCIe controller nodes (pcie_rc0 through pcie_rc3) as dma-coherent
so the kernel uses coherent DMA mappings instead of non-coherent bounce
buffering.

Cc: stable@vger.kernel.org
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Link: https://patch.msgid.link/20260331171248.973014-3-gaohan@iscas.ac.cn
Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
arch/riscv/boot/dts/sophgo/sg2042.dtsi