riscv: kprobes: implement the auipc instruction
authorChen Lifu <chenlifu@huawei.com>
Tue, 29 Jun 2021 02:34:54 +0000 (10:34 +0800)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Thu, 22 Jul 2021 06:22:25 +0000 (23:22 -0700)
commitb7d2be48cc08a9d42e347d944efa9f37ab9b83d2
treeb10d42195e41968eed298d2973818d1e7157347a
parente73f0f0ee7541171d89f2e2491130c7771ba58d3
riscv: kprobes: implement the auipc instruction

This has been tested by probing a module that contains an auipc
instruction.

Signed-off-by: Chen Lifu <chenlifu@huawei.com>
[Palmer: commit message]
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/kernel/probes/decode-insn.c
arch/riscv/kernel/probes/simulate-insn.c