xe_hw_error_irq_handler(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xe_hw_error_irq_handler(9) πŸ’…

okay bestie, so this little icon is from the Kernel API Manual and it's genuinely one of those "small function, big responsibility" situations 🫢 she handles the irq for hw errors, and honestly? she ate.


✨ NAME ✨

xe_hw_error_irq_handler β€” irq handling for hw errors πŸ”₯


πŸŽ€ SYNOPSIS πŸŽ€

void xe_hw_error_irq_handler (struct xe_tile *tile , const u32 master_ctl );

like, that's the whole signature. no notes. iconic.


🌸 ARGUMENTS 🌸

  • tile β€” the tile instance πŸ’– (yes, a tile, as in one of those, you know the one)
  • master_ctl β€” the value read from the master interrupt register ⭐

πŸ¦‹ DESCRIPTION πŸ¦‹

so. Xe platforms are extra and add three error bits to the master interrupt register to support error handling πŸ‘‘

these three bits are literally there to convey the class of error, and the classes are:

  • FATAL πŸ’€
  • NONFATAL 😭
  • CORRECTABLE ✨

to actually process the interrupt, you determine the source of the error by reading the Device Error Source Register β€” and bestie, you read the one that corresponds to the class of error being serviced 🎯 like, match the register to the class, no cap.


🌈 SEE ALSO 🌈


ngl, if you're deep in the error path at 3am, this page is your bestie fr fr πŸ’œ

okay that's the whole vibe check, mwah πŸ’… source/version is ./drivers/gpu/drm/xe, dated October 2026 β€” she's fresh, she's giving main character energy, periodt πŸ“πŸ‘‘

πŸ“¦ where this page comes from