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

From: Björn Töpel
Date: Fri Jan 20 2023 - 00:07:05 EST


From: Björn Töpel <bjorn@xxxxxxxxxxxx>

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