Skip to content

Commit 9f393d8

Browse files
geomatsiwens
authored andcommitted
riscv: dts: allwinner: d1: fix vlenb property
According to [1], the C906 vector registers are 128 bits wide. The 'thead,vlenb' property specifies the vector register length in bytes, so its value must be set to 16. [1] https://dl.linux-sunxi.org/D1/Xuantie_C906_R1S0_User_Manual.pdf Fixes: ce1daee ("riscv: dts: allwinner: Add xtheadvector to the D1/D1s devicetree") Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com> Link: https://patch.msgid.link/20251119203508.1032716-1-geomatsi@gmail.com Signed-off-by: Chen-Yu Tsai <wens@kernel.org>
1 parent 3a86608 commit 9f393d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/riscv/boot/dts/allwinner/sun20i-d1s.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
riscv,isa-base = "rv64i";
2929
riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zicntr", "zicsr",
3030
"zifencei", "zihpm", "xtheadvector";
31-
thead,vlenb = <128>;
31+
thead,vlenb = <16>;
3232
#cooling-cells = <2>;
3333

3434
cpu0_intc: interrupt-controller {

0 commit comments

Comments
 (0)