scsi: ufs: Add configuration option for UFS debug support

Add CONFIG_UFS_DBG option to support UFS debug features.

Change-Id: I98fb46223b74da587f265d96abd51526f0b488fd
Signed-off-by: Bao D. Nguyen <quic_nguyenb@quicinc.com>
Signed-off-by: Can Guo <quic_cang@quicinc.com>
This commit is contained in:
Bao D. Nguyen 2022-04-20 00:02:11 -07:00 committed by Can Guo
parent 61003ac51b
commit c905f4e5f4

View File

@ -52,6 +52,17 @@ config SCSI_UFSHCD
if SCSI_UFSHCD
config UFS_DBG
bool "Universal Flash Storage Debug Mode"
depends on SCSI_UFSHCD
help
This selects the debug mode for ufs vendor driver.
Enables tracing for QTI ufs driver.
This also enables ftrace for ufs core and SCSI.
Enabling this would have an adverse performance impact on disk IO.
If unsure, say N.
config SCSI_UFSHCD_PCI
tristate "PCI bus based UFS Controller support"
depends on PCI