mbox series

[v1,0/9] scsi: ufs: Refactoring and cleanups

Message ID 20201116065054.7658-1-stanley.chu@mediatek.com (mailing list archive)
Headers show
Series scsi: ufs: Refactoring and cleanups | expand

Message

Stanley Chu Nov. 16, 2020, 6:50 a.m. UTC
Hi,
This series simply do some refactoring and cleanups in UFS drivers.

Stanley Chu (9):
  scsi: ufs-mediatek: Refactor performance scaling functions
  scsi: ufs: Introduce device parameter initialization function
  scsi: ufs-mediatek: Use device parameter initialization function
  scsi: ufs-qcom: Use device parameter initialization function
  scsi: ufs-exynos: Use device parameter initialization function
  scsi: ufs-hisi: Use device parameter initialization function
  scsi: ufs: Refactor ADAPT configuration function
  scsi: ufs-mediatek: Use common ADAPT configuration function
  scsi: ufs-qcom: Use common ADAPT configuration function

 drivers/scsi/ufs/ufs-exynos.c    | 15 +---------
 drivers/scsi/ufs/ufs-exynos.h    | 13 --------
 drivers/scsi/ufs/ufs-hisi.c      | 13 +-------
 drivers/scsi/ufs/ufs-hisi.h      | 13 --------
 drivers/scsi/ufs/ufs-mediatek.c  | 51 ++++++++++++++------------------
 drivers/scsi/ufs/ufs-mediatek.h  | 16 ----------
 drivers/scsi/ufs/ufs-qcom.c      | 27 +++--------------
 drivers/scsi/ufs/ufs-qcom.h      | 11 -------
 drivers/scsi/ufs/ufshcd-pltfrm.c | 17 +++++++++++
 drivers/scsi/ufs/ufshcd-pltfrm.h |  1 +
 drivers/scsi/ufs/ufshcd.c        | 16 ++++++++++
 drivers/scsi/ufs/ufshcd.h        |  3 ++
 12 files changed, 65 insertions(+), 131 deletions(-)

Comments

Bean Huo Nov. 16, 2020, 8:46 a.m. UTC | #1
On Mon, 2020-11-16 at 14:50 +0800, Stanley Chu wrote:
> Hi,
> This series simply do some refactoring and cleanups in UFS drivers.
> 
> Stanley Chu (9):
>   scsi: ufs-mediatek: Refactor performance scaling functions
>   scsi: ufs: Introduce device parameter initialization function
>   scsi: ufs-mediatek: Use device parameter initialization function
>   scsi: ufs-qcom: Use device parameter initialization function
>   scsi: ufs-exynos: Use device parameter initialization function
>   scsi: ufs-hisi: Use device parameter initialization function
>   scsi: ufs: Refactor ADAPT configuration function
>   scsi: ufs-mediatek: Use common ADAPT configuration function
>   scsi: ufs-qcom: Use common ADAPT configuration function
> 
>  drivers/scsi/ufs/ufs-exynos.c    | 15 +---------
>  drivers/scsi/ufs/ufs-exynos.h    | 13 --------
>  drivers/scsi/ufs/ufs-hisi.c      | 13 +-------
>  drivers/scsi/ufs/ufs-hisi.h      | 13 --------
>  drivers/scsi/ufs/ufs-mediatek.c  | 51 ++++++++++++++--------------
> ----
>  drivers/scsi/ufs/ufs-mediatek.h  | 16 ----------
>  drivers/scsi/ufs/ufs-qcom.c      | 27 +++--------------
>  drivers/scsi/ufs/ufs-qcom.h      | 11 -------
>  drivers/scsi/ufs/ufshcd-pltfrm.c | 17 +++++++++++
>  drivers/scsi/ufs/ufshcd-pltfrm.h |  1 +
>  drivers/scsi/ufs/ufshcd.c        | 16 ++++++++++
>  drivers/scsi/ufs/ufshcd.h        |  3 ++
>  12 files changed, 65 insertions(+), 131 deletions(-)
> 

This series looks good to me, thanks.

Reviewed-by: Bean Huo <beanhuo@micron.com>
Martin K. Petersen Nov. 17, 2020, 5:50 a.m. UTC | #2
Stanley,

> This series simply do some refactoring and cleanups in UFS drivers.

Applied to 5.11/scsi-staging, thanks!
Martin K. Petersen Nov. 20, 2020, 3:31 a.m. UTC | #3
On Mon, 16 Nov 2020 14:50:45 +0800, Stanley Chu wrote:

> This series simply do some refactoring and cleanups in UFS drivers.
> 
> Stanley Chu (9):
>   scsi: ufs-mediatek: Refactor performance scaling functions
>   scsi: ufs: Introduce device parameter initialization function
>   scsi: ufs-mediatek: Use device parameter initialization function
>   scsi: ufs-qcom: Use device parameter initialization function
>   scsi: ufs-exynos: Use device parameter initialization function
>   scsi: ufs-hisi: Use device parameter initialization function
>   scsi: ufs: Refactor ADAPT configuration function
>   scsi: ufs-mediatek: Use common ADAPT configuration function
>   scsi: ufs-qcom: Use common ADAPT configuration function
> 
> [...]

Applied to 5.11/scsi-queue, thanks!

[1/9] scsi: ufs: ufs-mediatek: Refactor performance scaling functions
      https://git.kernel.org/mkp/scsi/c/54770cbebe2c
[2/9] scsi: ufs: Introduce device parameter initialization function
      https://git.kernel.org/mkp/scsi/c/65858014ee20
[3/9] scsi: ufs: ufs-mediatek: Use device parameter initialization function
      https://git.kernel.org/mkp/scsi/c/a4b537ea656e
[4/9] scsi: ufs: ufs-qcom: Use device parameter initialization function
      https://git.kernel.org/mkp/scsi/c/8beef54716e6
[5/9] scsi: ufs: ufs-exynos: Use device parameter initialization function
      https://git.kernel.org/mkp/scsi/c/5b3573d68d9a
[6/9] scsi: ufs: ufs-hisi: Use device parameter initialization function
      https://git.kernel.org/mkp/scsi/c/85d6d3c18953
[7/9] scsi: ufs: Refactor ADAPT configuration function
      https://git.kernel.org/mkp/scsi/c/fc85a74e28fe
[8/9] scsi: ufs: ufs-mediatek: Use common ADAPT configuration function
      https://git.kernel.org/mkp/scsi/c/e1e25d1b8996
[9/9] scsi: ufs: ufs-qcom: Use common ADAPT configuration function
      https://git.kernel.org/mkp/scsi/c/d9fa1e731e24