[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200110183606.10102-1-huobean@gmail.com>
Date: Fri, 10 Jan 2020 19:36:03 +0100
From: Bean Huo <huobean@...il.com>
To: alim.akhtar@...sung.com, avri.altman@....com,
pedrom.sousa@...opsys.com, jejb@...ux.ibm.com,
martin.petersen@...cle.com, stanley.chu@...iatek.com,
beanhuo@...ron.com, bvanassche@....org, tomas.winkler@...el.com,
cang@...eaurora.org
Cc: linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
Bean Huo <huobean@...il.com>
Subject: [PATCH v1 0/3] use UFS device indicated maximum LU number
According to Jedec standard UFS 3.0 and UFS 2.1 Spec, Maximum
number of logical units supported by the UFS device is specified
by parameter bMaxNumberLU in Geometry Descriptor. This series
of patches is to delete macro definition UFS_UPIU_MAX_GENERAL_LUN,
and switch to use indicated value in descriptor instead.
Bean Huo (3):
scsi: ufs: add max_lu_supported in struct ufs_dev_info
scsi: ufs: initialize max_lu_supported while booting
scsi: ufs: use UFS device indicated maximum LU number
drivers/scsi/ufs/ufs-sysfs.c | 2 +-
drivers/scsi/ufs/ufs.h | 14 +++++++---
drivers/scsi/ufs/ufshcd.c | 51 +++++++++++++++++++++++++++++++++---
3 files changed, 60 insertions(+), 7 deletions(-)
--
2.17.1
Powered by blists - more mailing lists