mbox series

[0/8] hisi_sas: Some misc patches

Message ID 1639579061-179473-1-git-send-email-john.garry@huawei.com
Headers show
Series hisi_sas: Some misc patches | expand

Message

John Garry Dec. 15, 2021, 2:37 p.m. UTC
This is a small series of misc patches. Please consider for 5.17.

Briefly the series covers:
- Factoring out the common and internal abort delivery code
- Fix some races with controller reset (again!)
- Fix out-of-order interrupt handling on FPGA

I also included a pretty straightforward libsas tidy-up.

This series conflicts with [0], so whoever gets accepted second
needs to rebase.

[0] https://lore.kernel.org/linux-scsi/ba7b63a4-16f9-8b2d-e2d7-8f6fdbbe965e@hisilicon.com/T/#m3e21275f70f62bb123cb56f1db2cc25334d5117f

Thanks in advance!

John Garry (5):
  scsi: hisi_sas: Start delivery hisi_sas_task_exec() directly
  scsi: hisi_sas: Make internal abort have no task proto
  scsi: hisi_sas: Pass abort structure for internal abort
  scsi: hisi_sas: Factor out task prep and delivery code
  scsi: libsas: Decode SAM status and host byte codes

Qi Liu (3):
  scsi: hisi_sas: Prevent parallel controller reset and control phy
    command
  scsi: hisi_sas: Prevent parallel FLR and controller reset
  scsi: hisi_sas: Fix phyup timeout on FPGA

 drivers/scsi/hisi_sas/hisi_sas.h       |   5 +
 drivers/scsi/hisi_sas/hisi_sas_main.c  | 339 ++++++++++++-------------
 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c |  11 +-
 drivers/scsi/libsas/sas_scsi_host.c    |   7 +-
 4 files changed, 176 insertions(+), 186 deletions(-)

Comments

Martin K. Petersen Dec. 17, 2021, 4 a.m. UTC | #1
John,

> This is a small series of misc patches. Please consider for 5.17.
>
> Briefly the series covers:
> - Factoring out the common and internal abort delivery code
> - Fix some races with controller reset (again!)
> - Fix out-of-order interrupt handling on FPGA
>
> I also included a pretty straightforward libsas tidy-up.

Applied to 5.17/scsi-staging, thanks!
Martin K. Petersen Dec. 23, 2021, 5:09 a.m. UTC | #2
On Wed, 15 Dec 2021 22:37:33 +0800, John Garry wrote:

> This is a small series of misc patches. Please consider for 5.17.
> 
> Briefly the series covers:
> - Factoring out the common and internal abort delivery code
> - Fix some races with controller reset (again!)
> - Fix out-of-order interrupt handling on FPGA
> 
> [...]

Applied to 5.17/scsi-queue, thanks!

[1/8] scsi: hisi_sas: Start delivery hisi_sas_task_exec() directly
      https://git.kernel.org/mkp/scsi/c/0e4620856b89
[2/8] scsi: hisi_sas: Make internal abort have no task proto
      https://git.kernel.org/mkp/scsi/c/934385a4fd59
[3/8] scsi: hisi_sas: Pass abort structure for internal abort
      https://git.kernel.org/mkp/scsi/c/08c61b5d902b
[4/8] scsi: hisi_sas: Factor out task prep and delivery code
      https://git.kernel.org/mkp/scsi/c/dc313f6b125b
[5/8] scsi: hisi_sas: Prevent parallel controller reset and control phy command
      https://git.kernel.org/mkp/scsi/c/20c634932ae8
[6/8] scsi: hisi_sas: Prevent parallel FLR and controller reset
      https://git.kernel.org/mkp/scsi/c/16775db613c2
[7/8] scsi: hisi_sas: Fix phyup timeout on FPGA
      https://git.kernel.org/mkp/scsi/c/37310bad7fa6
[8/8] scsi: libsas: Decode SAM status and host byte codes
      https://git.kernel.org/mkp/scsi/c/4be6181fea1d