Skip to content
Unverified Commit 58b1294d authored by Tiezhu Yang's avatar Tiezhu Yang Committed by Palmer Dabbelt
Browse files

riscv: uprobes: Restore thread.bad_cause



thread.bad_cause is saved in arch_uprobe_pre_xol(), it should be restored
in arch_uprobe_{post,abort}_xol() accordingly, otherwise the save operation
is meaningless, this change is similar with x86 and powerpc.

Signed-off-by: default avatarTiezhu Yang <yangtiezhu@loongson.cn>
Acked-by: default avatarOleg Nesterov <oleg@redhat.com>
Reviewed-by: default avatarGuo Ren <guoren@kernel.org>
Fixes: 74784081 ("riscv: Add uprobes supported")
Link: https://lore.kernel.org/r/1682214146-3756-1-git-send-email-yangtiezhu@loongson.cn


Signed-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
parent 648321fa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment