If unsure, say N.
+config SCSI_UFS_CMD_LOGGING
+ tristate "UFS cmd loggging support"
+ depends on SCSI_UFSHCD && SCSI_UFSHCD_PLATFORM
+ ---help---
+ This feature is to support UFS cmd logging.
+ When UFS cmd transferred to UFS HCI
+ various data logs for debugging purpose.
+
+ If you want to enable this feature, say Y or M here.
+
+ If unsure, say N.
+
config SCSI_UFS_QCOM
tristate "QCOM specific hooks to UFS controller platform driver"
depends on SCSI_UFSHCD_PLATFORM && ARCH_QCOM
spin_lock_irqsave(hba->host->host_lock, flags);
if (hba->vops && hba->vops->set_nexus_t_xfer_req)
hba->vops->set_nexus_t_xfer_req(hba, tag, lrbp->cmd);
+#ifdef CONFIG_SCSI_UFS_CMD_LOGGING
+ exynos_ufs_cmd_log_start(hba, cmd);
+#endif
ufshcd_send_command(hba, tag);
if (hba->monitor.flag & UFSHCD_MONITOR_LEVEL1)
clear_bit_unlock(index, &hba->lrb_in_use);
/* Do not touch lrbp after scsi done */
cmd->scsi_done(cmd);
+#ifdef CONFIG_SCSI_UFS_CMD_LOGGING
+ exynos_ufs_cmd_log_end(hba, index);
+#endif
__ufshcd_release(hba);
if (hba->monitor.flag & UFSHCD_MONITOR_LEVEL1)
dev_info(hba->dev, "Transfer Done(%d)\n",