1
0
Fork 0
alistair23-linux/drivers/scsi/ufs
Sujit Reddy Thumma 5a0b0cb9be [SCSI] ufs: Add support for sending NOP OUT UPIU
As part of device initialization sequence, sending NOP OUT UPIU and
waiting for NOP IN UPIU response is mandatory. This confirms that the
device UFS Transport (UTP) layer is functional and the host can configure
the device with further commands. Add support for sending NOP OUT UPIU to
check the device connection path and test whether the UTP layer on the
device side is functional during initialization.

A tag is acquired from the SCSI tag map space in order to send the device
management command. When the tag is acquired by internal command the scsi
command is rejected with host busy flag in order to requeue the request.
To avoid frequent collisions between internal commands and scsi commands
the device management command tag is allocated in the opposite direction
w.r.t block layer tag allocation.

Signed-off-by: Sujit Reddy Thumma <sthumma@codeaurora.org>
Signed-off-by: Dolev Raviv <draviv@codeaurora.org>
Signed-off-by: Santosh Y <santoshsy@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-08-26 12:50:39 +04:00
..
Kconfig [SCSI] ufs: SCSI_UFSHCD should depend on SCSI_DMA 2013-06-04 11:16:20 -07:00
Makefile [SCSI] ufs: Add Platform glue driver for ufshcd 2013-05-02 16:16:50 -07:00
ufs.h [SCSI] ufs: Add support for sending NOP OUT UPIU 2013-08-26 12:50:39 +04:00
ufshcd-pci.c [SCSI] ufs: use devres functions for ufshcd 2013-06-28 13:11:28 -07:00
ufshcd-pltfrm.c [SCSI] ufshcd-pltfrm: remove unnecessary dma_set_coherent_mask() call 2013-06-28 13:17:35 -07:00
ufshcd.c [SCSI] ufs: Add support for sending NOP OUT UPIU 2013-08-26 12:50:39 +04:00
ufshcd.h [SCSI] ufs: Add support for sending NOP OUT UPIU 2013-08-26 12:50:39 +04:00
ufshci.h [SCSI] ufs: amend interrupt configuration 2013-06-28 13:02:41 -07:00