On 1/15/26 2:12 PM, Jan Beulich wrote:
static void do_unexpected_trap(const struct cpu_user_regs *regs) { unsigned long cause = csr_read(CSR_SCAUSE);printk("Unhandled exception: %s\n", decode_cause(cause)); + dump_csrs(cause);+ die(); }Apart from CSRs, how about also dumping GPRs?
Just to double-check, do you mean GPRs which are stired in regs argument of do_unexpected_trap? ~ Oleksii
