All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] scsi: ufs: core: Remove UIC_HIBERN8_ENTER_RETRIES
       [not found] <CGME20220708052006epcms2p2d1129dbf95fd77f46906200ccb0a9ccd@epcms2p2>
@ 2022-07-08  5:20 ` Keoseong Park
  2022-07-08  8:50   ` Avri Altman
                     ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Keoseong Park @ 2022-07-08  5:20 UTC (permalink / raw)
  To: ALIM AKHTAR, avri.altman, bvanassche, jejb, martin.petersen,
	beanhuo, Daejun Park, adrian.hunter, linux-scsi, linux-kernel

Commit 4db7a2360597 ("scsi: ufs: Fix concurrency of error handler
and other error recovery paths") removed all callers of
UIC_HIBERN8_ENTER_RETRIES. Hence also remove the macro itself.

Signed-off-by: Keoseong Park <keosung.park@samsung.com>
---
 drivers/ufs/core/ufshcd.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/ufs/core/ufshcd.c b/drivers/ufs/core/ufshcd.c
index 1d3214e6b364..f6b36d2bfa21 100644
--- a/drivers/ufs/core/ufshcd.c
+++ b/drivers/ufs/core/ufshcd.c
@@ -64,9 +64,6 @@
 /* maximum number of link-startup retries */
 #define DME_LINKSTARTUP_RETRIES 3
 
-/* Maximum retries for Hibern8 enter */
-#define UIC_HIBERN8_ENTER_RETRIES 3
-
 /* maximum number of reset retries before giving up */
 #define MAX_HOST_RESET_RETRIES 5
 
-- 
2.17.1

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

* RE: [PATCH] scsi: ufs: core: Remove UIC_HIBERN8_ENTER_RETRIES
  2022-07-08  5:20 ` [PATCH] scsi: ufs: core: Remove UIC_HIBERN8_ENTER_RETRIES Keoseong Park
@ 2022-07-08  8:50   ` Avri Altman
  2022-07-14  3:02   ` Martin K. Petersen
  2022-07-19  3:08   ` Martin K. Petersen
  2 siblings, 0 replies; 4+ messages in thread
From: Avri Altman @ 2022-07-08  8:50 UTC (permalink / raw)
  To: keosung.park, ALIM AKHTAR, bvanassche, jejb, martin.petersen,
	beanhuo, Daejun Park, adrian.hunter, linux-scsi, linux-kernel

 
> Commit 4db7a2360597 ("scsi: ufs: Fix concurrency of error handler and other
> error recovery paths") removed all callers of UIC_HIBERN8_ENTER_RETRIES.
> Hence also remove the macro itself.
> 
> Signed-off-by: Keoseong Park <keosung.park@samsung.com>
Reviewed-by: Avri Altman <avri.altman@wdc.com>

> ---
>  drivers/ufs/core/ufshcd.c | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/drivers/ufs/core/ufshcd.c b/drivers/ufs/core/ufshcd.c index
> 1d3214e6b364..f6b36d2bfa21 100644
> --- a/drivers/ufs/core/ufshcd.c
> +++ b/drivers/ufs/core/ufshcd.c
> @@ -64,9 +64,6 @@
>  /* maximum number of link-startup retries */  #define
> DME_LINKSTARTUP_RETRIES 3
> 
> -/* Maximum retries for Hibern8 enter */ -#define
> UIC_HIBERN8_ENTER_RETRIES 3
> -
>  /* maximum number of reset retries before giving up */  #define
> MAX_HOST_RESET_RETRIES 5
> 
> --
> 2.17.1

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

* Re: [PATCH] scsi: ufs: core: Remove UIC_HIBERN8_ENTER_RETRIES
  2022-07-08  5:20 ` [PATCH] scsi: ufs: core: Remove UIC_HIBERN8_ENTER_RETRIES Keoseong Park
  2022-07-08  8:50   ` Avri Altman
@ 2022-07-14  3:02   ` Martin K. Petersen
  2022-07-19  3:08   ` Martin K. Petersen
  2 siblings, 0 replies; 4+ messages in thread
From: Martin K. Petersen @ 2022-07-14  3:02 UTC (permalink / raw)
  To: Keoseong Park
  Cc: ALIM AKHTAR, avri.altman, bvanassche, jejb, martin.petersen,
	beanhuo, Daejun Park, adrian.hunter, linux-scsi, linux-kernel


Keoseong,

> Commit 4db7a2360597 ("scsi: ufs: Fix concurrency of error handler and
> other error recovery paths") removed all callers of
> UIC_HIBERN8_ENTER_RETRIES. Hence also remove the macro itself.

Applied to 5.20/scsi-staging, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering

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

* Re: [PATCH] scsi: ufs: core: Remove UIC_HIBERN8_ENTER_RETRIES
  2022-07-08  5:20 ` [PATCH] scsi: ufs: core: Remove UIC_HIBERN8_ENTER_RETRIES Keoseong Park
  2022-07-08  8:50   ` Avri Altman
  2022-07-14  3:02   ` Martin K. Petersen
@ 2022-07-19  3:08   ` Martin K. Petersen
  2 siblings, 0 replies; 4+ messages in thread
From: Martin K. Petersen @ 2022-07-19  3:08 UTC (permalink / raw)
  To: beanhuo, Daejun Park, avri.altman, jejb, ALIM AKHTAR,
	adrian.hunter, bvanassche, Keoseong Park, linux-kernel,
	linux-scsi
  Cc: Martin K . Petersen

On Fri, 08 Jul 2022 14:20:06 +0900, Keoseong Park wrote:

> Commit 4db7a2360597 ("scsi: ufs: Fix concurrency of error handler
> and other error recovery paths") removed all callers of
> UIC_HIBERN8_ENTER_RETRIES. Hence also remove the macro itself.
> 
> 

Applied to 5.20/scsi-queue, thanks!

[1/1] scsi: ufs: core: Remove UIC_HIBERN8_ENTER_RETRIES
      https://git.kernel.org/mkp/scsi/c/c641ffdb5904

-- 
Martin K. Petersen	Oracle Linux Engineering

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

end of thread, other threads:[~2022-07-19  3:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20220708052006epcms2p2d1129dbf95fd77f46906200ccb0a9ccd@epcms2p2>
2022-07-08  5:20 ` [PATCH] scsi: ufs: core: Remove UIC_HIBERN8_ENTER_RETRIES Keoseong Park
2022-07-08  8:50   ` Avri Altman
2022-07-14  3:02   ` Martin K. Petersen
2022-07-19  3:08   ` Martin K. Petersen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.