1
0
Fork 0
alistair23-linux/drivers/scsi/ufs
Subhash Jadavani 2a8fa60044 ufs: manually add well known logical units
UFS device specification requires the UFS devices to support 4 well known
logical units:
	"REPORT_LUNS" (address: 01h)
	"UFS Device" (address: 50h)
	"RPMB" (address: 44h)
	"BOOT" (address: 30h)

UFS device's power management needs to be controlled by "POWER CONDITION"
field of SSU (START STOP UNIT) command. But this "power condition" field
will take effect only when its sent to "UFS device" well known logical unit
hence we require the scsi_device instance to represent this logical unit in
order for the UFS host driver to send the SSU command for power management.

We also require the scsi_device instance for "RPMB" (Replay Protected
Memory Block) LU so user space process can control this LU. User space may
also want to have access to BOOT LU.

This patch adds the scsi device instances for each of all well known LUs
(except "REPORT LUNS" LU).

Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: Dolev Raviv <draviv@codeaurora.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2014-10-01 13:11:22 +02: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 ufs: Active Power Mode - configuring bActiveICCLevel 2014-10-01 13:11:21 +02:00
ufshcd-pci.c ufs: Add clock initialization support 2014-10-01 13:11:19 +02:00
ufshcd-pltfrm.c ufs: add voting support for host controller power 2014-10-01 13:11:20 +02:00
ufshcd.c ufs: manually add well known logical units 2014-10-01 13:11:22 +02:00
ufshcd.h ufs: manually add well known logical units 2014-10-01 13:11:22 +02:00
ufshci.h ufs: adjust queue settings to PRDT limitations 2014-07-25 17:17:02 -04:00
unipro.h [SCSI] ufs: configure the attribute for power mode 2013-09-06 16:08:37 -07:00