mbox series

[0/2] UFS Multi-Circular Queue (MCQ)

Message ID 1658214120-22772-1-git-send-email-quic_cang@quicinc.com (mailing list archive)
Headers show
Series UFS Multi-Circular Queue (MCQ) | expand

Message

Can Guo July 19, 2022, 7:01 a.m. UTC
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.

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

Can Guo (1):
  scsi: ufs-qcom: Implement three CMQ related vops

 drivers/ufs/core/Makefile   |   2 +-
 drivers/ufs/core/ufs-mcq.c  | 555 ++++++++++++++++++++++++++++++++++++++++++++
 drivers/ufs/core/ufshcd.c   | 362 ++++++++++++++++++++---------
 drivers/ufs/host/ufs-qcom.c | 116 +++++++++
 drivers/ufs/host/ufs-qcom.h |   2 +
 include/ufs/ufs.h           |   1 +
 include/ufs/ufshcd.h        | 231 +++++++++++++++++-
 include/ufs/ufshci.h        |  89 +++++++
 8 files changed, 1251 insertions(+), 107 deletions(-)
 create mode 100644 drivers/ufs/core/ufs-mcq.c

Comments

Bean Huo July 28, 2022, 10:23 p.m. UTC | #1
On Tue, 2022-07-19 at 00:01 -0700, Can Guo wrote:
> 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.
> 

Hi Can/Asutosh,

we could remove RFC, add more detail about MCQ configuration and its
implementation. Review will takes longer since we don't have a platform
to verify it, and now only reply you to verify.


Kind regards,
Bean

> 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.
> 
> Asutosh Das (1):
>   scsi: ufs: Add Multi-Circular Queue support
> 
> Can Guo (1):
>   scsi: ufs-qcom: Implement three CMQ related vops
> 
>  drivers/ufs/core/Makefile   |   2 +-
>  drivers/ufs/core/ufs-mcq.c  | 555
> ++++++++++++++++++++++++++++++++++++++++++++
>  drivers/ufs/core/ufshcd.c   | 362 ++++++++++++++++++++---------
>  drivers/ufs/host/ufs-qcom.c | 116 +++++++++
>  drivers/ufs/host/ufs-qcom.h |   2 +
>  include/ufs/ufs.h           |   1 +
>  include/ufs/ufshcd.h        | 231 +++++++++++++++++-
>  include/ufs/ufshci.h        |  89 +++++++
>  8 files changed, 1251 insertions(+), 107 deletions(-)
>  create mode 100644 drivers/ufs/core/ufs-mcq.c
>
Asutosh Das July 29, 2022, 1:32 a.m. UTC | #2
Hello Bean,

On 7/28/2022 3:23 PM, Bean Huo wrote:
> On Tue, 2022-07-19 at 00:01 -0700, Can Guo wrote:
>> 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.
>>
> 
> Hi Can/Asutosh,
> 
> we could remove RFC, add more detail about MCQ configuration and its
> implementation. Review will takes longer since we don't have a platform
> to verify it, and now only reply you to verify.
> 
> 
Thank you for the review.

Sure, the whole idea of sending a RFC was to get a validation on the 
design that we plan to pursue. I think several valid points / comments 
were raised and we're coding those up now; hence, it's taking some time.
We plan to keep the next version as RFC too, unless we feel we've sorted 
out the initial design considerations.

> Kind regards,
> Bean
> 
>> 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.
>>
>> Asutosh Das (1):
>>    scsi: ufs: Add Multi-Circular Queue support
>>
>> Can Guo (1):
>>    scsi: ufs-qcom: Implement three CMQ related vops
>>
>>   drivers/ufs/core/Makefile   |   2 +-
>>   drivers/ufs/core/ufs-mcq.c  | 555
>> ++++++++++++++++++++++++++++++++++++++++++++
>>   drivers/ufs/core/ufshcd.c   | 362 ++++++++++++++++++++---------
>>   drivers/ufs/host/ufs-qcom.c | 116 +++++++++
>>   drivers/ufs/host/ufs-qcom.h |   2 +
>>   include/ufs/ufs.h           |   1 +
>>   include/ufs/ufshcd.h        | 231 +++++++++++++++++-
>>   include/ufs/ufshci.h        |  89 +++++++
>>   8 files changed, 1251 insertions(+), 107 deletions(-)
>>   create mode 100644 drivers/ufs/core/ufs-mcq.c
>>
> 

-asd