ips_detect_cpu(9)
π ips_detect_cpu β the manual page, bestie edition π
okay so this is ips_detect_cpu(9) from the Kernel API Manual β yes, section 9, the fancy kernel-API section, we love her β¨ and she's about to tell you whether your CPU is cool enough to run IPS. spoiler: maybe. let's get into it π
πΈ NAME πΈ
ips_detect_cpu β literally just detecting whether the CPU supports IPS, that's the whole gig π
β¨ SYNOPSIS β¨
struct ips_mcp_limits * ips_detect_cpu (struct ips_driver *ips );
like... that's the signature. look at her. so clean. so iconic. π«Ά
π¦ ARGUMENTS π¦
ipsβ the IPS driver struct π« that's it, that's the argument. one (1) whole struct, and she's the driver struct. no notes.
π DESCRIPTION π
so the vibe here is: we take our list, and we walk it π β just strolling through, checking every entry, seeing if we're currently on a supported CPU. that's the whole mission. a little stroll. a little vibe check on your hardware π
and if we do find one? we return the limits for it. slay. that's it. that's the function. she's honestly so unproblematic π
no cap, this is the "are we supported or not" gatekeeper of the whole IPS situation. main character energy fr fr π
π RETURN π
you get back the ips_mcp_limits struct that matches the boot CPU β or NULL π« which, yeah, means nothing matched, and honestly? we've all been there babe. NULL is valid too. NULL is valid too. π
π§ SEE ALSO π§
where do we even START bestie, there's so much lore here:
- the kernel file
./drivers/platform/x86/intel_ips.cβ go read the source, iykyk π₯ 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)mcp_exceeded(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_get_i915_syms(9)
like... a whole friend group π«Ά go say hi to all of them. they all ate. π
π and that's the page!! big mwah to ./drivers/platform/x86 for the source/version vibes and to October 2026 for the date β this diva ips_detect_cpu(9) is officially signed off. bye bestie, go check your CPU π
β¨πΈ
π¦ 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