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

Björn Töpel posted 2 patches 2 years, 7 months ago
arch/riscv/kernel/traps.c | 25 ++++++++++++++++++++++++-
scripts/decodecode        | 12 +++++++++++-
2 files changed, 35 insertions(+), 2 deletions(-)
[PATCH v3 0/2] riscv: Dump faulting instructions in oops handler
Posted by Björn Töpel 2 years, 7 months ago
From: Björn Töpel <bjorn@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