sata_pmp_revalidate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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