alistair23-linux/drivers/scsi/ufs
Wei Li 8e4829c6f7 scsi: ufs: Fix hynix ufs bug with quirk on hi36xx SoC
Hynix ufs has deviations on hi36xx platform which will result in ufs bursts
transfer failures.

To fix the problem, the Hynix device must set the register
VS_DebugSaveConfigTime to 0x10, which will set time reference for
SaveConfigTime is 250 ns. The time reference for SaveConfigTime is 40 ns by
default.

This patch is necessary to boot on HiKey960 boards that use Hynix UFS chips
(H28U62301AMR model: hB8aL1).

Cc: Vinayak Holikatti <vinholikatti@gmail.com>
Cc: "James E.J. Bottomley" <jejb@linux.vnet.ibm.com>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: linux-scsi@vger.kernel.org
Signed-off-by: Wei Li <liwei213@huawei.com>
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
[jstultz: Forward ported from older code, slight tweak to commit message]
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2018-11-08 21:22:52 -05:00
..
Kconfig scsi: ufs: Add a bsg endpoint that supports UPIUs 2018-10-10 23:09:46 -04:00
Makefile scsi: ufs: Add a bsg endpoint that supports UPIUs 2018-10-10 23:09:46 -04:00
tc-dwc-g210-pci.c
tc-dwc-g210-pltfrm.c
tc-dwc-g210.c
tc-dwc-g210.h
ufs-hisi.c scsi: ufs: Fix hynix ufs bug with quirk on hi36xx SoC 2018-11-08 21:22:52 -05:00
ufs-hisi.h
ufs-qcom.c USB/PHY patches for 4.20-rc1 2018-10-26 08:14:13 -07:00
ufs-qcom.h scsi/ufs: qcom: Remove ufs_qcom_phy_*() calls from host 2018-09-26 13:09:37 +05:30
ufs-sysfs.c
ufs-sysfs.h
ufs.h scsi: ufs: Add API to execute raw upiu commands 2018-10-10 23:09:46 -04:00
ufs_bsg.c scsi: ufs-bsg: Add support for uic commands in ufs_bsg_request() 2018-10-10 23:09:47 -04:00
ufs_bsg.h scsi: ufs: Add a bsg endpoint that supports UPIUs 2018-10-10 23:09:46 -04:00
ufs_quirks.h scsi: ufs: Fix hynix ufs bug with quirk on hi36xx SoC 2018-11-08 21:22:52 -05:00
ufshcd-dwc.c
ufshcd-dwc.h
ufshcd-pci.c
ufshcd-pltfrm.c
ufshcd-pltfrm.h
ufshcd.c scsi: ufs: Fix hynix ufs bug with quirk on hi36xx SoC 2018-11-08 21:22:52 -05:00
ufshcd.h scsi: ufs-bsg: Add support for uic commands in ufs_bsg_request() 2018-10-10 23:09:47 -04:00
ufshci-dwc.h
ufshci.h scsi: ufs: cleanup struct utp_task_req_desc 2018-10-10 23:09:46 -04:00
unipro.h