linux/drivers/scsi/ufs
Bean Huo 44b5de3635 scsi: ufs: core: Capture command trace only for the cmd != NULL case
For the query request, we already have query_trace, but in
ufshcd_send_command(), there will add two more redundant traces. Since
lrbp->cmd is NULL in the query request, the two trace events below provide
nothing except the tag and DB. Instead of letting them take up the limited
trace ring buffer, it’s better not to print these traces in case of cmd ==
NULL.

ufshcd_command: send_req: ff3b0000.ufs: tag: 28, DB: 0x0, size: -1, IS: 0, LBA: 18446744073709551615, opcode: 0x0 (0x0), group_id: 0x0
ufshcd_command: dev_complete: ff3b0000.ufs: tag: 28, DB: 0x0, size: -1, IS: 0, LBA: 18446744073709551615, opcode: 0x0 (0x0), group_id: 0x0

Link: https://lore.kernel.org/r/20210531104308.391842-4-huobean@gmail.com
Reviewed-by: Can Guo <cang@codeaurora.org>
Signed-off-by: Bean Huo <beanhuo@micron.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2021-06-07 22:35:58 -04:00
..
cdns-pltfrm.c scsi: ufs: core: Enable power management for wlun 2021-05-10 22:28:20 -04:00
Kconfig Merge branch '5.11/scsi-fixes' into 5.12/scsi-queue 2021-01-26 21:52:58 -05:00
Makefile scsi: ufs: ufs-debugfs: Add error counters 2021-01-12 22:14:06 -05:00
tc-dwc-g210-pci.c scsi: ufs: core: Enable power management for wlun 2021-05-10 22:28:20 -04:00
tc-dwc-g210-pltfrm.c
tc-dwc-g210.c
tc-dwc-g210.h
ti-j721e-ufs.c
ufs_bsg.c scsi: ufs: core: Enable power management for wlun 2021-05-10 22:28:20 -04:00
ufs_bsg.h
ufs_quirks.h
ufs-debugfs.c scsi: ufs: core: Enable power management for wlun 2021-05-10 22:28:20 -04:00
ufs-debugfs.h scsi: ufs: core: Enable power management for wlun 2021-05-10 22:28:20 -04:00
ufs-exynos.c scsi: ufs: ufs-exynos: Make a const array static, makes object smaller 2021-05-21 22:50:22 -04:00
ufs-exynos.h scsi: ufs: ufs-exynos: Move definitions from .h to .c 2021-05-21 16:07:23 -04:00
ufs-hisi.c scsi: ufs: core: Remove usfhcd_is_*_pm() macros 2021-05-15 17:11:15 -04:00
ufs-hisi.h
ufs-mediatek-trace.h
ufs-mediatek.c scsi: ufs: ufs-mediatek: Disable HCI before HW reset 2021-06-02 00:56:14 -04:00
ufs-mediatek.h
ufs-qcom-ice.c
ufs-qcom.c scsi: ufs: core: Enable power management for wlun 2021-05-10 22:28:20 -04:00
ufs-qcom.h
ufs-sysfs.c scsi: ufs: core: Remove redundant parenthesis 2021-05-15 17:14:28 -04:00
ufs-sysfs.h
ufs.h scsi: ufs: Add exception event definitions 2021-03-04 17:36:58 -05:00
ufshcd-crypto.c SCSI misc on 20210219 2021-02-22 10:24:58 -08:00
ufshcd-crypto.h scsi: ufs: use devm_blk_ksm_init() 2021-02-01 12:01:56 +01:00
ufshcd-dwc.c
ufshcd-dwc.h
ufshcd-pci.c scsi: ufs: core: Enable power management for wlun 2021-05-10 22:28:20 -04:00
ufshcd-pltfrm.c scsi: ufs: ufshcd-pltfrm: Fix deferred probing 2021-04-13 00:14:34 -04:00
ufshcd-pltfrm.h
ufshcd.c scsi: ufs: core: Capture command trace only for the cmd != NULL case 2021-06-07 22:35:58 -04:00
ufshcd.h scsi: ufs: Utilize Transfer Request List Completion Notification Register 2021-06-07 22:18:03 -04:00
ufshci-dwc.h
ufshci.h scsi: ufs: Utilize Transfer Request List Completion Notification Register 2021-06-07 22:18:03 -04:00
unipro.h