vio_cmo_bus_probe(9)
π vio_cmo_bus_probe(9) π
okay bestie so this is a page straight out of the Kernel API Manual, and it's all about vio_cmo_bus_probe β the little function that handles all the CMO-specific bus probe activities. yes she's niche. yes she's iconic. let's get into it π«Ά
β¨ NAME β¨
vio_cmo_bus_probe β handles the CMO specific bus probe activities, no cap πΈ
π¦ SYNOPSIS π¦
int vio_cmo_bus_probe (struct vio_dev *viodev );
that's it. that's the whole vibe. one function, one argument, main character energy only π
π ARGUMENTS π
viodevβ okay so the manpage literally just says-- undescribed --for this one π but don't panic, the description below has the tea: it's a pointer tostruct vio_devfor the device.
π DESCRIPTION π
So viodev is a pointer to struct vio_dev for the device. Cool cool cool.
What this function actually does: it determines the device's IO memory entitlement needs, and here's the strategy β it tries to satisfy the system minimum entitlement first, then it schedules a balance operation to take care of the rest at a later time. literally "handle the urgent stuff now, circle back for the rest" and honestly that's such a mood β
π₯ RETURN π₯
0β success, slay, we ate π-EINVALβ returned when the device doesn't support CMO, so sorry bestie π-ENOMEMβ returned when entitlement is not available for the device or for the device entry π
π SEE ALSO π
Kernel file ./arch/powerpc/platforms/pseries/vio.c, and the whole friend group:
vio_cmo_alloc(9)vio_cmo_dealloc(9)vio_cmo_entitlement_update(9)vio_cmo_balance(9)vio_cmo_set_dev_desired(9)vio_cmo_bus_remove(9)vio_cmo_bus_init(9)vio_h_cop_sync(9)vio_match_device(9)vio_unregister_driver(9)vio_register_device_node(9)vio_bus_init(9)vio_get_attribute(9)vio_find_node(9)
and that's the whole page, bestie!! π biggest kiss to the ./arch/powerpc/platforms/pseries girlies, this one's dated October 2026, and it's still serving vio_cmo_bus_probe(9) realness β¨ππ¦
π¦ 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