config MTK_AEE_FEATURE
	tristate "Enable Android Exception Enhancement"
	select FIQ_GLUE if !TRUSTONIC_TEE_SUPPORT && !ARM_PSCI && !TRUSTY
	select FTRACE
	help
	  AEE (Android Exception Engine) that designed by  Mediatek is an
	  exception catching and debugging information generation mechanism.
	  It can collect and dump information to filesystem
	  (/sdcard/mtklog/aee_exp)  when exceptions occur(E.g. kernel
	  panic/android system server crash and ..)

config MTK_AEE_AED
	tristate "Enable AEE Kernel Exception Report Daemon"
	depends on MTK_AEE_FEATURE
	help
	  MTK_AEE_AED is the kernel config of aed, which is the base support for
	  aee features. Such as:
	  aed debug: some test case for aee driver itself
	  aed main: aed main function and ioctl for user space aee
	  monitor hang: detect hang feature...

config MTK_AEE_IPANIC
	tristate "Enable AEE Kernel Panic Dump"
	depends on MTK_AEE_FEATURE
	help
	  MTK_AEE_IPANIC is the kernel config of ipanic feature designed by
	  MTK, which is the enhancement of kernel defaut panic flow, and
	  combined with aee. It will do some hook function and get some
	  kernel panic information for debug.

config MTK_AEE_HANGDET
	tristate "Enable AEE Kernel Hang Detector"
	depends on MTK_AEE_FEATURE
	help
	  MTK_AEE_HANGDET is the kernel config of hang detector feature
	  designed by MTK, which is the mechanism to check if each cpu
	  is alived. When cpu hang is detected, raise excetpion.
	  Avoid system_server is blocked.

config MTK_AVOID_TRUNCATE_COREDUMP
	tristate "Enable AEE coredump and signal enhance patch"
	help
	  MTK_AVOID_TRUNCATE_COREDUMP is the kernel config, avoid truncating
	  coredump after receiving signal 9. And ensure coredump file is complete
	  when occurring suspend issue. Beyond that, it will avoid task race condition
	  issue after NE task early exit, which will cause aed KE issue.

config MTK_PANIC_ON_WARN
	tristate "Enable warning as panic"
	help
	  MTK_PANIC_ON_WARN is the kernel config of warning as panic.
	  help us catch more exception.

config MTK_AEE_HWT_BACKTO_KERNEL
	tristate "HWT flow back to kernel"
	depends on MTK_AEE_FEATURE
	help
	  MTK_AEE_HWT_BACKTO_KERNEL is the kernel config of designed by
	  MTK, which controls the HWT design:
	  when enable it, then when HWT in atf fiq handler, will call back
	  to kernel to unwind kernel trace.

config MTK_AEE_HWT_BACKTO_KERNEL_V2
	tristate "HWT flow back to kernel V2"
	depends on MTK_AEE_FEATURE
	help
	  MTK_AEE_HWT_BACKTO_KERNEL_V2 is the kernel config of designed by
	  MTK, which controls the HWT design:
	  when enable it, then when HWT in atf fiq handler, will call back
	  to kernel to unwind kernel trace.
	  V2 only have 1 core back to kernel.

config MTK_MBOOT_PARAMS_ADDR
	hex "MTK MBOOT_PARAMS dram address"
	default 0
	help
	  DRAM mboot_paras allocate address.

config MTK_MBOOT_PARAMS_SIZE
	hex "MTK MBOOT_PARAMS dram size"
	default 0
	help
	  DRAM mboot_paras allocate size.

config MTK_MINIDUMP_ADDR
	hex "MTK minidump dram address"
	default 0
	help
	  DRAM mboot_paras allocate address.

config MTK_MINIDUMP_SIZE
	hex "MTK minidump dram size"
	default 0
	help
	  DRAM mboot_paras allocate size.

config MTK_AEE_UT
	tristate "control AED debug file"
	help
	  MTK_AEE_UT is the kernel config of aed-debug.c
	  aed-debug.c is AEE UT test case file, just for generate some vendor
	  exception to test AEE dump flow, include in KE, HWT, HW_reboot, EE,
	  and kernelAPI exception
