All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/3] scsi: ufs: pass device information to apply_dev_quirks
@ 2020-01-05  4:55 ` Stanley Chu
  0 siblings, 0 replies; 24+ messages in thread
From: Stanley Chu @ 2020-01-05  4:55 UTC (permalink / raw)
  To: linux-scsi, martin.petersen, avri.altman, alim.akhtar, jejb
  Cc: beanhuo, asutoshd, cang, matthias.bgg, bvanassche,
	linux-mediatek, linux-arm-kernel, linux-kernel, kuohong.wang,
	peter.wang, chun-hung.wu, andy.teng, Stanley Chu

Currently UFS driver has "global" device quirk scheme to allow driver applying
special handling for certain UFS devive models.

However some special device handlings are required for specific UFS hosts only
so it is better to make it happen in vendor's callbacks only to not "pollute"
common driver and common device quirks.

We already have apply_dev_quirks variant callback for vendors but lack of device
information for handling specific UFS device models. This series provides such
information to apply_dev_quirks callbacks, and applies related modifications.

Stanley Chu (3):
  scsi: ufs: pass device information to apply_dev_quirks
  scsi: ufs-qcom: modify apply_dev_quirks interface
  scsi: ufs-mediatek: add apply_dev_quirks variant operation

 drivers/scsi/ufs/ufs-mediatek.c | 11 +++++++++++
 drivers/scsi/ufs/ufs-qcom.c     |  3 ++-
 drivers/scsi/ufs/ufshcd.c       |  5 +++--
 drivers/scsi/ufs/ufshcd.h       |  7 ++++---
 4 files changed, 20 insertions(+), 6 deletions(-)

-- 
2.18.0

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

end of thread, other threads:[~2020-01-06  0:27 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-05  4:55 [PATCH v1 0/3] scsi: ufs: pass device information to apply_dev_quirks Stanley Chu
2020-01-05  4:55 ` Stanley Chu
2020-01-05  4:55 ` Stanley Chu
2020-01-05  4:55 ` [PATCH v1 1/3] " Stanley Chu
2020-01-05  4:55   ` Stanley Chu
2020-01-05  4:55   ` Stanley Chu
2020-01-05  4:55 ` [PATCH v1 2/3] scsi: ufs-qcom: modify apply_dev_quirks interface Stanley Chu
2020-01-05  4:55   ` Stanley Chu
2020-01-05  4:55   ` Stanley Chu
2020-01-05  4:55 ` [PATCH v1 3/3] scsi: ufs-mediatek: add apply_dev_quirks variant operation Stanley Chu
2020-01-05  4:55   ` Stanley Chu
2020-01-05  4:55   ` Stanley Chu
2020-01-05  5:51 ` [PATCH v1 0/3] scsi: ufs: pass device information to apply_dev_quirks Avri Altman
2020-01-05  5:51   ` Avri Altman
2020-01-05  5:51   ` Avri Altman
2020-01-05 13:10   ` Stanley Chu
2020-01-05 13:10     ` Stanley Chu
2020-01-05 13:10     ` Stanley Chu
2020-01-05 16:40     ` Avri Altman
2020-01-05 16:40       ` Avri Altman
2020-01-05 16:40       ` Avri Altman
2020-01-06  0:26       ` Stanley Chu
2020-01-06  0:26         ` Stanley Chu
2020-01-06  0:26         ` Stanley Chu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.