aboutsummaryrefslogtreecommitdiff
path: root/libexec/rc/rc.d/bootparams
diff options
context:
space:
mode:
authorMinsoo Choo <mchoo@FreeBSD.org>2026-09-15 01:13:31 +0000
committerMinsoo Choo <mchoo@FreeBSD.org>2026-09-15 14:06:40 +0000
commit99ed9753a5c5c5262a0ed1464c701cde174b55fd (patch)
tree2dc025c15a6a9140d4ad854817488fc34ef878a1 /libexec/rc/rc.d/bootparams
parent4505445ccdb9555efc23262a971a18ca03486969 (diff)
riscv: Preserve savectx return address with vector supportHEADmain
Calling vector_state_store_savectx() overwrites ra with the address of the following ret instruction. The ret consequently branches to itself and prevents kernel dumps from progressing past dump_savectx(). Tail-call vector_state_store_savectx() so that it returns directly to the original savectx() caller. Reviewed by: br, jrtc27 Approved by: jrtc27 Fixes: d7a393095cfd ("riscv: Vector Extension (RVV) support.") Sponsored by: FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D59689
Diffstat (limited to 'libexec/rc/rc.d/bootparams')
0 files changed, 0 insertions, 0 deletions