configs/drivers: Disable all sec_debug related stuff

This commit is contained in:
Gabriel2392 2023-07-26 13:11:54 -03:00
parent 4014f44f37
commit b31296d247
2 changed files with 71 additions and 71 deletions

View file

@ -7059,45 +7059,45 @@ CONFIG_SUPPORT_PANEL_DECODER_TEST=y
# CONFIG_SUPPORT_PANEL_VCOM_TRIM_TEST is not set
CONFIG_SEC_VIBRATOR=m
# CONFIG_SEC_VIB_NOTIFIER is not set
CONFIG_SEC_DEBUG_BASE=m
CONFIG_SEC_DEBUG_BASE_BUILT_IN=y
CONFIG_SEC_DEBUG_AUTO_COMMENT=y
CONFIG_SEC_DEBUG_MODE=m
CONFIG_SEC_DEBUG_EXTRA_INFO=m
CONFIG_SEC_DEBUG_EXTRA_INFO_BUILT_IN=y
CONFIG_SEC_DEBUG_HW_PARAM=m
CONFIG_SEC_DEBUG_RESET_REASON=m
CONFIG_SEC_DEBUG_MEMTAB=y
# CONFIG_SEC_DEBUG_BASE is not set
# CONFIG_SEC_DEBUG_BASE_BUILT_IN is not set
# CONFIG_SEC_DEBUG_AUTO_COMMENT is not set
# CONFIG_SEC_DEBUG_MODE is not set
# CONFIG_SEC_DEBUG_EXTRA_INFO is not set
# CONFIG_SEC_DEBUG_EXTRA_INFO_BUILT_IN is not set
# CONFIG_SEC_DEBUG_HW_PARAM is not set
# CONFIG_SEC_DEBUG_RESET_REASON is not set
# CONFIG_SEC_DEBUG_MEMTAB is not set
# CONFIG_SEC_DEBUG_SYSRQ_KMSG is not set
CONFIG_SEC_DEBUG_PRINT_PCLR=y
CONFIG_SEC_DEBUG_BUG_ON_SLUB_CORRUPTION=y
CONFIG_SEC_DEBUG_AVOID_UNNECESSARY_TRAP=y
CONFIG_SEC_DEBUG_WORKQUEUE_LOCKUP_PANIC=y
CONFIG_SEC_DEBUG_EXCEPTION_STACK=y
CONFIG_SEC_DEBUG_WATCHDOGD_FOOTPRINT=m
CONFIG_SEC_DEBUG_LOCKUP_INFO=y
# CONFIG_SEC_DEBUG_PRINT_PCLR is not set
# CONFIG_SEC_DEBUG_BUG_ON_SLUB_CORRUPTION is not set
# CONFIG_SEC_DEBUG_AVOID_UNNECESSARY_TRAP is not set
# CONFIG_SEC_DEBUG_WORKQUEUE_LOCKUP_PANIC is not set
# CONFIG_SEC_DEBUG_EXCEPTION_STACK is not set
# CONFIG_SEC_DEBUG_WATCHDOGD_FOOTPRINT is not set
# CONFIG_SEC_DEBUG_LOCKUP_INFO is not set
# CONFIG_SEC_DEBUG_BAD_STACK_CAREFULLY is not set
# CONFIG_SEC_DEBUG_FPSIMD_CHECK_CONTEXT is not set
CONFIG_SEC_DEBUG_UNFROZEN_TASK=y
CONFIG_SEC_DEBUG_FAULT_MSG_ADV=y
CONFIG_SEC_DEBUG_EMERG_WDT_CALLER=y
# CONFIG_SEC_DEBUG_UNFROZEN_TASK is not set
# CONFIG_SEC_DEBUG_FAULT_MSG_ADV is not set
# CONFIG_SEC_DEBUG_EMERG_WDT_CALLER is not set
# CONFIG_SEC_DEBUG_BAD_STACK_INFO is not set
CONFIG_SEC_DEBUG_DTASK=m
CONFIG_SEC_DEBUG_PM_DEVICE_INFO=y
CONFIG_SEC_DEBUG_TASK_IN_STATE_INFO=y
CONFIG_SEC_DEBUG_SOFTDOG_PWDT=m
CONFIG_SEC_DEBUG_SCHED_INFO=m
CONFIG_SEC_DEBUG_WQ_LOCKUP_INFO=m
CONFIG_SEC_DEBUG_SOFTDOG=m
CONFIG_SEC_DEBUG_QSPIN_OWNER=y
# CONFIG_SEC_DEBUG_DTASK is not set
# CONFIG_SEC_DEBUG_PM_DEVICE_INFO is not set
# CONFIG_SEC_DEBUG_TASK_IN_STATE_INFO is not set
# CONFIG_SEC_DEBUG_SOFTDOG_PWDT is not set
# CONFIG_SEC_DEBUG_SCHED_INFO is not set
# CONFIG_SEC_DEBUG_WQ_LOCKUP_INFO is not set
# CONFIG_SEC_DEBUG_SOFTDOG is not set
# CONFIG_SEC_DEBUG_QSPIN_OWNER is not set
# CONFIG_SEC_DUMP_SINK is not set
# CONFIG_SEC_DEBUG_LOGBUF_IF is not set
CONFIG_SEC_DEBUG_HANDLE_BAD_STACK=y
CONFIG_SEC_DEBUG_STACKTRACE=m
CONFIG_SEC_DEBUG_HARDLOCKUP_INFO=m
CONFIG_SEC_DEBUG_EHLD_INFO=m
CONFIG_SEC_DEBUG_COREDUMP=m
CONFIG_SEC_DEBUG_SCHED_REPORT=m
# CONFIG_SEC_DEBUG_HANDLE_BAD_STACK is not set
# CONFIG_SEC_DEBUG_STACKTRACE is not set
# CONFIG_SEC_DEBUG_HARDLOCKUP_INFO is not set
# CONFIG_SEC_DEBUG_EHLD_INFO is not set
# CONFIG_SEC_DEBUG_COREDUMP is not set
# CONFIG_SEC_DEBUG_SCHED_REPORT is not set
# CONFIG_SEC_DEBUG_DISABLE_DPRT is not set
#

View file

@ -8,14 +8,14 @@
config SEC_DEBUG_BASE
tristate "Enable Samsung debug fundamentals"
depends on SEC_DEBUG
default y
default n
help
Samsung Debug Base Driver
config SEC_DEBUG_BASE_BUILT_IN
bool "Samsung Debug Built-In Support"
depends on SEC_DEBUG
default y
default n
help
Samsung Debug Base Driver (Built-In)
@ -23,7 +23,7 @@ config SEC_DEBUG_AUTO_COMMENT
bool "Enable Samsung kernel fault auto comment"
depends on PRINTK
depends on SEC_DEBUG
default y
default n
help
This option enables kernel fault auto comment feature.
This option also requires bootloader change that enables auto comment
@ -32,7 +32,7 @@ config SEC_DEBUG_AUTO_COMMENT
config SEC_DEBUG_MODE
tristate "Enable Samsung force upload mode support"
depends on SEC_DEBUG
default m
default n
help
This option enables get force upload
This option call dbg_snapshot_scratch_clear
@ -41,7 +41,7 @@ config SEC_DEBUG_MODE
config SEC_DEBUG_EXTRA_INFO
tristate "Enable Samsung reset reason extra info"
depends on SEC_DEBUG
default m
default n
help
This option enables storing reset reason extra info
This option enables ap reset info bigdata
@ -50,7 +50,7 @@ config SEC_DEBUG_EXTRA_INFO
config SEC_DEBUG_EXTRA_INFO_BUILT_IN
bool "Enable Samsung reset reason extra info built in"
depends on SEC_DEBUG
default y
default n
help
to support extra info built in
This option enables storing reset reason extra info
@ -60,7 +60,7 @@ config SEC_DEBUG_EXTRA_INFO_BUILT_IN
config SEC_DEBUG_HW_PARAM
tristate "Enable Samsung hw parameter driver"
depends on SEC_DEBUG
default m
default n
help
This option enables storing HW parameter driver
This option gets some hardware dependent parameters
@ -69,7 +69,7 @@ config SEC_DEBUG_HW_PARAM
config SEC_DEBUG_RESET_REASON
tristate "Enable Samsung reset reason driver"
depends on SEC_DEBUG
default m
default n
help
This option enables reset reason driver
based on sec debug
@ -77,7 +77,7 @@ config SEC_DEBUG_RESET_REASON
config SEC_DEBUG_MEMTAB
bool "Enable member offset table"
depends on SEC_DEBUG
default y
default n
help
This option enables sec_debug member offset table.
The table includes information of member required. And the bootloader
@ -94,7 +94,7 @@ config SEC_DEBUG_SYSRQ_KMSG
config SEC_DEBUG_PRINT_PCLR
bool "Add PC/LR to Panic message for die()"
depends on SEC_DEBUG
default y
default n
help
This option enables PC and LR value present in panic message when the
kernel calls die(). It may be useful for upload screen and auto
@ -103,7 +103,7 @@ config SEC_DEBUG_PRINT_PCLR
config SEC_DEBUG_BUG_ON_SLUB_CORRUPTION
bool "Trigger a BUG when slub corruption is detected"
depends on SEC_DEBUG
default y
default n
help
Select this option if the kernel should BUG when it encounters
slub corruption when they get checked for validity.
@ -111,7 +111,7 @@ config SEC_DEBUG_BUG_ON_SLUB_CORRUPTION
config SEC_DEBUG_AVOID_UNNECESSARY_TRAP
bool "avoid unnecessary trap"
depends on SEC_DEBUG
default y
default n
help
This option helps to obtain normal log by avoiding unnessary trap again
after exception handling
@ -119,21 +119,21 @@ config SEC_DEBUG_AVOID_UNNECESSARY_TRAP
config SEC_DEBUG_SPINBUG_PANIC
bool "Panic on spin bug"
depends on SEC_DEBUG && DEBUG_SPINLOCK
default y
default n
help
This option enables the kernel to panic on "spin bug"
config SEC_DEBUG_WORKQUEUE_LOCKUP_PANIC
bool "Bug on workqueue lockup"
depends on SEC_DEBUG && WQ_WATCHDOG
default y
default n
help
This option enables the kernel to panic on workqueue lockup
config SEC_DEBUG_EXCEPTION_STACK
bool "Preserve stack data when the exception happened"
depends on SEC_DEBUG
default y
default n
help
If this is set, kernel can preserve the specific size of stack data
when an exception occurs from EL1. This can help to fiqure out the
@ -142,7 +142,7 @@ config SEC_DEBUG_EXCEPTION_STACK
config SEC_DEBUG_ATOMIC_SLEEP_PANIC
bool "Panic (Reboot) On Atomic Sleep"
depends on SEC_DEBUG && !SAMSUNG_PRODUCT_SHIP
default y
default n
help
Say Y here to enable the kernel to panic on "atomic sleep",
@ -151,14 +151,14 @@ config SEC_DEBUG_ATOMIC_SLEEP_PANIC
config SEC_DEBUG_WATCHDOGD_FOOTPRINT
tristate "store watchdogd footprint"
depends on SEC_DEBUG
default m
default n
help
If this config is set, store watchdogd footprint information.
config SEC_DEBUG_LOCKUP_INFO
bool "Gather softlockup/hardlockup information"
depends on SEC_DEBUG && SEC_DEBUG_HARDLOCKUP_INFO
default y
default n
help
Gather softlockup/hardlockup information for auto analysis
@ -179,21 +179,21 @@ config SEC_DEBUG_FPSIMD_CHECK_CONTEXT
config SEC_DEBUG_FAIL_TO_FREEZE_PANIC
bool "Panic on fail to freeze tasks"
depends on SEC_DEBUG && !SAMSUNG_PRODUCT_SHIP
default y
default n
help
This option enables the kernel to panic on fail to freeze tasks
config SEC_DEBUG_UNFROZEN_TASK
bool "Set unfrozen task information"
depends on SEC_DEBUG
default y
default n
help
This option enables the kernel to set unfrozen task information
config SEC_DEBUG_FAULT_MSG_ADV
bool "Print fault message for all kernel fault"
depends on SEC_DEBUG
default y
default n
help
This option enables the kernel to print fault message and print
physical fault address when synchronous external abort happen and
@ -202,7 +202,7 @@ config SEC_DEBUG_FAULT_MSG_ADV
config SEC_DEBUG_EMERG_WDT_CALLER
bool "Mark a caller for emergency watchdog caller"
depends on SEC_DEBUG
default y
default n
help
This option enables the kernel to indicate a caller of emergency
watchdog caller.
@ -218,14 +218,14 @@ config SEC_DEBUG_BAD_STACK_INFO
config SEC_DEBUG_DTASK
tristate "Support uninterruptible sleep task debugging"
depends on SEC_DEBUG
default m
default n
help
This option enables getting information of task with TASK_UNINTERRUPTIBLE.
config SEC_DEBUG_PM_DEVICE_INFO
bool "Set suspend/shutdown device informaion"
depends on SEC_DEBUG
default y
default n
help
This option enables the kernel to save a device information while the
device is suspending/shutting down.
@ -233,14 +233,14 @@ config SEC_DEBUG_PM_DEVICE_INFO
config SEC_DEBUG_TASK_IN_STATE_INFO
bool "Set task information in important system state"
depends on SEC_DEBUG
default y
default n
help
This option enables the kernel to save a task information while the
task enter in important system state.
config SEC_DEBUG_SOFTDOG_PWDT
tristate "Enable Soft Watchdog for Platform"
default m
default n
depends on WATCHDOG
select SOFT_WATCHDOG
help
@ -250,7 +250,7 @@ config SEC_DEBUG_PANIC_ON_RCU_STALL
bool "Enable panic on rcu stall"
depends on SEC_DEBUG && !SAMSUNG_PRODUCT_SHIP
depends on TREE_RCU || PREEMPT_RCU
default y
default n
help
This option enables the kernel to panic on "rcu stall"
@ -263,7 +263,7 @@ config SEC_DEBUG_SCHED_INFO
config SEC_DEBUG_WQ_LOCKUP_INFO
tristate "Enable workqueue lockup info"
default m
default n
depends on WQ_WATCHDOG
select SEC_DEBUG_SCHED_INFO
help
@ -272,7 +272,7 @@ config SEC_DEBUG_WQ_LOCKUP_INFO
config SEC_DEBUG_SOFTDOG
tristate "Enable enhanced softdog info"
default y
default n
depends on SEC_DEBUG && SOFT_WATCHDOG
select SEC_DEBUG_STACKTRACE
help
@ -282,7 +282,7 @@ config SEC_DEBUG_SOFTDOG
config SEC_DEBUG_QSPIN_OWNER
bool "Enable owner cpu number on spinlock"
depends on SEC_DEBUG && QUEUED_SPINLOCKS
default y
default n
help
This option enables spinlock owner information.
The CPU number of owner is written into lock value.
@ -304,7 +304,7 @@ config SEC_DEBUG_LOGBUF_IF
config SEC_DEBUG_HANDLE_BAD_STACK
bool "Support handle bad stack debugging"
depends on SEC_DEBUG
default y
default n
help
This option enables to stop cpu when the cpu enter
handle_bad_stack again.
@ -317,7 +317,7 @@ config SEC_DEBUG_STACKTRACE
config SEC_DEBUG_HARDLOCKUP_INFO
tristate "Enable to hardlockup info"
depends on SEC_DEBUG && DEBUG_SNAPSHOT && EXYNOS_HARDLOCKUP_WATCHDOG
default m
default n
help
This option enables hardlockup information.
Select the option to show debugging information when hardlockup is detected.
@ -325,7 +325,7 @@ config SEC_DEBUG_HARDLOCKUP_INFO
config SEC_DEBUG_EHLD_INFO
tristate "Enable to ehld info"
depends on SEC_DEBUG && DEBUG_SNAPSHOT && EXYNOS_HARDLOCKUP_WATCHDOG && EXYNOS_EHLD
default m
default n
help
This option enables ehld information.
Select the option to show debugging information when hardlockup is detected.
@ -333,7 +333,7 @@ config SEC_DEBUG_EHLD_INFO
config SEC_DEBUG_COREDUMP
tristate "Enable to include additional coredump info"
depends on SEC_DEBUG && DEBUG_SNAPSHOT && COREDUMP
default m
default n
help
This option enables addtional coredump extra notes for sec debug.
Select the option to enable to add information to coredump and you
@ -349,28 +349,28 @@ config SEC_DEBUG_WATCHPOINT
config SEC_DEBUG_OBJECTS_FREE
bool "Enable debug objects when freeing activate objects"
depends on DEBUG_OBJECTS_FREE
default y
default n
help
This option enalbles to debug when freeing activate objects.
config SEC_DEBUG_OBJECTS_FIXUP
bool "Enable debug objects fixup"
depends on DEBUG_OBJECTS_FREE
default y
default n
help
This option enalbles to debug abnormal state transition of debug_object.
config SEC_DEBUG_OBJECTS_ADDITIONAL_INFO
bool "Add caller information"
depends on DEBUG_OBJECTS_FREE
default y
default n
help
Add caller' information to debug_obj structure.
config SEC_DEBUG_SCHED_REPORT
tristate "Enable schded report for debugging"
depends on SEC_DEBUG && DEBUG_SNAPSHOT
default m
default n
help
This option enables sched report for debugging.
Select the option to show sched information when stall issue is detected.