[PW_SID:1117464] [v5] riscv: probes: simulate c.jal instruction#2151
[PW_SID:1117464] [v5] riscv: probes: simulate c.jal instruction#2151linux-riscv-bot wants to merge 2 commits into
Conversation
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>
|
Patch 1: "[v5] riscv: probes: simulate c.jal instruction" |
|
Patch 1: "[v5] riscv: probes: simulate c.jal instruction" |
|
Patch 1: "[v5] riscv: probes: simulate c.jal instruction" |
|
Patch 1: "[v5] riscv: probes: simulate c.jal instruction" |
|
Patch 1: "[v5] riscv: probes: simulate c.jal instruction" |
|
Patch 1: "[v5] riscv: probes: simulate c.jal instruction" |
|
Patch 1: "[v5] riscv: probes: simulate c.jal instruction" |
|
Patch 1: "[v5] riscv: probes: simulate c.jal instruction" |
|
Patch 1: "[v5] riscv: probes: simulate c.jal instruction" |
|
Patch 1: "[v5] riscv: probes: simulate c.jal instruction" |
|
Patch 1: "[v5] riscv: probes: simulate c.jal instruction" |
|
Patch 1: "[v5] riscv: probes: simulate c.jal instruction" |
4d827ba to
89be0ce
Compare
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