Skip to content

[PW_SID:1117464] [v5] riscv: probes: simulate c.jal instruction#2151

Closed
linux-riscv-bot wants to merge 2 commits into
workflow__riscv__fixesfrom
pw1117464
Closed

[PW_SID:1117464] [v5] riscv: probes: simulate c.jal instruction#2151
linux-riscv-bot wants to merge 2 commits into
workflow__riscv__fixesfrom
pw1117464

Conversation

@linux-riscv-bot

Copy link
Copy Markdown

PR for series 1117464 applied to workflow__riscv__fixes

Name: [v5] riscv: probes: simulate c.jal instruction
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1117464
Version: 5

Linux RISC-V bot and others added 2 commits June 25, 2026 20:36
The c.jal instruction is currently marked REJECTED in kprobes
instruction decoding, but it should be SIMULATED like other
compressed jump instructions.

Add simulate_c_jal() which saves the return address to RA and
sets the program counter to the target offset, reusing
simulate_c_j for the common jump logic.

Since c.jal is RV32-only, guard the implementation with

Signed-off-by: Xiaofeng Yuan <xiaofengmian@163.com>
#if __riscv_xlen == 32.
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v5] riscv: probes: simulate c.jal instruction"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 142.64 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v5] riscv: probes: simulate c.jal instruction"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1430.03 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v5] riscv: probes: simulate c.jal instruction"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1733.78 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v5] riscv: probes: simulate c.jal instruction"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 28.69 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v5] riscv: probes: simulate c.jal instruction"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 30.10 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v5] riscv: probes: simulate c.jal instruction"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 1.40 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v5] riscv: probes: simulate c.jal instruction"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 87.63 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v5] riscv: probes: simulate c.jal instruction"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.42 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v5] riscv: probes: simulate c.jal instruction"
kdoc
Desc: Detects for kdoc errors
Duration: 1.07 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v5] riscv: probes: simulate c.jal instruction"
module-param
Desc: Detect module_param changes
Duration: 0.59 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v5] riscv: probes: simulate c.jal instruction"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.44 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v5] riscv: probes: simulate c.jal instruction"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.49 seconds
Result: PASS

@linux-riscv-bot
linux-riscv-bot force-pushed the workflow__riscv__fixes branch from 4d827ba to 89be0ce Compare July 1, 2026 03:48
@linux-riscv-bot
linux-riscv-bot deleted the pw1117464 branch July 5, 2026 01:22
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