* [PATCH v2] scsi: ufs: ufs-pci: Enable WriteBooster capability on ADL
@ 2022-07-05 6:53 Daniil Lunev
2022-07-06 18:11 ` Adrian Hunter
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Daniil Lunev @ 2022-07-05 6:53 UTC (permalink / raw)
To: Adrian Hunter
Cc: Daniil Lunev, Alim Akhtar, Avri Altman, Bart Van Assche, Bean Huo,
James E.J. Bottomley, Martin K. Petersen, linux-kernel,
linux-scsi
Sets the WriteBooster capability flag when ADL's UFS controller is used.
Signed-off-by: Daniil Lunev <dlunev@chromium.org>
---
Changes in v2:
- Fixed typo in commit message
drivers/scsi/ufs/ufshcd-pci.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/scsi/ufs/ufshcd-pci.c b/drivers/scsi/ufs/ufshcd-pci.c
index e892b9feffb11..fb7285a756969 100644
--- a/drivers/scsi/ufs/ufshcd-pci.c
+++ b/drivers/scsi/ufs/ufshcd-pci.c
@@ -425,6 +425,7 @@ static int ufs_intel_adl_init(struct ufs_hba *hba)
{
hba->nop_out_timeout = 200;
hba->quirks |= UFSHCD_QUIRK_BROKEN_AUTO_HIBERN8;
+ hba->caps |= UFSHCD_CAP_WB_EN;
return ufs_intel_common_init(hba);
}
--
2.31.0
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH v2] scsi: ufs: ufs-pci: Enable WriteBooster capability on ADL
2022-07-05 6:53 [PATCH v2] scsi: ufs: ufs-pci: Enable WriteBooster capability on ADL Daniil Lunev
@ 2022-07-06 18:11 ` Adrian Hunter
2022-07-07 21:26 ` Martin K. Petersen
2022-07-14 4:22 ` Martin K. Petersen
2 siblings, 0 replies; 4+ messages in thread
From: Adrian Hunter @ 2022-07-06 18:11 UTC (permalink / raw)
To: Daniil Lunev
Cc: Alim Akhtar, Avri Altman, Bart Van Assche, Bean Huo,
James E.J. Bottomley, Martin K. Petersen, linux-kernel,
linux-scsi
On 5/07/22 09:53, Daniil Lunev wrote:
> Sets the WriteBooster capability flag when ADL's UFS controller is used.
>
> Signed-off-by: Daniil Lunev <dlunev@chromium.org>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
>
> ---
>
> Changes in v2:
> - Fixed typo in commit message
>
> drivers/scsi/ufs/ufshcd-pci.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/scsi/ufs/ufshcd-pci.c b/drivers/scsi/ufs/ufshcd-pci.c
> index e892b9feffb11..fb7285a756969 100644
> --- a/drivers/scsi/ufs/ufshcd-pci.c
> +++ b/drivers/scsi/ufs/ufshcd-pci.c
> @@ -425,6 +425,7 @@ static int ufs_intel_adl_init(struct ufs_hba *hba)
> {
> hba->nop_out_timeout = 200;
> hba->quirks |= UFSHCD_QUIRK_BROKEN_AUTO_HIBERN8;
> + hba->caps |= UFSHCD_CAP_WB_EN;
> return ufs_intel_common_init(hba);
> }
>
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH v2] scsi: ufs: ufs-pci: Enable WriteBooster capability on ADL
2022-07-05 6:53 [PATCH v2] scsi: ufs: ufs-pci: Enable WriteBooster capability on ADL Daniil Lunev
2022-07-06 18:11 ` Adrian Hunter
@ 2022-07-07 21:26 ` Martin K. Petersen
2022-07-14 4:22 ` Martin K. Petersen
2 siblings, 0 replies; 4+ messages in thread
From: Martin K. Petersen @ 2022-07-07 21:26 UTC (permalink / raw)
To: Daniil Lunev
Cc: Adrian Hunter, Alim Akhtar, Avri Altman, Bart Van Assche,
Bean Huo, James E.J. Bottomley, Martin K. Petersen, linux-kernel,
linux-scsi
Daniil,
> Sets the WriteBooster capability flag when ADL's UFS controller is
> used.
Applied to 5.20/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2] scsi: ufs: ufs-pci: Enable WriteBooster capability on ADL
2022-07-05 6:53 [PATCH v2] scsi: ufs: ufs-pci: Enable WriteBooster capability on ADL Daniil Lunev
2022-07-06 18:11 ` Adrian Hunter
2022-07-07 21:26 ` Martin K. Petersen
@ 2022-07-14 4:22 ` Martin K. Petersen
2 siblings, 0 replies; 4+ messages in thread
From: Martin K. Petersen @ 2022-07-14 4:22 UTC (permalink / raw)
To: Daniil Lunev, Adrian Hunter
Cc: Martin K . Petersen, linux-kernel, James E.J. Bottomley,
Bart Van Assche, linux-scsi, Avri Altman, Alim Akhtar, Bean Huo
On Tue, 5 Jul 2022 16:53:26 +1000, Daniil Lunev wrote:
> Sets the WriteBooster capability flag when ADL's UFS controller is used.
>
>
Applied to 5.20/scsi-queue, thanks!
[1/1] scsi: ufs: ufs-pci: Enable WriteBooster capability on ADL
https://git.kernel.org/mkp/scsi/c/1466b3bc456a
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-07-14 4:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-05 6:53 [PATCH v2] scsi: ufs: ufs-pci: Enable WriteBooster capability on ADL Daniil Lunev
2022-07-06 18:11 ` Adrian Hunter
2022-07-07 21:26 ` Martin K. Petersen
2022-07-14 4:22 ` Martin K. Petersen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox