[PATCH] scsi: ufs: core: Make UFS_MCQ_NUM_DEV_CMD_QUEUES a module parameter

Stanley Chu chu.stanley at gmail.com
Tue Mar 28 18:29:07 PDT 2023


Hi, Powen,

On Tue, Mar 28, 2023 at 6:38 PM Po-Wen Kao <powen.kao at mediatek.com> wrote:
>
> A dedicated queue for dev commands is not mandatory, hence let
> UFS_MCQ_NUM_DEV_CMD_QUEUES become module parameter `dev_cmd_queues`
> to allow sharing first hw queue for dev commands.
>
> Signed-off-by: Po-Wen Kao <powen.kao at mediatek.com>
> ---
>  drivers/ufs/core/ufs-mcq.c     | 35 +++++++++++++++++++++++++++-------
>  drivers/ufs/core/ufshcd-priv.h |  2 +-
>  drivers/ufs/core/ufshcd.c      |  2 +-
>  3 files changed, 30 insertions(+), 9 deletions(-)

Reviewed-by: Stanley Chu <stanley.chu at mediatek.com>



More information about the Linux-mediatek mailing list