eeh_disable_irq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 a struct 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 ⭐

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