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>
This commit is contained in:
Chen Lifu 2021-06-29 10:34:54 +08:00 • committed by Palmer Dabbelt
commit b7d2be48cc
No known key found for this signature in database
GPG key ID: 2E1319F35FBB1889
2 changed files with 35 additions and 1 deletions