mbox series

[v3,0/3] Add support for UFS Event Specific Interrupt

Message ID 1671073583-10065-1-git-send-email-quic_cang@quicinc.com (mailing list archive)
Headers show
Series Add support for UFS Event Specific Interrupt | expand

Message

Can Guo Dec. 15, 2022, 3:06 a.m. UTC
UFS Multi-Circular Queue (MCQ) driver is on the way. This patch series is
to enable Event Specific Interrupt (ESI), which can used in MCQ mode.

Please note that this series is developed and tested based on the latest MCQ
driver (v11) pushed by Asutosh Das.

v2 -> v3:
- Improved commit msg of patch #2 by incorporating Bart's comment

v1 -> v2:
- Improved QCOM specific ESI configuration flow

Can Guo (3):
  ufs: core: Add Event Specific Interrupt configuration vendor specific
    ops
  ufs: core: mcq: Add Event Specific Interrupt enable and config
    functions
  ufs-host: qcom: Add MCQ ESI config vendor specific ops

 drivers/ufs/core/ufs-mcq.c     | 16 +++++++
 drivers/ufs/core/ufshcd-priv.h |  8 ++++
 drivers/ufs/core/ufshcd.c      |  5 +++
 drivers/ufs/host/ufs-qcom.c    | 97 ++++++++++++++++++++++++++++++++++++++++++
 drivers/ufs/host/ufs-qcom.h    |  5 +++
 include/ufs/ufshcd.h           |  8 ++++
 include/ufs/ufshci.h           |  2 +
 7 files changed, 141 insertions(+)

Comments

Martin K. Petersen Dec. 30, 2022, 10:26 p.m. UTC | #1
Can,

> UFS Multi-Circular Queue (MCQ) driver is on the way. This patch series
> is to enable Event Specific Interrupt (ESI), which can used in MCQ
> mode.
>
> Please note that this series is developed and tested based on the
> latest MCQ driver (v11) pushed by Asutosh Das.

Please rebase once Asutosh posts v12. Thanks!
Can Guo Jan. 4, 2023, 5:20 a.m. UTC | #2
Hi Martin,

On 12/31/2022 6:26 AM, Martin K. Petersen wrote:
> Can,
>
>> UFS Multi-Circular Queue (MCQ) driver is on the way. This patch series
>> is to enable Event Specific Interrupt (ESI), which can used in MCQ
>> mode.
>>
>> Please note that this series is developed and tested based on the
>> latest MCQ driver (v11) pushed by Asutosh Das.
> Please rebase once Asutosh posts v12. Thanks!

You can pick up this series as it is after Asutosh posts v12, it should 
apply cleanly.

If not, please let me know.


Thanks.

Regards,

Can Guo.
Martin K. Petersen Jan. 14, 2023, 2:17 a.m. UTC | #3
Can,

>>> UFS Multi-Circular Queue (MCQ) driver is on the way. This patch series
>>> is to enable Event Specific Interrupt (ESI), which can used in MCQ
>>> mode.
>>>
>>> Please note that this series is developed and tested based on the
>>> latest MCQ driver (v11) pushed by Asutosh Das.
>> Please rebase once Asutosh posts v12. Thanks!
>
> You can pick up this series as it is after Asutosh posts v12, it
> should apply cleanly.

Applied to 6.3/scsi-staging (with a bit of fuzz), thanks!
Martin K. Petersen Jan. 19, 2023, 12:44 a.m. UTC | #4
On Wed, 14 Dec 2022 19:06:19 -0800, Can Guo wrote:

> UFS Multi-Circular Queue (MCQ) driver is on the way. This patch series is
> to enable Event Specific Interrupt (ESI), which can used in MCQ mode.
> 
> Please note that this series is developed and tested based on the latest MCQ
> driver (v11) pushed by Asutosh Das.
> 
> v2 -> v3:
> - Improved commit msg of patch #2 by incorporating Bart's comment
> 
> [...]

Applied to 6.3/scsi-queue, thanks!

[1/3] ufs: core: Add Event Specific Interrupt configuration vendor specific ops
	https://git.kernel.org/mkp/scsi/c/edb0db05607c
[2/3] ufs: core: mcq: Add Event Specific Interrupt enable and config functions
	https://git.kernel.org/mkp/scsi/c/e02288e0265f
[3/3] ufs-host: qcom: Add MCQ ESI config vendor specific ops
	https://git.kernel.org/mkp/scsi/c/519b6274a777