vio_cmo_bus_remove(9)
π vio_cmo_bus_remove(9) π
ok so bestie, this is a page straight out of the Kernel API Manual and it's about vio_cmo_bus_remove β say that three times fast, i dare you π«Ά. It's giving very niche, very powerpc, very "iykyk" energy, and honestly? obsessed.
β¨ NAME β¨
vio_cmo_bus_remove β the function that handles all the CMO-specific bus removal activities π
πΈ SYNOPSIS πΈ
void vio_cmo_bus_remove (struct vio_dev *viodev );
that's it, that's the whole signature, no cap β¨
π¦ ARGUMENTS π¦
viodevβ ngl the original page literally just says "-- undescribed --" π but don't panic, the DESCRIPTION comes in clutch and tells you it's a pointer tostruct vio_devfor the device. so like, mystery solved bestie π
π DESCRIPTION π
okay so here's the tea β: viodev is a pointer to the struct vio_dev for the device you're dealing with.
What this function does is remove the device from the cmo device list. and here's the important part, so pay attention π
The minimum entitlement will be reserved for the device for as long as it is in the system. like, it keeps that baseline no matter what, periodt.
The rest of the entitlement that the device had been allocated? yeah, that gets returned to the system. giving back what's not needed, we love a generous icon ππΈ
π₯ SEE ALSO π₯
the whole friend group, fr fr:
- Kernel file
./arch/powerpc/platforms/pseries/vio.c 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_probe(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)
π reminder bestie: this is kernel-space, so treat it with the respect it deserves. main character energy only β¨
and that's the page!! π mwah π
sign-off szn: this little masterpiece lives in ./arch/powerpc/platforms/pseries, dated October 2026 β go off, powerpc era ππ¦β¨
π¦ 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