Linux SCSI subsystem development
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Modularize ufs-bsg
@ 2019-12-14 13:03 Can Guo
  2019-12-14 13:03 ` [PATCH 1/2] scsi: ufs: Put SCSI host after remove it Can Guo
  2019-12-14 13:03 ` [PATCH 2/2] scsi: ufs: Modularize ufs-bsg Can Guo
  0 siblings, 2 replies; 18+ messages in thread
From: Can Guo @ 2019-12-14 13:03 UTC (permalink / raw)
  To: asutoshd, nguyenb, rnayak, linux-scsi, kernel-team, saravanak,
	salyzyn, cang

In order to improve the flexibility of ufs-bsg, modularizing it is a good
choice. Introduce tri-state to ufs-bsg to allow users compile it as an
external module.

Changes since v2:
- Incoperate comments from Avri Altman, Bjorn Andersson and Bart Van Assche.
- Updated the main change to use platform_device_register_data() to create
  a platform device ufs-bsg in ufshcd_platform_init(). Also added the ufs-bsg
  platform driver. In the driver probe routine, create the ufs-bsg char dev
  under /dev/bsg/, the ufs-bsg platform device is the parent of the created
  ufs-bsg char dev.
- Modified commit message.
- Removed defconfig change.

Changes since v1:
- Included one more defconfig change.

Can Guo (2):
  scsi: ufs: Put SCSI host after remove it
  scsi: ufs: Modularize ufs-bsg

 drivers/scsi/ufs/Kconfig         |  2 +-
 drivers/scsi/ufs/Makefile        |  2 +-
 drivers/scsi/ufs/ufs_bsg.c       | 67 +++++++++++++++++++++-------------------
 drivers/scsi/ufs/ufs_bsg.h       |  8 -----
 drivers/scsi/ufs/ufshcd-pltfrm.c | 12 +++++++
 drivers/scsi/ufs/ufshcd.c        |  8 ++---
 drivers/scsi/ufs/ufshcd.h        |  2 +-
 7 files changed, 55 insertions(+), 46 deletions(-)

-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

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

end of thread, other threads:[~2019-12-17  1:31 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-14 13:03 [PATCH v3 0/2] Modularize ufs-bsg Can Guo
2019-12-14 13:03 ` [PATCH 1/2] scsi: ufs: Put SCSI host after remove it Can Guo
2019-12-14 18:32   ` Bart Van Assche
2019-12-14 22:24     ` cang
2019-12-15 21:55       ` Bart Van Assche
2019-12-16  1:34         ` cang
2019-12-16  2:39           ` Bart Van Assche
2019-12-16  3:12             ` cang
2019-12-16  5:46               ` cang
2019-12-16 17:44               ` Bart Van Assche
2019-12-16 14:31     ` cang
2019-12-16 17:39       ` Bart Van Assche
2019-12-17  0:46         ` cang
2019-12-17  1:15           ` Bart Van Assche
2019-12-17  1:31             ` cang
2019-12-16 18:05       ` Greg KH
2019-12-17  0:50         ` cang
2019-12-14 13:03 ` [PATCH 2/2] scsi: ufs: Modularize ufs-bsg Can Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox