The first patch is a fairly obvious fix. The second one needs testing. Dieter, Zhihao, Can you please try these patches to see if they resolve your issues with system low power state transitions ? Damien Le Moal (2): ata: libata-core: Do not try to set sleeping devices to standby ata: libata-core: Revert "ata: libata-core: Fix ata_pci_shutdown_one()" drivers/ata/libata-core.c | 75 ++++++++++++++++++++++++--------------- 1 file changed, 47 insertions(+), 28 deletions(-) -- 2.43.0