[PATCH v4 0/2] Add MCQ support for MTK platform

From: Po-Wen Kao
Date: Fri Jun 30 2023 - 10:08:56 EST


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 | 168 +++++++++++++++++++++++++++++++-
drivers/ufs/host/ufs-mediatek.h | 34 +++++++
include/ufs/ufshcd.h | 3 +
4 files changed, 206 insertions(+), 2 deletions(-)

--
2.18.0