ufs: Logical Unit (LU) command queue depth
authorDolev Raviv <draviv@codeaurora.org>
Sun, 29 Jun 2014 06:40:19 +0000 (09:40 +0300)
committerChristoph Hellwig <hch@lst.de>
Fri, 25 Jul 2014 21:17:01 +0000 (17:17 -0400)
commit1b3e89563119f1e0422230915dcaf23a262628b7
treeba0bf234fc61ca0667e65b2cba3a5d852a04c53d
parentc6d4a83177d1c45ec42d65ff48d85fb5b74cb526
ufs: Logical Unit (LU) command queue depth

Some of the UFS devices may support different number of commands
that can be queued per LU. At the current implementation,
SW configure each of the UFS devices LU's according to the
controller capability.

In this patch the queue depth available per LU is read and updated in
the LU's SW structure.

Signed-off-by: Dolev Raviv <draviv@codeaurora.org>
Signed-off-by: Raviv Shvili <rshvili@codeaurora.org>
Acked-by: Santosh Y <santoshsy@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/ufs/ufs.h
drivers/scsi/ufs/ufshcd.c