i91u_intr(9)
π i91u_intr(9) β the IRQ handler one π
okay so real talk, this is a page from the Kernel API Manual and it's about i91u_intr, which is literally the IRQ handler. yes that kind of handler. interrupt queen behavior β¨
β¨ NAME β¨
i91u_intr β IRQ handler π
like⦠the function that shows up when the interrupt walks in the door. no cap.
π¦ SYNOPSIS π¦
irqreturn_t i91u_intr (int irqno , void *dev_id );
bestie look at that return type. irqreturn_t. it's giving "I take my job seriously" π
πΈ ARGUMENTS πΈ
irqnoβ the IRQ number β¨ like, which interrupt are we even talking about, y'know?dev_idβ the IRQ identifier π«Ά the little tag that tells you which device this whole situation belongs to
π DESCRIPTION π
okay so here's the tea β β i91u_intr takes the relevant locks first, and then it invokes the actual isr processing code while it's holding that lock. π
that's it. that's the whole vibe. lock first, then do the isr work under the lock. no skipping ahead, no main character shortcuts. periodt π
ngl the lock ordering is not a suggestion, it's the whole point. respect it π
π₯ SEE ALSO π₯
the friend group π (kernel file ./drivers/scsi/initio.c and everyone in it):
initio_se2_instr(9)initio_se2_ew_en(9)initio_se2_ew_ds(9)initio_se2_rd(9)initio_se2_wr(9)initio_se2_rd_all(9)initio_se2_update_all(9)initio_read_eeprom(9)initio_stop_bm(9)initio_reset_scsi(9)initio_init(9)initio_alloc_scb(9)initio_release_scb(9)initio_next_state(9)initio_state_1(9)initio_state_2(9)initio_state_3(9)initio_state_4(9)initio_state_5(9)initio_state_6(9)initio_state_7(9)initio_xfer_data_in(9)initio_xfer_data_out(9)int_initio_scsi_rst(9)int_initio_resel(9)int_initio_bad_seq(9)initio_msgout_abort_targ(9)initio_msgout_abort_tag(9)initio_msgin(9)initio_bus_device_reset(9)initio_build_scb(9)i91u_queuecommand_lck(9)i91u_bus_reset(9)i91u_biosparam(9)i91u_unmap_scb(9)initio_remove_one(9)
that's the whole squad, one to thirty-six, all accounted for π iykyk.
okay that's the page!! sending you off with the source deets: this one lives under ./drivers/scsi, and it's dated October 2026 ποΈβ¨ go forth and handle those interrupts, bestie β slay π
ππ
π¦ 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