[v1, 0/2] Initialize Vector registers in the first-use trap
Palmer Dabbelt
palmer at rivosinc.com
Tue Jul 4 07:42:55 PDT 2023
On Tue, 27 Jun 2023 01:55:53 +0000, Andy Chiu wrote:
> Before applying this series, We only initialize the space for saving
> Vector registers. This is not enough as Vector registers themselves also
> neeeded to be initialized before dropping back into userspace. Or, we
> may risk leaking a process's data left in Vector register to another
> process. This can be verified by only applying the second patch and
> running the test.
>
> [...]
Applied, thanks!
[1/2] riscv: vector: clear V-reg in the first-use trap
https://git.kernel.org/palmer/c/75b59f2a90aa
[2/2] selftests: Test RISC-V Vector's first-use handler
https://git.kernel.org/palmer/c/5c93c4c72fbc
Best regards,
--
Palmer Dabbelt <palmer at rivosinc.com>
More information about the linux-riscv
mailing list