vfio_ap_wait_for_irqclear(9)
π 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 π
- Kernel file
./drivers/s390/crypto/vfio_ap_ops.c 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_free_aqic_resources(9)vfio_ap_irq_disable(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)
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
- 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