linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/3] scsi: ufs-bsg: Add read descriptor
@ 2019-01-27  7:07 Avri Altman
  2019-01-27  7:07 ` [PATCH v4 1/3] scsi: ufs-bsg: Change the calling convention for write descriptor Avri Altman
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Avri Altman @ 2019-01-27  7:07 UTC (permalink / raw)
  To: James E.J. Bottomley, Martin K. Petersen, linux-scsi,
	linux-kernel, Evan Green
  Cc: Avi Shchislowski, Alex Lemberg, Avri Altman

UFS Protocol Information Units (UPIU) are UFS packets that travel
between the host and the device on the UniPro bus. Our previous series
added the capability to send UPIUs to the ufs driver. It does not cover
all the possible UPIU types - we are mainly focused on device management,
provisioning, testing and validation, so it covers UPIUs that falls in
that box.

Our intension is to publish ufs-utils soon - an open source user space
utility that relies on that infrastructure to perform those tasks.
This short series is adding one last functionality needed by ufs-utils
that was somehow left behind - allowing reading descriptors as well.

V3->v4:
Improve code readability in ufs-bsg: Allow reading descriptors
Update Reviewed-by tag.

V2->v3:
Add a prep patch with write descriptor calling convention changes.
Elaborate the commit log of ufs-bsg: Allow reading descriptors
Add Reviewed-by tag.

v1->v2:
Withdraw from the attempt to change the reply buffer, instead place the
descriptor being read in the actual data buffer in the bio.

Avri Altman (3):
  scsi: ufs-bsg: Change the calling convention for write descriptor
  scsi: ufs: Allow reading descriptor via raw upiu
  scsi: ufs-bsg: Allow reading descriptors

 Documentation/scsi/ufs.txt | 11 ++++++++
 drivers/scsi/ufs/ufs_bsg.c | 63 ++++++++++++++++++++++++++--------------------
 drivers/scsi/ufs/ufshcd.c  | 20 ++++++++++-----
 3 files changed, 61 insertions(+), 33 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2019-02-20  0:30 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-27  7:07 [PATCH v4 0/3] scsi: ufs-bsg: Add read descriptor Avri Altman
2019-01-27  7:07 ` [PATCH v4 1/3] scsi: ufs-bsg: Change the calling convention for write descriptor Avri Altman
2019-01-27  7:07 ` [PATCH v4 2/3] scsi: ufs: Allow reading descriptor via raw upiu Avri Altman
2019-01-31  9:22   ` [EXT] " Bean Huo (beanhuo)
2019-01-27  7:07 ` [PATCH v4 3/3] scsi: ufs-bsg: Allow reading descriptors Avri Altman
2019-01-28 18:42   ` Evan Green
2019-02-05 12:07     ` Avri Altman
2019-02-07 14:15     ` Avri Altman
2019-02-07 14:41       ` Martin K. Petersen
2019-02-19 11:44         ` Avri Altman
2019-02-20  0:30           ` Martin K. Petersen
2019-01-31 10:27   ` [EXT] " Bean Huo (beanhuo)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).