eeh_disable_irq(9)
β¨ eeh_disable_irq β¨
okay so bestie, welcome to the Kernel API Manual entry for eeh_disable_irq π
this one's a tiny little function but it's doing important work, so let's get into it π«Ά
πΈ NAME πΈ
eeh_disable_irq β literally just: shut off the interrupt for the device that's currently in recovery mode π
π SYNOPSIS π
void eeh_disable_irq (struct eeh_dev *edev );
that's it. one argument. no return value (it's void, she gives nothing back and that's iconic of her) β¨
π¦ ARGUMENTS π¦
edevβ ngl the original docs just say -- undescribed -- π so likeβ¦ it's astruct eeh_dev *and that's genuinely all we're given. no cap, that's the whole description. take it up with the kernel docs bestie π
π DESCRIPTION π
okay so here's the vibe π β you must call this routine when you're reporting a temporary or permanent error to that specific PCI device, and the whole point is to disable the interrupt of that device. like, that's her job, that's her moment, main character energy π₯
and here's the slay part: if the device already has MSI or MSI-X interrupts enabled, you genuinely needn't do any real work at all π because EEH is already supposed to freeze DMA transfers for those PCI devices that hit EEH errors β and that freeze includes MSI and MSI-X. so like, the work's already done for you, you can just vibe π§
lowkey important: this isn't optional-flavoured advice β the doc says this routine must be called when reporting temporary or permanent errors to the particular PCI device. that's a must, bestie, not a maybe π
β SEE ALSO β
- Kernel file
./arch/powerpc/kernel/eeh_driver.c eeh_pcid_get(9)eeh_pcid_put(9)eeh_enable_irq(9)eeh_report_error(9)eeh_report_mmio_enabled(9)eeh_report_reset(9)eeh_report_resume(9)eeh_report_failure(9)eeh_reset_device(9)eeh_handle_normal_event(9)eeh_handle_special_event(9)
like, go read the whole eeh girlie squad, they all hang out together π
and that's the page!! mwah π stay hydrated, call eeh_disable_irq when you're supposed to, and remember β this little number lives in ./arch/powerpc/kernel and it's dated October 2026. periodt. π
π¦ 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