xref: /OK3568_Linux_fs/kernel/drivers/soc/rockchip/minidump/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1# SPDX-License-Identifier: GPL-2.0-only
2
3menu "Rockchip Minidump drivers"
4
5config ROCKCHIP_MINIDUMP
6	tristate "Rockchip Minidump Support"
7	depends on ARM64
8	help
9	  This enables minidump feature. It allows various clients to
10	  register to dump their state at system bad state (panic/WDT,etc.,).
11	  Minidump would dump all registered entries, only when DLOAD mode
12	  is enabled.
13
14config ROCKCHIP_MINIDUMP_MAX_ENTRIES
15	int "Minidump Maximum num of entries"
16	default 128
17	depends on ROCKCHIP_MINIDUMP
18	help
19	  This defines maximum number of entries to be allocated for application
20	  subsystem in Minidump table.
21
22config ROCKCHIP_MINIDUMP_PANIC_DUMP
23	bool "Rockchip Minidump Panic Dump"
24	depends on ROCKCHIP_MINIDUMP
25	select ROCKCHIP_MINIDUMP_PANIC_CPU_CONTEXT
26	help
27	  This enables panic dump.
28
29config ROCKCHIP_DYN_MINIDUMP_STACK
30	bool "Rockchip Minidump Stack Dump"
31	depends on ROCKCHIP_MINIDUMP
32	help
33	  This enables stack dump.
34
35config ROCKCHIP_MINIDUMP_PANIC_CPU_CONTEXT
36	bool "Rockchip Minidump Cpu Context Dump"
37	depends on ROCKCHIP_MINIDUMP_PANIC_DUMP
38	help
39	  This enables cpu context dump.
40endmenu
41