sata_pmp_revalidate(9)
π
sata_pmp_revalidate(9) β revalidate SATA PMP
okay so bestie, this page is sata_pmp_revalidate(9) from the Kernel API Manual, and it's literally here to tell you how to revalidate a SATA PMP. iconic β¨
β¨ NAME β¨
sata_pmp_revalidate β revalidate SATA PMP π«Ά
πΈ SYNOPSIS πΈ
int sata_pmp_revalidate (struct ata_device *dev , unsigned int new_class
);
π ARGUMENTS π
devβ the PMP device to revalidate. that's the main character here πnew_classβ the new class code. yes ma'am, a whole new class code π
π¦ DESCRIPTION π¦
Re-reads the GSCR block and makes sure dev is still attached to the port and properly configured. no cap, it's doing a whole vibe check on that PMP π₯
LOCKING: kernel thread context (may sleep). so yeah, it's allowed to snooze π
β RETURN β
0 on success, -errno otherwise. slay when it's zero, weep softly when it's negative π
π SEE ALSO π
Kernel file ./drivers/ata/libata-pmp.c, plus the whole squad: 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_quick(9), sata_pmp_eh_recover_pmp(9), sata_pmp_eh_recover(9), and sata_pmp_error_handler(9). iykyk π§
cute little sign-off: source/version is ./drivers/ata, dated October 2026, and the page is sata_pmp_revalidate(9). periodt ππ
π¦ 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