Skip to content

Commit

Permalink
riscv: dts: thead: set dma-noncoherent to soc bus
Browse files Browse the repository at this point in the history
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: Björn Töpel <bjorn@rivosinc.com>
  • Loading branch information
xhackerustc authored and Björn Töpel committed Oct 4, 2023
1 parent e2e0fa3 commit 844e82a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/riscv/boot/dts/thead/th1520.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@
interrupt-parent = <&plic>;
#address-cells = <2>;
#size-cells = <2>;
dma-noncoherent;
ranges;

plic: interrupt-controller@ffd8000000 {
Expand Down

0 comments on commit 844e82a

Please sign in to comment.