mips_cdmm_cpu_online(9)
π» mips_cdmm_cpu_online π»
okay bestie, welcome to the Kernel API Manual β yes this is a real man page from the kernel, and yes it's about mips_cdmm_cpu_online. let's get into it β¨
πΈ NAME πΈ
mips_cdmm_cpu_online β the callback for CPUHP ONLINE: it's literally the thing that brings up the CDMM bus. no cap, that's the whole job π«Ά
π SYNOPSIS π
int mips_cdmm_cpu_online (unsigned int cpu );
π¦ ARGUMENTS π¦
cpuβ anunsigned intholding the CPU number. that's it. that's the argument. icon behavior honestly π
β DESCRIPTION β
so this is a work_on_cpu callback function π and it's executed on a given CPU to do one of two things:
- discover CDMM devices on that CPU, or
- call the CDMM driver
cpu_upcallback for all the devices that were already discovered on that CPU.
it's used as a work_on_cpu callback function during initialisation β like its whole moment to shine β¨ and then, when CPUs are brought online, the function gets invoked directly on the hotplugged CPU. no middleman, main character energy fr fr π
π₯ SEE ALSO π₯
okay this list is long but we're not skipping a single one, periodt. go read these:
- Kernel file
./drivers/bus/mips_cdmm.c struct mips_cdmm_work_dev(9)mips_cdmm_void_work(9)mips_cdmm_int_work(9)BUILD_PERCPU_HELPER(9)mips_cdmm_driver_register(9)mips_cdmm_driver_unregister(9)struct mips_cdmm_bus(9)mips_cdmm_get_bus(9)mips_cdmm_cur_base(9)mips_cdmm_phys_base(9)mips_cdmm_setup(9)mips_cdmm_early_probe(9)mips_cdmm_release(9)mips_cdmm_bus_discover(9)BUILD_PERDEV_HELPER(9)mips_cdmm_cpu_down_prep(9)mips_cdmm_init(9)
and that's the whole page, bestie!! π huge shoutout to the source at ./drivers/bus and this October 2026 version, mwah π slay, go bring up those buses πβ¨
π¦ 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