On Thu, Oct 19, 2023 at 03:45:51PM +0000, Andy Chiu wrote: > riscv_v_vstate_{save,restore}() can operate only on the knowlege of > struct __riscv_v_ext_state, and struct pt_regs. Let the caller decides > which should be passed into the function. Meanwhile, the kernel-mode > Vector is going to introduce another vstate, so this also makes functions > potentially able to be reused. > > Signed-off-by: Andy Chiu > --- > Changelog v3: > - save V context after get_cpu_vector_context > Changelog v2: > - fix build fail that get caught on this patch (Conor) Acked-by: Conor Dooley Cheers, Conor.