mbox series

[v2,0/2] riscv: Dump faulting instructions in oops handler

Message ID 20230116073834.333129-1-bjorn@kernel.org (mailing list archive)
Headers show
Series riscv: Dump faulting instructions in oops handler | expand

Message

Björn Töpel Jan. 16, 2023, 7:38 a.m. UTC
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

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: 5dc4c995db9eb45f6373a956eb1f69460e69e6d4