sata_pmp_eh_recover(9)
β¨ 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 π₯
0on success β we love a clean win π-errnoon 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 π
sata_pmp_read(9)sata_pmp_write(9)sata_pmp_qc_defer_cmd_switch(9)sata_pmp_scr_read(9)sata_pmp_scr_write(9)sata_pmp_set_lpm(9)sata_pmp_read_gscr(9)sata_pmp_attach(9)sata_pmp_detach(9)sata_pmp_same_pmp(9)sata_pmp_revalidate(9)sata_pmp_revalidate_quick(9)sata_pmp_eh_recover_pmp(9)sata_pmp_error_handler(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms