riscv: dts: allwinner: d1: fix vlenb property
Subsystems (3)
PATCH 1/1 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
--- arch/riscv/boot/dts/allwinner/sun20i-d1s.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/boot/dts/allwinner/sun20i-d1s.dtsi +1 -1
@@ -28,7 +28,7 @@ cpu0: cpu@0 { riscv,isa-base = "rv64i"; riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zicntr", "zicsr", "zifencei", "zihpm", "xtheadvector"; - thead,vlenb = <128>; + thead,vlenb = <16>; #cooling-cells = <2>; cpu0_intc: interrupt-controller {
Signature · 1 line
2.51.2
Chen-Yu Tsai
maintainerQuoted 8 lines · Sergey Matyukevich
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
[...]
Applied to sunxi/fixes-for-6.18 in local tree, thanks!
[1/1] riscv: dts: allwinner: d1: fix vlenb property
commit: 57c5543b94d0c0280145a4a7445a2c1ae074879e
Best regards,
Signature · 1 line
Chen-Yu Tsai <[email protected]>
Chen-Yu Tsai
maintainerQuoted 8 lines · Sergey Matyukevich
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
[...]
Applied to sunxi/fixes-for-6.18 in local tree, thanks!
[1/1] riscv: dts: allwinner: d1: fix vlenb property
commit: 9f393d8e757f79060baf4b2e703bd6b2d0d8d323
Best regards,
Signature · 1 line
Chen-Yu Tsai <[email protected]>