]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: hisi_sas: Use autosuspend for the host controller
authorXiang Chen <chenxiang66@hisilicon.com>
Mon, 20 Dec 2021 11:21:38 +0000 (19:21 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 23 Dec 2021 04:38:31 +0000 (23:38 -0500)
commit33a84522741115c85769ab0348cabdae8c4469e5
treee151d47f5f90dea5ad3e4d0a77762cbe6af52313
parent81db47ce4b7b3d599feab7606b18814853f8565f
scsi: hisi_sas: Use autosuspend for the host controller

The controller may frequently enter and exit suspend for each I/O which we
need to deal with. This is inefficient and may cause too much suspend and
resume activity for the controller.  To avoid this, use a default 5s
autosuspend for the controller to stop frequently suspending and
resuming. This value may still be modified via sysfs interfaces.

Link: https://lore.kernel.org/r/1639999298-244569-16-git-send-email-chenxiang66@hisilicon.com
Acked-by: John Garry <john.garry@huawei.com>
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c