[PATCH v3 0/2] riscv: Dump faulting instructions in oops handler

Björn Töpel bjorn at kernel.org
Wed Jan 18 23:47:36 PST 2023


From: Björn Töpel <bjorn at rivosinc.com>

RISC-V does not dump faulting instructions in the oops handler. This
series adds "Code:" dumps to the oops output together with
scripts/decodecode support.

Thanks,
Björn

v2->v3: Simplifications/getting rid of casts (Geert)
v1->v2: Dump instructions in 16b parcels (Andreas)

Björn Töpel (2):
  riscv: Add instruction dump to RISC-V splats
  scripts/decodecode: Add support for RISC-V

 arch/riscv/kernel/traps.c | 25 ++++++++++++++++++++++++-
 scripts/decodecode        | 12 +++++++++++-
 2 files changed, 35 insertions(+), 2 deletions(-)


base-commit: 7287904c8771b77b9504f53623bb477065c19a58
-- 
2.37.2




More information about the linux-riscv mailing list