[PATCH] riscv, kprobes: Stricter c.jr/c.jalr decoding
Palmer Dabbelt
palmer at rivosinc.com
Thu Jan 5 14:52:25 PST 2023
On Mon, 2 Jan 2023 17:07:48 +0100, Björn Töpel wrote:
> From: Björn Töpel <bjorn at rivosinc.com>
>
> In the compressed instruction extension, c.jr, c.jalr, c.mv, and c.add
> is encoded the following way (each instruction is 16b):
>
> ---+-+-----------+-----------+--
> 100 0 rs1[4:0]!=0 00000 10 : c.jr
> 100 1 rs1[4:0]!=0 00000 10 : c.jalr
> 100 0 rd[4:0]!=0 rs2[4:0]!=0 10 : c.mv
> 100 1 rd[4:0]!=0 rs2[4:0]!=0 10 : c.add
>
> [...]
Applied, thanks!
[1/1] riscv, kprobes: Stricter c.jr/c.jalr decoding
https://git.kernel.org/palmer/c/b2d473a6019e
Best regards,
--
Palmer Dabbelt <palmer at rivosinc.com>
More information about the linux-riscv
mailing list