linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH v3 0/4] UFS Multi-Circular Queue (MCQ)
@ 2022-09-02 22:41 Asutosh Das
  2022-09-02 22:41 ` [RFC PATCH v3 1/4] ufs: core: prepare ufs for multi circular queue support Asutosh Das
                   ` (3 more replies)
  0 siblings, 4 replies; 21+ messages in thread
From: Asutosh Das @ 2022-09-02 22:41 UTC (permalink / raw)
  To: quic_nguyenb, quic_xiaosenh, stanley.chu, adrian.hunter,
	bvanassche, avri.altman, mani, quic_cang, beanhuo,
	martin.petersen, linux-scsi
  Cc: Asutosh Das, linux-arm-msm

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.

v2 -> v3:
- Split the changes based on functionality
- Addressed queue configuration issues
- Faster SQE tail pointer increments
- Addressed comments from Bart and Manivannan

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 (2):
  ufs: core: prepare ufs for multi circular queue support
  ufs: core: mcq: Adds Multi-Circular Queue support

Can Guo (2):
  ufs: core: Add Event Specific Interrupt configuration vendor specific
    ops
  ufs: host: qcom: Add MCQ support

 drivers/ufs/core/Makefile      |   2 +-
 drivers/ufs/core/ufs-mcq.c     | 474 +++++++++++++++++++++++++++++++++++++++++
 drivers/ufs/core/ufshcd-priv.h | 102 +++++++++
 drivers/ufs/core/ufshcd.c      | 370 +++++++++++++++++++++++++-------
 drivers/ufs/host/ufs-qcom.c    | 134 ++++++++++++
 drivers/ufs/host/ufs-qcom.h    |  13 ++
 include/ufs/ufs.h              |   6 +
 include/ufs/ufshcd.h           | 137 ++++++++++++
 include/ufs/ufshci.h           |  79 +++++++
 9 files changed, 1238 insertions(+), 79 deletions(-)
 create mode 100644 drivers/ufs/core/ufs-mcq.c

-- 
2.7.4


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

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

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-02 22:41 [RFC PATCH v3 0/4] UFS Multi-Circular Queue (MCQ) Asutosh Das
2022-09-02 22:41 ` [RFC PATCH v3 1/4] ufs: core: prepare ufs for multi circular queue support Asutosh Das
2022-09-05 12:26   ` Bean Huo
2022-09-08  3:00     ` Asutosh Das (asd)
2022-09-08  8:23       ` Bean Huo
2022-09-08 21:58   ` Bart Van Assche
2022-09-09 22:48     ` Asutosh Das (asd)
2022-09-09 23:38       ` Bart Van Assche
2022-09-12 18:18         ` Asutosh Das (asd)
2022-09-02 22:41 ` [RFC PATCH v3 2/4] ufs: core: mcq: Adds Multi-Circular Queue support Asutosh Das
2022-09-05 13:48   ` Bean Huo
2022-09-08  3:01     ` Asutosh Das (asd)
2022-09-05 14:19   ` Bean Huo
2022-09-05 16:27   ` Bean Huo
2022-09-08  3:01     ` Asutosh Das (asd)
2022-09-08 22:02     ` Bart Van Assche
2022-09-08 23:21   ` Bart Van Assche
2022-09-02 22:41 ` [RFC PATCH v3 3/4] ufs: core: Add Event Specific Interrupt configuration vendor specific ops Asutosh Das
2022-09-02 22:41 ` [RFC PATCH v3 4/4] ufs: host: qcom: Add MCQ support Asutosh Das
2022-09-08 22:30   ` Bart Van Assche
2022-09-09 22:43     ` Asutosh Das (asd)

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).