On Tue, 18 Jun 2024 17:28:29 +0200, Niklas Cassel wrote:
LPM consists of HIPM (host initiated power management) and DIPM (device initiated power management).
ata_eh_set_lpm() will only enable HIPM if both the HBA and the device supports it.
However, DIPM will be enabled as long as the device supports it. The HBA will later reject the device's request to enter a power state that it does not support (Slumber/Partial/DevSleep) (DevSleep is never initiated by the device).
[...]
Applied to libata/linux.git (for-6.10-fixes), thanks!
[1/1] ata: ahci: Do not enable LPM if no LPM states are supported by the HBA https://git.kernel.org/libata/linux/c/fa997b05
Kind regards,