So technically it can be 255 ms :) Note that we do actually read and save DETO: https://github.com/torvalds/linux/blob/v6.16-rc4/drivers/ata/libahci.c#L2293-L2295 But like you said below, with this patch, we should be able to remove the sleep if we wanted, so I don't think that we necessarily need to increase it. > > > From a cursory glance we just continue, and (apparently) hope that > > everything will be well eventually. > > Hmm? > > It is fine to continue because transitions out of DIPM/HIPM/DevSleep are > automatic if you send a command. So we actually do not need to wait at all and > probably can remove that 10ms sleep in sata_link_scr_lpm(). But I have not for now.