mcp_exceeded(9)
π mcp_exceeded(9) π
okay so bestie, welcome to the Kernel API Manual β yes that's the manual name, we're in the kernel docs bestie, put some respect on it β¨ this one's a lil function called mcp_exceeded and it's literally the vibe check for your chip's temperature and power budget π
β¨ NAME β¨
mcp_exceeded β the function that checks whether we're outside our thermal & power limits π₯΅π₯
πΈ SYNOPSIS πΈ
bool mcp_exceeded (struct ips_driver *ips );
that's it. that's the whole signature. short and iconic, no cap π
π¦ ARGUMENTS π¦
ipsβ the IPS driver struct π«Ά yes, the whole struct, handed over like a lil gift. that's what we're working with.
π DESCRIPTION π
okay so here's the tea β β this function checks whether the MCP is over its thermal or power budget. that's it. that's the whole job. it's giving "are we too hot or too hungry" and honestly? relatable ππ₯
β RETURN β
trueβ the temp or power has exceeded its maximum π₯΅π she's over budget, bestiefalseβ nope, we're chilling πβ¨
so like, binary. two outcomes. main character energy, no in-between π
β οΈ lowkey important: it says true if either the temp or the power has exceeded its maximum. not "and". or. we love an inclusive queen π
π SEE ALSO π
bestie there is a WHOLE squad here, and I need you to meet every single one of them, no skipping, fr fr π
Kernel file ./drivers/platform/x86/intel_ips.c β that's the home base, the mothership, go read it πΈ
ips_cpu_busy(9)ips_cpu_raise(9)ips_cpu_lower(9)do_enable_cpu_turbo(9)ips_enable_cpu_turbo(9)do_disable_cpu_turbo(9)ips_disable_cpu_turbo(9)ips_gpu_busy(9)ips_gpu_raise(9)ips_gpu_lower(9)ips_enable_gpu_turbo(9)ips_disable_gpu_turbo(9)cpu_exceeded(9)mch_exceeded(9)verify_limits(9)update_turbo_limits(9)ips_adjust(9)ips_monitor(9)ips_irq_handler(9)ips_detect_cpu(9)ips_get_i915_syms(9)
like, the entire friend group π«Ά cpu ones, gpu ones, turbo enable-y ones, turbo disable-y ones, the exceeded ones, the limits ones, the monitor, the irq handler, the detect, the i915 syms... everybody's here and everybody ate π β¨
and that's the page bestie!! π this lil beauty lives in ./drivers/platform/x86 and she was dated October 2026 β so jot that down, put it in your notes app, whatever you gotta do ππ ty for reading, ily, go check your thermal budget, periodt ππ
π¦ 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