[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] xen/riscv: dump CSRs on unexpected traps




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




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.