vfio_ap_irq_disable(9)
π«Ά 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β thevfio_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: π
get_update_locks_for_kvm(9)release_update_locks_for_kvm(9)get_update_locks_for_mdev(9)release_update_locks_for_mdev(9)get_update_locks_by_apqn(9)get_update_locks_for_queue(9)vfio_ap_mdev_get_queue(9)vfio_ap_wait_for_irqclear(9)vfio_ap_free_aqic_resources(9)vfio_ap_validate_nib(9)ensure_nib_shared(9)vfio_ap_irq_enable(9)vfio_ap_le_guid_to_be_uuid(9)handle_pqap(9)vfio_ap_mdev_verify_no_sharing(9)vfio_ap_mdev_validate_masks(9)assign_adapter_store(9)vfio_ap_mdev_unlink_adapter(9)unassign_adapter_store(9)assign_domain_store(9)unassign_domain_store(9)assign_control_domain_store(9)unassign_control_domain_store(9)vfio_ap_mdev_set_kvm(9)vfio_ap_mdev_unset_kvm(9)vfio_ap_mdev_resource_in_use(9)vfio_ap_mdev_hot_unplug_cfg(9)vfio_ap_mdev_cfg_remove(9)vfio_ap_mdev_on_cfg_remove(9)vfio_ap_filter_apid_by_qtype(9)vfio_ap_mdev_cfg_add(9)vfio_ap_mdev_on_cfg_add(9)vfio_ap_on_cfg_changed(9)
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
- 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