Skip to content

[PW_SID:1128604] [v2] bpf, riscv: fix missing extable entry for arena load_acquire#2298

Open
linux-riscv-bot wants to merge 2 commits into
workflow__riscv__fixesfrom
pw1128604
Open

[PW_SID:1128604] [v2] bpf, riscv: fix missing extable entry for arena load_acquire#2298
linux-riscv-bot wants to merge 2 commits into
workflow__riscv__fixesfrom
pw1128604

Conversation

@linux-riscv-bot

Copy link
Copy Markdown

PR for series 1128604 applied to workflow__riscv__fixes

Name: [v2] bpf, riscv: fix missing extable entry for arena load_acquire
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1128604
Version: 2

Linux RISC-V bot and others added 2 commits July 15, 2026 17:25
emit_atomic_ld_st() returns 1 to have build_body() skip the zext after
a sub-word load_acquire. The caller does "ret = ret ?:
add_exception_handler(...)", which skips add_exception_handler() on any
non-zero ret, so the extable entry is missing and a faulting
PROBE_ATOMIC load_acquire oopses.

Check ret >= 0 before calling add_exception_handler(), and return ret
unchanged so build_body() still skips the zext.

Fixes: fb7cefa ("riscv, bpf: Add support arena atomics for RV64")
Suggested-by: Pu Lehui <pulehui@huawei.com>
Signed-off-by: Feng Jiang <jiangfeng@kylinos.cn>
Reviewed-by: Pu Lehui <pulehui@huawei.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2] bpf, riscv: fix missing extable entry for arena load_acquire"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 120.04 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2] bpf, riscv: fix missing extable entry for arena load_acquire"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1414.47 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2] bpf, riscv: fix missing extable entry for arena load_acquire"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1724.96 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2] bpf, riscv: fix missing extable entry for arena load_acquire"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 20.82 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2] bpf, riscv: fix missing extable entry for arena load_acquire"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 22.01 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2] bpf, riscv: fix missing extable entry for arena load_acquire"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.64 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2] bpf, riscv: fix missing extable entry for arena load_acquire"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 83.28 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2] bpf, riscv: fix missing extable entry for arena load_acquire"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2] bpf, riscv: fix missing extable entry for arena load_acquire"
kdoc
Desc: Detects for kdoc errors
Duration: 0.76 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2] bpf, riscv: fix missing extable entry for arena load_acquire"
module-param
Desc: Detect module_param changes
Duration: 0.26 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2] bpf, riscv: fix missing extable entry for arena load_acquire"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.26 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2] bpf, riscv: fix missing extable entry for arena load_acquire"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.27 seconds
Result: PASS

@linux-riscv-bot
linux-riscv-bot force-pushed the workflow__riscv__fixes branch from 8ca72ef to 60e0882 Compare July 19, 2026 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants