]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: ufs: continue to boot even with Boot LUN is disabled
authorHuanlin Ke <chgokhl@gmail.com>
Fri, 22 Sep 2017 10:31:47 +0000 (18:31 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 28 Sep 2017 01:45:46 +0000 (21:45 -0400)
commitfc0463cc2b535ec72a7067b5621d191cd3aa7f49
tree87b39fb9efe044c74644410050ff9740cb4ec576
parent7461ea45676ee20f5266deee03e9af5f7e9b61b2
scsi: ufs: continue to boot even with Boot LUN is disabled

Several configurable fields of the Device Descriptor and the Unit
Descriptors determine the Boot LUN status. The bBootEnable field and the
bBootLunEn attribute is set to zero by default, so the Boot LUN is
disabled by default.

At which point the scsi device add for Boot LUN will fail, but we can
continue to use the ufs device in fact. This failure shouldn't abort the
device boot.

Signed-off-by: Huanlin Ke <kehuanlin@pinecone.net>
Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufshcd.c