Re: [PATCH v4 03/16] riscv: vector: Use vlenb from DT

2024-05-01 Thread Charlie Jenkins
On Wed, May 01, 2024 at 11:31:45AM +0100, Conor Dooley wrote: > On Fri, Apr 26, 2024 at 02:29:17PM -0700, Charlie Jenkins wrote: > > If vlenb is provided in the device tree, prefer that over reading the > > vlenb csr. > > > > Signed-off-by: Charlie Jenkins > > --- > >

Re: [PATCH v4 03/16] riscv: vector: Use vlenb from DT

2024-05-01 Thread Conor Dooley
On Fri, Apr 26, 2024 at 02:29:17PM -0700, Charlie Jenkins wrote: > If vlenb is provided in the device tree, prefer that over reading the > vlenb csr. > > Signed-off-by: Charlie Jenkins > --- > arch/riscv/include/asm/cpufeature.h | 2 ++ > arch/riscv/kernel/cpufeature.c | 43 >

[PATCH v4 03/16] riscv: vector: Use vlenb from DT

2024-04-26 Thread Charlie Jenkins
If vlenb is provided in the device tree, prefer that over reading the vlenb csr. Signed-off-by: Charlie Jenkins --- arch/riscv/include/asm/cpufeature.h | 2 ++ arch/riscv/kernel/cpufeature.c | 43 + arch/riscv/kernel/vector.c | 12 ++-