In Serial ATA AHCI 1.3.1, how to drop phyready unexpectedly

If the PhyRdy signal dropped during the middle of a command, the HBA may have to be restarted. If the PhyRdy signal dropped outside of a FIS, neither the PxIS.IFS nor the PxIS.INFS bits shall be set.

how to drop phy-ready in middle of command ?

Welcome @muku_kr! I’m not much of an expert on the Serial ATA AHCI protocol, but I was at least able to find this document that may be able to help you:

Specifically, on page 98, I see a mention of “Phy Ready” on the bottom of a page which introduces power management. I hope this helps!

thanks it was for expected & am looking for unexpected conditions!