ne_event_work_handler(9)
β¨ ne_event_work_handler π β from the Kernel API Manual, no cap
okay so bestie, gather round, because we're talking about the work queue handler for notifying enclaves on a state change received by the event interrupt handler. yes that's a mouthful, we'll get there π«Ά
πΈ NAME πΈ
ne_event_work_handler β the work queue handler that does the notifying. Specifically: notifying enclaves about a state change that the event interrupt handler picked up. that's the whole job. main character energy but make it a callback π
π SYNOPSIS π
void ne_event_work_handler (struct work_struct *work );
literally one argument, returns nothing, gets stuff done. periodt β¨
π¦ ARGUMENTS π¦
workβ this item right here contains the NE PCI device for which an out-of-band event was issued. so it's not just a work struct, it's carrying the device, iykyk π
π DESCRIPTION π
okay so here's the vibe check π₯ an out-of-band event gets issued by the Nitro Hypervisor when at least one enclave is changing state without client interaction. no client in the chat, the hypervisor just shows up and says "hey, something's shifting over here" and this handler is the one on the receiving end. iconic behaviour honestly π§
π CONTEXT π
Work queue context. that's it, that's the whole vibe. no sleeping in interrupt context shenanigans here ngl π
β SEE ALSO β
- Kernel file
./drivers/virt/nitro_enclaves/ne_pci_dev.cβ the Nitro Enclaves (NE) PCI device driver.(9) π NE_DEFAULT_TIMEOUT_MSECS(9) β°ne_submit_request(9) π€ne_retrieve_reply(9) π₯ne_wait_for_reply(9) β³ne_reply_handler(9) π¬ne_event_handler(9) π¨ne_setup_msix(9) π§ne_teardown_msix(9) π§Ήne_pci_dev_enable(9) βne_pci_dev_disable(9) βne_pci_probe(9) πne_pci_remove(9) πne_pci_shutdown(9) π
and that's the whole page bestie, go read the whole family of them fr fr πΈ
source/version: ./drivers/virt/nitro_enclaves β dated October 2026 π mwah, thanks for reading, ily, go touch grass and then come back and read more kernel docs π«Άβ¨
ne_event_work_handler(9) β that's the header, that's the manual name, we did it π
π¦ 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