OrangePi_CM5/drivers/scsi/ufs
Bart Van Assche d0331b15e6 ANDROID: scsi: ufs: Add more logging
The logs attached to bug 196797012 show that the error handler has been
activated and also that a SECURITY PROTOCOL OUT command is being
retried but not why. Hence this patch that adds more logging.

Notes:
- The code that initializes the completion status to
  OCS_INVALID_COMMAND_STATUS was introduced by the initial UFS commit.
  See also 7a3e97b0dc ("[SCSI] ufshcd: UFS Host controller driver").
- The behavior to retry a command if the controller did not overwrite
  the completion status was introduced by commit e8e7f27139 ("scsi:
  ufs: Improve UFS fatal error handling") without explaining why. From
  that commit:

  +       case OCS_INVALID_COMMAND_STATUS:
  +               result |= DID_REQUEUE << 16;
  +               break;

Bug: 196797012
Change-Id: I86ce4149babde1daf07af94464b878e9e697b37b
Signed-off-by: Bart Van Assche <bvanassche@google.com>
2021-08-17 10:35:48 -07:00
..
Kconfig FROMLIST: scsi: ufs: Introduce HPB feature 2021-07-01 22:31:55 -07:00
Makefile FROMLIST: scsi: ufs: Introduce HPB feature 2021-07-01 22:31:55 -07:00
cdns-pltfrm.c
…
tc-dwc-g210-pci.c
…
tc-dwc-g210-pltfrm.c
…
tc-dwc-g210.c
…
tc-dwc-g210.h
…
ti-j721e-ufs.c
…
ufs-debugfs.c FROMGIT: scsi: ufs: ufs-debugfs: Add error counters 2021-04-09 15:36:02 -07:00
ufs-debugfs.h FROMGIT: scsi: ufs: ufs-debugfs: Add error counters 2021-04-09 15:36:02 -07:00
ufs-exynos.c Merge 5.10.23 into android12-5.10 2021-03-11 19:36:03 +01:00
ufs-exynos.h
…
ufs-hisi.c scsi: ufs: handle cleanup correctly on devm_reset_control_get error 2021-05-26 12:06:56 +02:00
ufs-hisi.h
…
ufs-mediatek-trace.h UPSTREAM: scsi: ufs-mediatek: Use correct path to fix compile error 2021-06-04 11:15:18 -07:00
ufs-mediatek.c FROMGIT: scsi: ufs: ufs-mediatek: Add missing of_node_put() in ufs_mtk_probe() 2021-06-22 16:26:59 +08:00
ufs-mediatek.h UPSTREAM: scsi: ufs-mediatek: Keep VCC always-on for specific devices 2021-06-04 11:15:18 -07:00
ufs-qcom-ice.c
…
ufs-qcom.c FROMGIT: scsi: ufs: qcom: Use ufshci_version() function 2021-06-17 14:39:36 -07:00
ufs-qcom.h
…
ufs-sysfs.c FROMLIST: scsi: ufs: Add HPB 2.0 support 2021-07-01 22:31:56 -07:00
ufs-sysfs.h
…
ufs.h ANDROID: add kabi padding for structures for the android12 release 2021-07-14 20:51:51 -07:00
ufs_bsg.c
…
ufs_bsg.h
…
ufs_quirks.h
…
ufshcd-crypto.c ANDROID: scsi: ufs: add vendor hook to override key reprogramming 2021-07-28 15:32:51 +00:00
ufshcd-crypto.h
…
ufshcd-dwc.c
…
ufshcd-dwc.h
…
ufshcd-pci.c
…
ufshcd-pltfrm.c Merge 5.10.37 into android12-5.10 2021-05-15 09:28:55 +02:00
ufshcd-pltfrm.h
…
ufshcd.c ANDROID: scsi: ufs: Add more logging 2021-08-17 10:35:48 -07:00
ufshcd.h ANDROID: scsi: ufs: Make CONFIG_SCSI_UFS_HPB compatible with the GKI 2021-08-11 09:43:55 -07:00
ufshci-dwc.h
…
ufshci.h Revert "Revert "FROMGIT: scsi: ufs: Utilize Transfer Request List Completion Notification Register"" 2021-07-02 03:26:35 +00:00
ufshpb.c ANDROID: scsi: ufs: Make CONFIG_SCSI_UFS_HPB compatible with the GKI 2021-08-11 09:43:55 -07:00
ufshpb.h FROMLIST: scsi: ufs: Make HCM parameter configurable 2021-07-01 22:32:00 -07:00
unipro.h UPSTREAM: scsi: ufs: Add enums for UniPro version higher than 1.6 2021-05-13 16:10:29 +00:00