Integrated: 8348384: RISC-V: Disable auto-enable Vector on buggy kernels
Robbin Ehn
rehn at openjdk.org
Tue Jan 28 07:38:58 UTC 2025
On Thu, 23 Jan 2025 09:51:23 GMT, Robbin Ehn <rehn at openjdk.org> wrote:
> Hi please consider!
>
> Linux kernels pre-6.9 can copy a dirty v-state during signal return path:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/arch/riscv/kernel/signal.c?h=v6.13-rc1&id=c27fa53b858b4ee6552a719aa599c250cf98a586
>
> We should not auto-enable vector with such kernel, as we must be able to receive signals during the execution of vector code.
>
> Manual tested pre and post 6.9 as expected.
>
> Thanks, Robbin
This pull request has now been integrated.
Changeset: 2537a05c
Author: Robbin Ehn <rehn at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/2537a05c06171ce91eae69d478c4e4e88a11a60f
Stats: 14 lines in 1 file changed: 13 ins; 0 del; 1 mod
8348384: RISC-V: Disable auto-enable Vector on buggy kernels
Reviewed-by: fyang, mli, luhenry
-------------
PR: https://git.openjdk.org/jdk/pull/23256
More information about the hotspot-runtime-dev
mailing list