Please consider these points:
About "scsi: libsas: Resume sas host before sending SMP IOs", just have
"Resume host while sending SMP IOs"
On 17/11/2021 02:45, chenxiang wrote:
From: Xiang Chen<chenxiang66@xxxxxxxxxxxxx>
Need to resume sas host before sending SMP IOs to ensure that
SMP IOs are sent sucessfully.
successfully
>
When sending SMP IOs to the host we need to ensure that that host is not
suspended and may handle the commands. This is a better approach than
relying on the host to resume itself to handle such commands. So use
pm_runtime_get_sync() and pm_runtime_get_sync() calls for the host when
executing SMP tasks.
Signed-off-by: Xiang Chen<chenxiang66@xxxxxxxxxxxxx>
Reviewed-by: John Garry<john.garry@xxxxxxxxxx>