mbox series

[0/4] scsi: hisi_sas: Some misc changes

Message ID 1679283265-115066-1-git-send-email-chenxiang66@hisilicon.com (mailing list archive)
Headers show
Series scsi: hisi_sas: Some misc changes | expand

Message

chenxiang March 20, 2023, 3:34 a.m. UTC
From: Xiang Chen <chenxiang66@hisilicon.com>

This series contain some fixes including:
- Grab sas_dev lock when traversing sas_dev list to avoid NULL pointer
- Handle NCQ error when IPTT is valid
- Ensure all enabled PHYs up during controller reset
- Exit suspend state when usage count of runtime PM is greater than 0

Xingui Yang (2):
  scsi: hisi_sas: Grab sas_dev lock when traversing the members of
    sas_dev.list
  scsi: hisi_sas: Handle NCQ error when IPTT is valid

Yihang Li (2):
  scsi: hisi_sas: Ensure all enabled PHYs up during controller reset
  scsi: hisi_sas: Exit suspending state when usage count is greater than
    0

 drivers/scsi/hisi_sas/hisi_sas.h       |  3 +-
 drivers/scsi/hisi_sas/hisi_sas_main.c  | 57 ++++++++++++++++++-----
 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c |  8 +++-
 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c |  8 +++-
 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 83 ++++++++++++++++++++++++++--------
 5 files changed, 124 insertions(+), 35 deletions(-)

Comments

Martin K. Petersen April 3, 2023, 1:59 a.m. UTC | #1
chenxiang,

> This series contain some fixes including:
> - Grab sas_dev lock when traversing sas_dev list to avoid NULL pointer
> - Handle NCQ error when IPTT is valid
> - Ensure all enabled PHYs up during controller reset
> - Exit suspend state when usage count of runtime PM is greater than 0

Applied to 6.4/scsi-staging, thanks!
Martin K. Petersen April 12, 2023, 2:04 a.m. UTC | #2
On Mon, 20 Mar 2023 11:34:21 +0800, chenxiang wrote:

> This series contain some fixes including:
> - Grab sas_dev lock when traversing sas_dev list to avoid NULL pointer
> - Handle NCQ error when IPTT is valid
> - Ensure all enabled PHYs up during controller reset
> - Exit suspend state when usage count of runtime PM is greater than 0
> 
> Xingui Yang (2):
>   scsi: hisi_sas: Grab sas_dev lock when traversing the members of
>     sas_dev.list
>   scsi: hisi_sas: Handle NCQ error when IPTT is valid
> 
> [...]

Applied to 6.4/scsi-queue, thanks!

[1/4] scsi: hisi_sas: Grab sas_dev lock when traversing the members of sas_dev.list
      https://git.kernel.org/mkp/scsi/c/71fb36b5ff11
[2/4] scsi: hisi_sas: Handle NCQ error when IPTT is valid
      https://git.kernel.org/mkp/scsi/c/bb544224da77
[3/4] scsi: hisi_sas: Ensure all enabled PHYs up during controller reset
      https://git.kernel.org/mkp/scsi/c/89954f024c3a
[4/4] scsi: hisi_sas: Exit suspending state when usage count is greater than 0
      https://git.kernel.org/mkp/scsi/c/e368d38cb952