sata_pmp_eh_recover(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

sata_pmp_eh_recover β€” bestie, this is the one that recovers a PMP-enabled port πŸ’…


🫢 SYNOPSIS 🫢

int sata_pmp_eh_recover (struct ata_port *ap );

πŸŽ€ ARGUMENTS πŸŽ€

  • ap β€” the ATA port you want to recover, no cap 🫢

πŸ’– DESCRIPTION πŸ’–

Okay so picture this: sata_pmp_eh_recover drives the EH recovery operation for the PMP-enabled port ap. She's the main character who actually gets the host and the PMP ports back on their feet, and the way she does it is with proper retrials and fallbacks β€” like, she's not just gonna give up on the first try, that's not her vibe 😭

The actual heavy lifting of the recovery operations is performed using ata_eh_recover and sata_pmp_eh_recover_pmp. She's the coordinator, they're the ones doing the work, iconic team effort fr fr πŸ”₯

LOCKING: Kernel thread context β€” and yes, she may sleep 😴 which honestly same.


πŸ”₯ RETURN πŸ”₯

  • 0 on success β€” we love a clean win πŸ‘‘
  • -errno on failure β€” it's giving error code, but at least it's a specific error code πŸ’€

🌈 SEE ALSO 🌈

Kernel file ./drivers/ata/libata-pmp.c β€” go read it, iykyk πŸ“–


okay that's the whole page bestie, you ate that πŸ“βœ¨ β€” this little love letter lives in ./drivers/ata, dated October 2026, and it's officially signed sata_pmp_eh_recover(9) πŸŽ€πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from