| 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_UT |
| tristate "control AED debug file" |
| help |
| MTK_AEE_UT is AEE UT control config only disabled on user load to generate |
| some vendor exception to test AEE dump flow, include in KE, HWT, HW_reboot, |
| EE, and kernelAPI exception. |