summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc
diff options
context:
space:
mode:
authorPu Lehui <pulehui@huawei.com>2025-07-19 09:17:28 +0000
committerDaniel Borkmann <daniel@iogearbox.net>2025-08-15 10:46:51 +0200
commitb18f4aae6a5db5ada5aba02b43dbdd3909e5f87c (patch)
tree453231e4a5146a2fa0b4d5484aa966d4539a0073 /scripts/lib/kdoc
parent1c0196b878a69927449d649163388ad63cafcacb (diff)
riscv, bpf: Add ex_insn_off and ex_jmp_off for exception table handling
Add ex_insn_off and ex_jmp_off fields to struct rv_jit_context so that add_exception_handler() does not need to be immediately followed by the instruction to add the exception table. ex_insn_off indicates the offset of the instruction to add the exception table, and ex_jmp_off indicates the offset to jump over the faulting instruction. This is to prepare for adding the exception table to atomic instructions later, because some atomic instructions need to perform zext or other operations. Signed-off-by: Pu Lehui <pulehui@huawei.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Tested-by: Björn Töpel <bjorn@rivosinc.com> Reviewed-by: Björn Töpel <bjorn@rivosinc.com> Acked-by: Björn Töpel <bjorn@kernel.org> Link: https://lore.kernel.org/bpf/20250719091730.2660197-9-pulehui@huaweicloud.com
Diffstat (limited to 'scripts/lib/kdoc')
0 files changed, 0 insertions, 0 deletions