aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorJisheng Zhang <[email protected]>2021-03-30 02:16:24 +0800
committerPalmer Dabbelt <[email protected]>2021-04-15 21:32:40 -0700
commit7ae11635ec90072083503c6b6485cdffe46203b3 (patch)
treef7914021e422b50549e819decdb5992901ebe276 /scripts/gdb/linux/tasks.py
parente31be8d343e64e7ab17aef55c1d1b36dc504da67 (diff)
riscv: keep interrupts disabled for BREAKPOINT exception
Current riscv's kprobe handlers are run with both preemption and interrupt enabled, this violates kprobe requirements. Fix this issue by keeping interrupts disabled for BREAKPOINT exception. Fixes: c22b0bcb1dd0 ("riscv: Add kprobes supported") Cc: [email protected] Signed-off-by: Jisheng Zhang <[email protected]> Reviewed-by: Masami Hiramatsu <[email protected]> [Palmer: add a comment] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions