aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libsas/sas_init.c
diff options
context:
space:
mode:
authorXiang Chen <[email protected]>2021-12-20 11:21:32 +0000
committerMartin K. Petersen <[email protected]>2021-12-23 04:38:30 +0000
commit0da7ca4c4fd95d70d473dc07488ad94ba3ee9b82 (patch)
treedc5c4934f10cadb7378de2be29267582001448d0 /drivers/scsi/libsas/sas_init.c
parentscsi: hisi_sas: Add more logs for runtime suspend/resume (diff)
downloadkernel-0da7ca4c4fd95d70d473dc07488ad94ba3ee9b82.tar.gz
kernel-0da7ca4c4fd95d70d473dc07488ad94ba3ee9b82.zip
scsi: libsas: Resume host while sending SMP I/Os
When sending SMP I/Os to the host we need to ensure that the host is not suspended and can process the commands. This is a better approach than replying on the host to resume itself to handle such commands. Use pm_runtime_get_sync() and pm_runtime_put_sync() calls for the host when executing SMP I/Os. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: John Garry <[email protected]> Signed-off-by: Xiang Chen <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/scsi/libsas/sas_init.c')
0 files changed, 0 insertions, 0 deletions