Message ID | 20240811110104.143714-3-heinrich.schuchardt@canonical.com |
---|---|
State | Accepted |
Delegated to: | Andes |
Headers | show |
Series | riscv: show registers in crash dumps by default | expand |
On Sun, Aug 11, 2024 at 01:01:04PM +0200, Heinrich Schuchardt wrote: > [EXTERNAL MAIL] > > If an exception occurs in main U-Boot, show the registers. This makes > analyzing crashes especially in external applications easier. > > Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> > --- > arch/riscv/Kconfig | 1 + > 1 file changed, 1 insertion(+) Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 66cd512b23f..fc79d4902de 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -437,6 +437,7 @@ config AVAILABLE_HARTS If disable this, it will send IPI by CPUs node numbers of device tree. config SHOW_REGS + default y bool "Show registers on unhandled exception" help By default only the program counter and the return address register
If an exception occurs in main U-Boot, show the registers. This makes analyzing crashes especially in external applications easier. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> --- arch/riscv/Kconfig | 1 + 1 file changed, 1 insertion(+)