vfio_ap_wait_for_irqclear(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… vfio_ap_wait_for_irqclear(9) β€” Kernel API Manual πŸ’…

okay so bestie, this is the Kernel API Manual page for vfio_ap_wait_for_irqclear, and it's lowkey a whole little vibe. let's get into it 🫢✨


✨ NAME ✨

  • vfio_ap_wait_for_irqclear β€” clears the IR bit or gives up after 5 tries πŸ’…

🌸 SYNOPSIS 🌸

void vfio_ap_wait_for_irqclear (int apqn );

πŸŽ€ ARGUMENTS πŸŽ€

  • apqn β€” The AP Queue number. that's the APQN you're checking on, periodt πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea: it checks the IRQ bit for the status of this APQN using ap_tapq. if the ap_tapq function succeeded and the bit is clear, it returns. if the ap_tapq function failed with invalid, deconfigured or checkstopped AP, it also returns. otherwise? it retries up to 5 times after waiting 20ms. no cap, that's the whole loop 🌈


πŸ’œ SEE ALSO πŸ’œ


okay bye bestie 🫢 this page lives in ./drivers/s390/crypto, it's dated October 2026, and it's serving vfio_ap_wait_for_irqclear(9) from the Kernel API Manual πŸ’…βœ¨πŸ’–

πŸ“¦ where this page comes from