mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] scsi: ufs: ufs-pci: Enable WriteBooster capability on ADL
@ 2022-07-03 23:28 Daniil Lunev
  2022-07-04  3:00 ` Bart Van Assche
  0 siblings, 1 reply; 3+ messages in thread
From: Daniil Lunev @ 2022-07-03 23:28 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 WrtieBooster capability flag when ADL's UFS controller is used.

Signed-off-by: Daniil Lunev <dlunev@chromium.org>

---

 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	[flat|nested] 3+ messages in thread

* Re: [PATCH] scsi: ufs: ufs-pci: Enable WriteBooster capability on ADL
  2022-07-03 23:28 [PATCH] scsi: ufs: ufs-pci: Enable WriteBooster capability on ADL Daniil Lunev
@ 2022-07-04  3:00 ` Bart Van Assche
  2022-07-05  6:53   ` Daniil Lunev
  0 siblings, 1 reply; 3+ messages in thread
From: Bart Van Assche @ 2022-07-04  3:00 UTC (permalink / raw)
  To: Daniil Lunev, Adrian Hunter
  Cc: Alim Akhtar, Avri Altman, Bean Huo, James E.J. Bottomley,
	Martin K. Petersen, linux-kernel, linux-scsi

On 7/3/22 16:28, Daniil Lunev wrote:
> Sets the WrtieBooster capability flag when ADL's UFS controller is used.
            ^^^^^^^^^^^^
WriteBooster?

Otherwise this patch looks fine to me.

Thanks,

Bart.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] scsi: ufs: ufs-pci: Enable WriteBooster capability on ADL
  2022-07-04  3:00 ` Bart Van Assche
@ 2022-07-05  6:53   ` Daniil Lunev
  0 siblings, 0 replies; 3+ messages in thread
From: Daniil Lunev @ 2022-07-05  6:53 UTC (permalink / raw)
  To: Bart Van Assche
  Cc: Adrian Hunter, Alim Akhtar, Avri Altman, Bean Huo,
	James E.J. Bottomley, Martin K. Petersen, linux-kernel,
	linux-scsi

Thanks Bart.
Sent v2 patch with the commit message fixed.
--Daniil

On Mon, Jul 4, 2022 at 1:00 PM Bart Van Assche <bvanassche@acm.org> wrote:
>
> On 7/3/22 16:28, Daniil Lunev wrote:
> > Sets the WrtieBooster capability flag when ADL's UFS controller is used.
>             ^^^^^^^^^^^^
> WriteBooster?
>
> Otherwise this patch looks fine to me.
>
> Thanks,
>
> Bart.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-07-05  6:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-03 23:28 [PATCH] scsi: ufs: ufs-pci: Enable WriteBooster capability on ADL Daniil Lunev
2022-07-04  3:00 ` Bart Van Assche
2022-07-05  6:53   ` Daniil Lunev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®