diff options
author | 2022-12-23 23:13:21 +0100 | |
---|---|---|
committer | 2022-12-29 06:59:41 -0800 | |
commit | a3775634f6da23f5511d0282d7e792cf606e5f3b (patch) | |
tree | f39dd5726d8b80a4292e5d21aa0dcb4265a04bda /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | Merge tag 'hardening-v6.2-rc1-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux (diff) | |
download | wireguard-linux-a3775634f6da23f5511d0282d7e792cf606e5f3b.tar.xz wireguard-linux-a3775634f6da23f5511d0282d7e792cf606e5f3b.zip |
RISC-V: fix funct4 definition for c.jalr in parse_asm.h
The opcode definition for c.jalr is
c.jalr c_rs1_n0 1..0=2 15..13=4 12=1 6..2=0
This means funct4 consisting of bit [15:12] is 1001b, so the value is 0x9.
Fixes: edde5584c7ab ("riscv: Add SW single-step support for KDB")
Reported-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Signed-off-by: Heiko Stuebner <heiko.stuebner@vrull.eu>
Link: https://lore.kernel.org/r/20221223221332.4127602-2-heiko@sntech.de
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions