mbox series

[v5,0/2] Add MCQ support for MTK platform

Message ID 20230701124442.10489-1-powen.kao@mediatek.com
Headers show
Series Add MCQ support for MTK platform | expand

Message

Po-Wen Kao July 1, 2023, 12:44 p.m. UTC
v4 -> v5
- Remove unused define in header
- Let chatty log print only at debug level
- Correct ufs_mtk_init_mcq_irq() that was wrongly fixed

v3 -> v4
Address AngeloGioacchino's comments.

v2 -> v3
- Drop SQ to CQ mapping vops introduced in v2
- Refactor commit message
- Update export symbols

v1 -> v2
- Introduce MCQ SQ to CQ mapping vops and provide MTK implementation.
- Update export symbol patch

v1
- Separated from topic "[PATCH v4 0/5] Several UFS MCQ Code Changes".
  Here are some changes since last upload
  - Store irq in per host array
  - Symbol rename
  - Use ufshcd_mcq_poll_cqe_lock() instead of ufshcd_mcq_poll_cqe_nolock()
  - Handle invalid irq dts property
  - Remove ufshcd_disable_intr(hba, MCQ_CQ_EVENT_STATUS) in MCQ mode.
    This will become host quirk later.

Po-Wen Kao (2):
  scsi: ufs: core: Export symbols for MTK driver module
  scsi: ufs: ufs-mediatek: Add MCQ support for MTK platform

 drivers/ufs/core/ufs-mcq.c      |   3 +
 drivers/ufs/host/ufs-mediatek.c | 174 +++++++++++++++++++++++++++++++-
 drivers/ufs/host/ufs-mediatek.h |  33 ++++++
 include/ufs/ufshcd.h            |   3 +
 4 files changed, 211 insertions(+), 2 deletions(-)

--
2.18.0

Comments

Martin K. Petersen July 11, 2023, 7 p.m. UTC | #1
Po-Wen,

> Po-Wen Kao (2):
>   scsi: ufs: core: Export symbols for MTK driver module
>   scsi: ufs: ufs-mediatek: Add MCQ support for MTK platform

Applied to 6.6/scsi-staging, thanks!
Martin K. Petersen July 26, 2023, 2:04 a.m. UTC | #2
On Sat, 01 Jul 2023 20:44:39 +0800, Po-Wen Kao wrote:

> v4 -> v5
> - Remove unused define in header
> - Let chatty log print only at debug level
> - Correct ufs_mtk_init_mcq_irq() that was wrongly fixed
> 
> v3 -> v4
> Address AngeloGioacchino's comments.
> 
> [...]

Applied to 6.6/scsi-queue, thanks!

[1/2] scsi: ufs: core: Export symbols for MTK driver module
      https://git.kernel.org/mkp/scsi/c/11afb65c100a
[2/2] scsi: ufs: ufs-mediatek: Add MCQ support for MTK platform
      https://git.kernel.org/mkp/scsi/c/e152a616c886