]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
riscv: dts: thead: set dma-noncoherent to soc bus
authorJisheng Zhang <jszhang@kernel.org>
Tue, 12 Sep 2023 07:22:32 +0000 (15:22 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Nov 2023 13:09:02 +0000 (14:09 +0100)
[ Upstream commit 759426c758c7053a941a4c06c7571461439fcff6 ]

riscv select ARCH_DMA_DEFAULT_COHERENT by default, and th1520 isn't
dma coherent, so set dma-noncoherent to reflect this fact.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Tested-by: Drew Fustini <dfustini@baylibre.com>
Reviewed-by: Guo Ren <guoren@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/riscv/boot/dts/thead/th1520.dtsi

index 56a73134b49e67cba255f486c0767958e098bcf7..58108f0eb3fdceee849a284e8521f0bce3ad813a 100644 (file)
                interrupt-parent = <&plic>;
                #address-cells = <2>;
                #size-cells = <2>;
+               dma-noncoherent;
                ranges;
 
                plic: interrupt-controller@ffd8000000 {