hisi_sas: Add runtime PM support for v3 hw
Status from this message: Applied to 5.10/scsi-staging, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | scsi: hisi_sas: Use hisi_hba->cq_nvecs for calling calling synchronize_irq()drivers/ | +3 | 0 replies | |
| 2/7 | scsi: hisi_sas: Switch to new framework to support suspend and resumedrivers/ | +10 | 0 replies | |
| 3/7 | scsi: hisi_sas: Add controller runtime PM support for v3 hwdrivers/ drivers/ | +56 | 0 replies | |
| 4/7 | scsi: hisi_sas: Add the check of the definition of method _PS0 and _PR0drivers/ drivers/ | +5 | 0 replies | |
| 5/7 | scsi: hisi_sas: Add device link between SCSI devices and hisi_hbadrivers/ | +28 | 0 replies | |
| 6/7 | scsi: hisi_sas: Filter out new PHYs up events during suspendeddrivers/ | +6 | 0 replies | |
| 7/7 | scsi: hisi_sas: Recover phys state according to the status before resetdrivers/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] hisi_sas: Add runtime PM support for v3 hw
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/[email protected]/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(-)
Signature · 1 line
2.26.2