diff options
author | Mario Limonciello | 2021-11-12 14:15:39 -0600 |
---|---|---|
committer | Damien Le Moal | 2021-11-18 14:34:25 +0900 |
commit | 7c5f641a5914ce0303b06bcfcd7674ee64aeebe9 (patch) | |
tree | 9614d100a46d7028f216b683a989e5c07ab51c5b /lib/crc64.c | |
parent | 1527f69204fe35f341cb599f1cb01bd02daf4374 (diff) |
ata: libahci: Adjust behavior when StorageD3Enable _DSD is set
The StorageD3Enable _DSD is used for the vendor to indicate that the disk
should be opted into or out of a different behavior based upon the platform
design.
For AMD's Renoir and Green Sardine platforms it's important that any
attached SATA storage has transitioned into DevSlp when s2idle is used.
If the disk is left in active/partial/slumber, then the system is not able
to resume properly.
When the StorageD3Enable _DSD is detected, check the system is using s2idle
and DevSlp is enabled and if so explicitly wait long enough for the disk to
enter DevSlp.
Cc: Nehal-bakulchandra Shah <Nehal-bakulchandra.Shah@amd.com>
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=214091
Link: https://docs.microsoft.com/en-us/windows-hardware/design/component-guidelines/power-management-for-storage-hardware-devices-intro
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Diffstat (limited to 'lib/crc64.c')
0 files changed, 0 insertions, 0 deletions