diff options
author | Xiang Chen <chenxiang66@hisilicon.com> | 2020-10-02 16:30:35 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-10-07 02:47:06 +0200 |
commit | e06596d5000c58f35721f334fe2eee28e3b01a77 (patch) | |
tree | b95eecb58a9d3bd36eb9ceccb121dee680825290 /drivers/scsi/hisi_sas/Kconfig | |
parent | scsi: hisi_sas: Add controller runtime PM support for v3 hw (diff) | |
download | linux-e06596d5000c58f35721f334fe2eee28e3b01a77.tar.xz linux-e06596d5000c58f35721f334fe2eee28e3b01a77.zip |
scsi: hisi_sas: Add check for methods _PS0 and _PR0
To support system suspend/resume or runtime suspend/resume, need to use the
function pci_set_power_state() to change the power state which requires at
least method _PS0 or _PR0 be filled by platform for v3 hw. So check whether
the method is supported, if not, print a warning.
A Kconfig dependency is added as there is no stub for
acpi_device_power_manageable().
Link: https://lore.kernel.org/r/1601649038-25534-5-git-send-email-john.garry@huawei.com
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/hisi_sas/Kconfig')
-rw-r--r-- | drivers/scsi/hisi_sas/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/hisi_sas/Kconfig b/drivers/scsi/hisi_sas/Kconfig index 13ed9073fc72..b8148b1733f8 100644 --- a/drivers/scsi/hisi_sas/Kconfig +++ b/drivers/scsi/hisi_sas/Kconfig @@ -15,5 +15,6 @@ config SCSI_HISI_SAS_PCI tristate "HiSilicon SAS on PCI bus" depends on SCSI_HISI_SAS depends on PCI + depends on ACPI help This driver supports HiSilicon's SAS HBA based on PCI device |