soctherm_edp_isr(9)
π 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
- 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