Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 84cf4451 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "defconfig: sdm845: enable CONFIG_UFS_FAULT_INJECTION"

parents 0f420b93 7bafa17e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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
+14 −0
Original line number Diff line number Diff line
@@ -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