riscv: Add task switch support for vector
This patch adds task switch support for vector. It also supports all lengths of vlen. [guoren@linux.alibaba.com: First available porting to support vector context switching] [nick.knight@sifive.com: Rewrite vector.S to support dynamic vlen, xlen and code refine] [vincent.chen@sifive.com: Fix the might_sleep issue in riscv_v_vstate_save, riscv_v_vstate_restore] [andrew@sifive.com: Optimize task switch codes of vector] [ruinland.tsai@sifive.com: Fix the arch_release_task_struct free wrong datap issue] [vineetg: Fixed lkp warning with W=1 build] [andy.chiu: Use inline asm for task switches] Suggested-by:Andrew Waterman <andrew@sifive.com> Co-developed-by:
Nick Knight <nick.knight@sifive.com> Signed-off-by:
Nick Knight <nick.knight@sifive.com> Co-developed-by:
Guo Ren <guoren@linux.alibaba.com> Signed-off-by:
Guo Ren <guoren@linux.alibaba.com> Co-developed-by:
Vincent Chen <vincent.chen@sifive.com> Signed-off-by:
Vincent Chen <vincent.chen@sifive.com> Co-developed-by:
Ruinland Tsai <ruinland.tsai@sifive.com> Signed-off-by:
Ruinland Tsai <ruinland.tsai@sifive.com> Signed-off-by:
Greentime Hu <greentime.hu@sifive.com> Signed-off-by:
Vineet Gupta <vineetg@rivosinc.com> Signed-off-by:
Andy Chiu <andy.chiu@sifive.com>
Loading
Please register or sign in to comment