soctherm_edp_isr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… soctherm_edp_isr πŸ’…

okay so this is a page straight out of the Kernel API Manual (yes, that Kernel API Manual) and it's all about one very specific little interrupt handler bestie, soctherm_edp_isr. her whole personality? turning interrupts off. iconic behavior honestly.


✨ NAME ✨

soctherm_edp_isr β€” literally just disables any active interrupts, that's it, that's her whole job πŸŽ€


🌸 SYNOPSIS 🌸

irqreturn_t soctherm_edp_isr (int irq , void *arg );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • irq β€” the interrupt request number, aka which interrupt we're talking about πŸ’«
  • arg β€” an opaque pointer to an argument. opaque means don't ask questions, just pass it through, iykyk πŸ™ˆ

πŸ”₯ DESCRIPTION πŸ”₯

okay so the whole vibe here: she writes the over current interrupt status into the OC_INTR_DISABLE register, which masks any asserted interrupts. why? so the exact same interrupts don't keep triggering this isr over and over again like a group chat you forgot to mute πŸ’€. the thread that gets woken up by this isr is the one who actually handles the asserted interrupts and then goes and unmasks/re-enables them. teamwork, no cap.

and just so we're clear, the OC_INTR_DISABLE register is the one that indicates which OC interrupts have been disabled. she's keeping receipts ✨


⭐ RETURN ⭐

IRQ_WAKE_THREAD β€” the handler is politely requesting to wake the handler thread 🫢


🧚 SEE ALSO 🧚

all her friends, and there are a LOT of them, so buckle up bestie:

Kernel file ./drivers/thermal/tegra/soctherm.c, ccroc_writel(9), ccroc_readl(9), enforce_temp_range(9), thermtrip_program(9), throttrip_program(9), tegra_soctherm_set_hwtrips(9), soctherm_thermal_isr_thread(9), soctherm_oc_intr_enable(9), soctherm_handle_alarm(9), soctherm_edp_isr_thread(9), soctherm_oc_irq_lock(9), soctherm_oc_irq_sync_unlock(9), soctherm_oc_irq_enable(9), soctherm_oc_irq_disable(9), soctherm_oc_irq_map(9), soctherm_irq_domain_xlate_twocell(9), soctherm_oc_int_init(9), soctherm_init_hw_throt_cdev(9), throttlectl_cpu_level_cfg(9), throttlectl_cpu_level_select(9), throttlectl_cpu_mn(9), throttlectl_gpu_level_select(9), soctherm_throttle_program(9) πŸ‘‘


lowkey a whole friend group of thermal functions. go read them too, fr fr πŸ“

okay that's the page!! mwah πŸ’– this one lives in ./drivers/thermal/tegra, and the version of this page you're holding is from October 2026 β€” so if you're reading this in the future, hi, slay, hope the interrupts are all behaving πŸ˜­πŸ‘‘

πŸ“¦ where this page comes from