Loading arch/arm64/configs/sdm845_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -604,6 +604,7 @@ CONFIG_DEBUG_ATOMIC_SLEEP=y CONFIG_DEBUG_LIST=y CONFIG_FAULT_INJECTION=y CONFIG_FAIL_PAGE_ALLOC=y CONFIG_UFS_FAULT_INJECTION=y CONFIG_FAULT_INJECTION_DEBUG_FS=y CONFIG_FAULT_INJECTION_STACKTRACE_FILTER=y CONFIG_IPC_LOGGING=y Loading lib/Kconfig.debug +14 −0 Original line number Diff line number Diff line Loading @@ -1724,6 +1724,20 @@ config FAIL_MMC_REQUEST and to test how the mmc host driver handles retries from the block device. config UFS_FAULT_INJECTION bool "Fault-injection capability for UFS IO" select DEBUG_FS depends on FAULT_INJECTION && SCSI_UFSHCD help Provide fault-injection capability for UFS IO. This will make the UFS host controller driver to randomly abort ongoing commands in the host controller, update OCS field according to the injected fatal error and can also forcefully hang the command indefinitely till upper layer timeout occurs. This is useful to test error handling in the UFS contoller driver and test how the driver handles the retries from block/SCSI mid layer. config FAIL_FUTEX bool "Fault-injection capability for futexes" select DEBUG_FS Loading Loading
arch/arm64/configs/sdm845_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -604,6 +604,7 @@ CONFIG_DEBUG_ATOMIC_SLEEP=y CONFIG_DEBUG_LIST=y CONFIG_FAULT_INJECTION=y CONFIG_FAIL_PAGE_ALLOC=y CONFIG_UFS_FAULT_INJECTION=y CONFIG_FAULT_INJECTION_DEBUG_FS=y CONFIG_FAULT_INJECTION_STACKTRACE_FILTER=y CONFIG_IPC_LOGGING=y Loading
lib/Kconfig.debug +14 −0 Original line number Diff line number Diff line Loading @@ -1724,6 +1724,20 @@ config FAIL_MMC_REQUEST and to test how the mmc host driver handles retries from the block device. config UFS_FAULT_INJECTION bool "Fault-injection capability for UFS IO" select DEBUG_FS depends on FAULT_INJECTION && SCSI_UFSHCD help Provide fault-injection capability for UFS IO. This will make the UFS host controller driver to randomly abort ongoing commands in the host controller, update OCS field according to the injected fatal error and can also forcefully hang the command indefinitely till upper layer timeout occurs. This is useful to test error handling in the UFS contoller driver and test how the driver handles the retries from block/SCSI mid layer. config FAIL_FUTEX bool "Fault-injection capability for futexes" select DEBUG_FS Loading