[PATCH 0/7] hisi_sas: Add runtime PM support for v3 hw
From: John Garry
Date: Fri Oct 02 2020 - 10:34:45 EST
This series adds runtime PM support for v3 hw. Consists of:
- Switch to new PM suspend and resume framework
- Add links to devices to ensure host cannot be suspended while devices
are not
- Filter out phy events during suspend to avoid deadlock
- Add controller RPM support
- And some more minor misc related changes
I also included a random small fix, only visible when #CPUs < #queues and
MSI affinity module param set.
Note that this series does not conflict with patch "scsi: hisi_sas:
Switch v3 hw to MQ", which is supposed to go through the block tree:
https://lore.kernel.org/linux-scsi/32574da3d8de863ff38347ef6ead9b35@xxxxxxxxxxxxxx/T/#m39c82fc8a3e3a6b20247d0bd0122d2916e620a28
Luo Jiaxing (1):
scsi: hisi_sas: Use hisi_hba->cq_nvecs for calling calling
synchronize_irq()
Xiang Chen (6):
scsi: hisi_sas: Switch to new framework to support suspend and resume
scsi: hisi_sas: Add controller runtime PM support for v3 hw
scsi: hisi_sas: Add the check of the definition of method _PS0 and
_PR0
scsi: hisi_sas: Add device link between SCSI devices and hisi_hba
scsi: hisi_sas: Filter out new PHYs up events during suspended
scsi: hisi_sas: Recover phys state according to the status before
reset
drivers/scsi/hisi_sas/Kconfig | 1 +
drivers/scsi/hisi_sas/hisi_sas.h | 2 +
drivers/scsi/hisi_sas/hisi_sas_main.c | 10 ++-
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 105 +++++++++++++++++++++++--
4 files changed, 107 insertions(+), 11 deletions(-)
--
2.26.2