diff options
| author | Minsoo Choo <mchoo@FreeBSD.org> | 2026-09-15 01:13:31 +0000 |
|---|---|---|
| committer | Minsoo Choo <mchoo@FreeBSD.org> | 2026-09-15 14:06:40 +0000 |
| commit | 99ed9753a5c5c5262a0ed1464c701cde174b55fd (patch) | |
| tree | 2dc025c15a6a9140d4ad854817488fc34ef878a1 /libexec/rc/rc.d/bootparams | |
| parent | 4505445ccdb9555efc23262a971a18ca03486969 (diff) | |
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
