aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorAndy Chiu <[email protected]>2023-06-25 15:54:15 +0000
committerPalmer Dabbelt <[email protected]>2023-07-01 07:38:20 -0700
commit26c38cd802c947401cfbcc285b7d841256b5f17f (patch)
treee3a94ae97aeb13645ec11edce28b36e45453e831 /scripts/generate_rust_analyzer.py
parent782aefb177e8932c558ae55f64206ded7fe1292f (diff)
riscv: vector: only enable interrupts in the first-use trap
The function irqentry_exit_to_user_mode() must be called with interrupt disabled. The caller of do_trap_insn_illegal() also assumes running without interrupts. So, we should turn off interrupts after riscv_v_first_use_handler() returns. Fixes: cd054837243b ("riscv: Allocate user's vector context in the first-use trap") Signed-off-by: Andy Chiu <[email protected]> Reviewed-by: Björn Töpel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions