tsens_critical_irq_thread(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to tsens_critical_irq_thread(9) from the Kernel API Manual ✨ β€” it's literally the threaded handler for critical interrupts. that's the vibe. that's the job. πŸ’…

πŸŽ€ SYNOPSIS πŸŽ€

irqreturn_t tsens_critical_irq_thread (int irq , void *data );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • irq β€” the irq number. yes, literally the irq number, bestie.
  • data β€” tsens controller private data. it's giving "controller private data" and we respect it. πŸ’–

🌸 DESCRIPTION 🌸

okay so here's the lore: it checks the FSM watchdog bark status and clears it if needed πŸ”₯. then it checks all the sensors to find the ones that violated their critical threshold limits. then it clears and then re-enables the interrupt. periodt.

and here's the cute little edge case: the level-triggered interrupt might deassert if the temperature returned to within the threshold limits by the time the handler got scheduled πŸ‘€. in that case, we consider the irq to have been handled. no cap. πŸ’…

πŸ’œ RETURN πŸ’œ

IRQ_HANDLED β€” that's the return, bestie. that's it. iconic. ✨

🌈 SEE ALSO 🌈

the kernel file ./drivers/thermal/qcom/tsens.c is the main character here, and these are its besties:


and that's the page, bestie 🫢 β€” source/version is ./drivers/thermal/qcom, dated October 2026, and it's all for tsens_critical_irq_thread(9). stay critical, stay threaded. πŸŽ€πŸ’–βœ¨

πŸ“¦ where this page comes from