[PATCH v4] riscv: Discard vector state on syscalls

Palmer Dabbelt palmer at rivosinc.com
Wed Jul 5 16:38:27 PDT 2023


On Thu, 29 Jun 2023 16:22:28 +0200, Björn Töpel wrote:
> The RISC-V vector specification states:
>   Executing a system call causes all caller-saved vector registers
>   (v0-v31, vl, vtype) and vstart to become unspecified.
> 
> The vector registers are set to all 1s, vill is set (invalid), and the
> vector status is set to Dirty.
> 
> [...]

Applied, thanks!

[1/1] riscv: Discard vector state on syscalls
      https://git.kernel.org/palmer/c/9657e9b7d253

Best regards,
-- 
Palmer Dabbelt <palmer at rivosinc.com>




More information about the linux-riscv mailing list