[PATCH v3 0/4] hisi_sas: Misc patches and cleanups

Yihang Li posted 4 patches 8 months, 1 week ago
drivers/scsi/hisi_sas/hisi_sas.h       |  51 +++--
drivers/scsi/hisi_sas/hisi_sas_main.c  |  81 ++++----
drivers/scsi/hisi_sas/hisi_sas_v1_hw.c |   2 +-
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c |   6 +-
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 259 +++++++++++++++----------
5 files changed, 236 insertions(+), 163 deletions(-)
[PATCH v3 0/4] hisi_sas: Misc patches and cleanups
Posted by Yihang Li 8 months, 1 week ago
This series contains some minor bugfix and general tidying:
- Ignore the soft reset result by calling I_T_nexus after the SATA disk
  is soft reset
- General minor tidying

Thanks!

Changes since v2:
- Fix some compile errors after applying this series.

Changes since v1:
- Remove patch 1 and come up with a better solution to fix the issue:
  https://lore.kernel.org/linux-block/eef1e927-c9b2-c61d-7f48-92e65d8b0418@huawei.com/
  maybe in libsas or libata.

Yihang Li (4):
  scsi: hisi_sas: Use macro instead of magic number
  scsi: hisi_sas: Code style cleanup
  scsi: hisi_sas: Call I_T_nexus after soft reset for SATA disk
  scsi: hisi_sas: Wait until eh is recovered

 drivers/scsi/hisi_sas/hisi_sas.h       |  51 +++--
 drivers/scsi/hisi_sas/hisi_sas_main.c  |  81 ++++----
 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c |   2 +-
 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c |   6 +-
 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 259 +++++++++++++++----------
 5 files changed, 236 insertions(+), 163 deletions(-)

-- 
2.33.0
Re: [PATCH v3 0/4] hisi_sas: Misc patches and cleanups
Posted by Martin K. Petersen 7 months, 3 weeks ago
On Mon, 14 Apr 2025 16:08:41 +0800, Yihang Li wrote:

> This series contains some minor bugfix and general tidying:
> - Ignore the soft reset result by calling I_T_nexus after the SATA disk
>   is soft reset
> - General minor tidying
> 
> Thanks!
> 
> [...]

Applied to 6.16/scsi-queue, thanks!

[1/4] scsi: hisi_sas: Use macro instead of magic number
      https://git.kernel.org/mkp/scsi/c/4ca7fe99fc84
[2/4] scsi: hisi_sas: Code style cleanup
      https://git.kernel.org/mkp/scsi/c/92c8fe152415
[3/4] scsi: hisi_sas: Call I_T_nexus after soft reset for SATA disk
      https://git.kernel.org/mkp/scsi/c/e4d953ca557e
[4/4] scsi: hisi_sas: Wait until eh is recovered
      https://git.kernel.org/mkp/scsi/c/1ca57644e2e9

-- 
Martin K. Petersen	Oracle Linux Engineering
Re: [PATCH v3 0/4] hisi_sas: Misc patches and cleanups
Posted by Martin K. Petersen 8 months ago
Yihang,

> This series contains some minor bugfix and general tidying:
> - Ignore the soft reset result by calling I_T_nexus after the SATA disk
>   is soft reset
> - General minor tidying

Applied to 6.16/scsi-staging, thanks!

-- 
Martin K. Petersen