sata_pmp_qc_...r_cmd_switch(9)
π sata_pmp_qc_...r_cmd_switch(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β yes this is a real page, yes the title got cut off with ... in the middle, no we're not gonna fix it, that's just how it's printed, iykyk π
πΈ NAME πΈ
sata_pmp_qc_defer_cmd_switch β literally the qc_defer hook for command switching PMP. that's it, that's the whole vibe π¦
β¨ SYNOPSIS β¨
int sata_pmp_qc_defer_cmd_switch (struct ata_queued_cmd *qc );
π ARGUMENTS π
qcβ the ATA command in question π like, the one we're deciding whether to hold back
π DESCRIPTION π
okay so here's the tea β β a host that has command switching PMP support cannot issue commands to multiple links simultaneously. not "shouldn't", not "prefers not to" β cannot. it's giving one-at-a-time energy, fr fr π
LOCKING: spin_lock_irqsave(host lock) π β yes, that exact form, don't get cute with it
π RETURN π
ATA_DEFER_* if deferring is needed, 0 otherwise. π«Ά that's the whole decision tree, slay
π¦ SEE ALSO π¦
Kernel file ./drivers/ata/libata-pmp.c β go read it, it's iconic π
sata_pmp_read(9)sata_pmp_write(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_eh_recover(9)sata_pmp_error_handler(9)
and that's the page!! π mwah π this one comes to you from ./drivers/ata, dated October 2026 β so like, future vibes only β go forth and defer responsibly, bestie π§ββοΈπ
π¦ 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