cpqhp_hardware_test(9)
π cpqhp_hardware_test(9) β the Kernel API Manual page, but make it make sense π
okay so bestie, welcome to the <pink>Kernel API Manual</pink> β¨ this one's called cpqhp_hardware_test(9) and honestly? it's giving "the hot-plug girlies needed a little playground" πΈ let's get into it π¦
π§ NAME
cpqhp_hardware_test β runs hardware tests π
that's it, that's the whole job, and she does it slayfully π
β SYNOPSIS
int cpqhp_hardware_test (struct controller *ctrl , int test_num );
like, that's the signature, keep it exactly like that, no notes π
π ARGUMENTS
ctrlβ the target controller π«Ά like, which controller are we testing? this one. her. main character energy.test_numβ ngl this is literally just the number written to the"test"file in sysfs π so whatever number you drop in sysfs? that's the number that ends up here. iykyk.
π DESCRIPTION
okay so, the actual description, verbatim vibe-wise: for hot plug ctrl folks to play with. π
like, that's genuinely it β this is the lil' sandbox for the hot plug controller people to mess around with. no cap, that's the entire description, and honestly the brevity ate πβ¨
π₯ SEE ALSO
hiii bestie here's the whole friend group, all the kernel-file adjacent besties from ./drivers/pci/hotplug/cpqphp_ctrl.c π
cpqhp_find_slot(9)sort_by_size(9)sort_by_max_size(9)do_pre_bridge_resource_split(9)do_bridge_resource_split(9)get_io_resource(9)get_max_resource(9)get_resource(9)cpqhp_resource_sort_and_combine(9)cpqhp_slot_create(9)slot_remove(9)bridge_slot_remove(9)cpqhp_slot_find(9)set_controller_speed(9)board_replaced(9)board_added(9)remove_board(9)cpqhp_pushbutton_thread(9)switch_leds(9)configure_new_device(9)configure_new_function(9)
and if you're reading this in the source tree, the kernel file to check is ./drivers/pci/hotplug/cpqphp_ctrl.c β go say hi π«Ά
and that's the whole page, bestie!! π shoutout to ./drivers/pci/hotplug and <purple>October 2026</purple> for the stamp of approval at the bottom β mwah, love that for us πβ¨ 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