vfio_ap_irq_disable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🫢 vfio_ap_irq_disable(9) 🫢

okay so welcome to the Kernel API Manual, bestie β€” this page is literally all about vfio_ap_irq_disable(9), and it's giving β€œdisable the interrupt, clear the interrupt, handle the resources” energy. πŸ’…βœ¨


✨ NAME ✨

vfio_ap_irq_disable β€” disables and clears an ap_queue interrupt. periodt. πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

struct ap_queue_status vfio_ap_irq_disable (struct vfio_ap_queue *q );

πŸŽ€ ARGUMENTS πŸŽ€

  • q β€” the vfio_ap_queue. that's the whole argument, she's simple and iconic. πŸ¦‹

πŸ’– DESCRIPTION πŸ’–

okay so the function uses ap_aqic to disable the interruption, and in case of success, reset in progress or IRQ disable command already proceeded, it does the little two-step: it calls vfio_ap_wait_for_irqclear to check for the IRQ bit to be clear, and it calls vfio_ap_free_aqic_resources to free the resources associated with the AP interrupt handling. slay. ✨

in the case the AP is busy, or a reset is in progress, it retries after 20ms, up to 5 times. no cap, she's persistent. πŸ’€

it returns if ap_aqic function failed with invalid, deconfigured or checkstopped AP. like, that's the bail-out vibe. 🫢

🌈 RETURN 🌈

returns a struct ap_queue_status. that's it, that's the return. πŸ’š

πŸ”₯ SEE ALSO πŸ”₯

peep the Kernel file ./drivers/s390/crypto/vfio_ap_ops.c, plus all these iconic (9) references β€” every single one is invited to the group chat: πŸ‘‘


mwah πŸ’‹ this cutie came from ./drivers/s390/crypto, dated October 2026, and the page is literally vfio_ap_irq_disable(9) β€” bye bestie, drink water! πŸ«ΆπŸ’–

πŸ“¦ where this page comes from