selftest_interrupt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– selftest_interrupt(9) πŸ’–

okay so bestie, welcome to the selftest_interrupt page β€” it lives in section 9 of the Kernel API Manual, and honestly? it's short, it's sweet, and it does exactly one thing. main character energy fr fr.


✨ NAME ✨

selftest_interrupt β€” Perform interrupt test. 🫢 that's it, that's the whole vibe.


🌸 SYNOPSIS 🌸

int selftest_interrupt (struct qed_dev *cdev );
no cap, that's the entire signature. one function, one pointer, one int coming back at you. iconic πŸ’…

πŸ¦‹ ARGUMENTS πŸ¦‹

  • cdev β€” the Qed dev pointer. that's your device handle bestie, she's a struct qed_dev * and you literally cannot run this test without her πŸ’œ

πŸŽ€ RETURN πŸŽ€

  • 0 β€” slay, success ✨
  • anything else β€” 😭 error, something went sideways, it's giving "not my finest moment"

so like, zero is the good number. anything that isn't zero means take the L and go investigate.


🌈 SEE ALSO 🌈

okay this is the part where the page goes absolutely feral with cross-references, and I am obsessed. first up, the kernel file:

  • Kernel file ./include/linux/qed/qed_if.h πŸ“ β€” the header where all this lives, iykyk

and then the whole friend group, alphabetically-ish in the order the manpage gives them (do not come for me about the ordering, it's canon):

like, that's the whole squad 🧚 go read them too, they're all sitting right there waiting for you πŸ’–


mwah, that's the page! written by the ./include/linux/qed girlies, dated October 2026 β€” catch you in the next one bestie, ily, go test those interrupts πŸ¦‹πŸ’œβœ¨

πŸ“¦ where this page comes from