All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH v2 0/2] UFS Multi-Circular Queue (MCQ)
@ 2022-08-11 10:33 Can Guo
  2022-08-11 10:33 ` [RFC PATCH v2 1/2] scsi: ufs: Add Multi-Circular Queue support Can Guo
  2022-08-11 10:33 ` [RFC PATCH v2 2/2] scsi: ufs-qcom: Add MCQ support Can Guo
  0 siblings, 2 replies; 12+ messages in thread
From: Can Guo @ 2022-08-11 10:33 UTC (permalink / raw)
  To: quic_asutoshd, quic_nguyenb, quic_xiaosenh, stanley.chu,
	adrian.hunter, bvanassche, beanhuo, avri.altman, mani, linux-scsi,
	kernel-team, quic_cang

UFS Multi-Circular Queue (MCQ) has been added in UFSHCI v4.0 to improve storage performance.
This patch series is a RFC implementation of this.

This is the initial driver implementation and it has been verified by booting on an emulation
platform. During testing, all low power modes were disabled and it was in HS-G1 mode.

Please take a look and let us know your thoughts.

v1 -> v2:
- Enabled host_tagset
- Added queue num configuration support
- Added one more vops to allow vendor provide the wanted MAC
- Determine nutrs and can_queue by considering both MAC, bqueuedepth and EXT_IID support
- Postponed MCQ initialization and scsi_add_host() to async probe
- Used (EXT_IID, Task Tag) tuple to support up to 4096 tasks (theoretically)

Asutosh Das (1):
  scsi: ufs: Add Multi-Circular Queue support

Can Guo (1):
  scsi: ufs-qcom: Add MCQ support

 drivers/ufs/core/Makefile   |   2 +-
 drivers/ufs/core/ufs-mcq.c  | 524 ++++++++++++++++++++++++++++++++++++++++++++
 drivers/ufs/core/ufshcd.c   | 394 +++++++++++++++++++++++++--------
 drivers/ufs/host/ufs-qcom.c | 125 +++++++++++
 drivers/ufs/host/ufs-qcom.h |   4 +
 include/ufs/ufs.h           |   5 +
 include/ufs/ufshcd.h        | 223 ++++++++++++++++++-
 include/ufs/ufshci.h        |  77 +++++++
 8 files changed, 1264 insertions(+), 90 deletions(-)
 create mode 100644 drivers/ufs/core/ufs-mcq.c

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


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

end of thread, other threads:[~2022-08-25 18:09 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-11 10:33 [RFC PATCH v2 0/2] UFS Multi-Circular Queue (MCQ) Can Guo
2022-08-11 10:33 ` [RFC PATCH v2 1/2] scsi: ufs: Add Multi-Circular Queue support Can Guo
2022-08-12  6:39   ` kernel test robot
2022-08-12  9:10   ` Manivannan Sadhasivam
2022-08-18 20:24     ` Bart Van Assche
2022-08-19  2:57     ` Asutosh Das (asd)
2022-08-19  2:41   ` Bart Van Assche
2022-08-25  1:42     ` Asutosh Das (asd)
2022-08-25 18:04       ` Bart Van Assche
2022-08-25 18:08         ` Asutosh Das (asd)
2022-08-11 10:33 ` [RFC PATCH v2 2/2] scsi: ufs-qcom: Add MCQ support Can Guo
2022-08-19  2:48   ` Bart Van Assche

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.