[PATCH v2 0/3] Add MCQ support for MTK platform
From: Po-Wen Kao
Date: Mon May 29 2023 - 22:33:00 EST
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.
Peter Wang (1):
scsi: ufs: core: Introduce mcq ops to config cqid
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 | 6 +-
drivers/ufs/core/ufshcd-priv.h | 10 +-
drivers/ufs/core/ufshcd.c | 11 ++
drivers/ufs/host/ufs-mediatek.c | 188 +++++++++++++++++++++++++++++++-
drivers/ufs/host/ufs-mediatek.h | 33 ++++++
include/ufs/ufshcd.h | 8 ++
6 files changed, 251 insertions(+), 5 deletions(-)
--
2.18.0