[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGaU9a8f37ZyMjVyYnonNCro55UQJ033Ns+LoaOcWDUg3Gp=3A@mail.gmail.com>
Date: Wed, 29 Mar 2023 09:32:28 +0800
From: Stanley Chu <chu.stanley@...il.com>
To: Po-Wen Kao <powen.kao@...iatek.com>
Cc: linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org,
Stanley Chu <stanley.chu@...iatek.com>,
"James E.J. Bottomley" <jejb@...ux.ibm.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
Matthias Brugger <matthias.bgg@...il.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>,
wsd_upstream@...iatek.com, peter.wang@...iatek.com,
alice.chao@...iatek.com, naomi.chu@...iatek.com,
chun-hung.wu@...iatek.com, cc.chou@...iatek.com,
eddie.huang@...iatek.com, mason.zhang@...iatek.com,
chaotian.jing@...iatek.com, jiajie.hao@...iatek.com
Subject: Re: [PATCH 2/2] scsi: ufs: ufs-mediatek: Add UFSHCD_QUIRK_MCQ_BROKEN_INTR
quirk
On Tue, Mar 28, 2023 at 6:42 PM Po-Wen Kao <powen.kao@...iatek.com> wrote:
>
> Set UFSHCD_QUIRK_MCQ_BROKEN_INTR for mtk driver
>
> Signed-off-by: Po-Wen Kao <powen.kao@...iatek.com>
> ---
> drivers/ufs/host/ufs-mediatek.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/ufs/host/ufs-mediatek.c b/drivers/ufs/host/ufs-mediatek.c
> index 73e217260390..b4a4a580ad37 100644
> --- a/drivers/ufs/host/ufs-mediatek.c
> +++ b/drivers/ufs/host/ufs-mediatek.c
> @@ -901,6 +901,8 @@ static int ufs_mtk_init(struct ufs_hba *hba)
> hba->caps |= UFSHCD_CAP_CLK_SCALING;
>
> hba->quirks |= UFSHCI_QUIRK_SKIP_MANUAL_WB_FLUSH_CTRL;
> + hba->quirks |= UFSHCD_QUIRK_MCQ_BROKEN_INTR;
> +
> hba->vps->wb_flush_threshold = UFS_WB_BUF_REMAIN_PERCENT(80);
>
> if (host->caps & UFS_MTK_CAP_DISABLE_AH8)
> --
> 2.18.0
>
Reviewed-by: Stanley Chu <stanley.chu@...iatek.com>
Powered by blists - more mailing lists