hl_fw_boot_fit_update_state(9)
π hl_fw_boot_fit_update_state(9) β Kernel API Manual β¨
okay so bestie, welcome to the Kernel API Manual for hl_fw_boot_fit_update_state β yes that's a whole mouthful, we're gonna get through it together π«Ά
πΈ NAME πΈ
hl_fw_boot_fit_update_state β update internal data structures after boot-fit is loaded
like, the boot-fit gets loaded, and then this lil function goes in and tidies up the internal data structures. housekeeping era π β¨
π¦ SYNOPSIS π¦
void hl_fw_boot_fit_update_state (struct hl_device *hdev , u32 cpu_boot_dev_sts0_reg , u32 cpu_boot_dev_sts1_reg );
literally the whole signature, character for character, no cap π―
π ARGUMENTS π
hdevβ pointer to the habanalabs device structure. the main character of this whole operation, honestly πcpu_boot_dev_sts0_regβ register holding CPU boot dev status 0. yes bestie, status zero, the first one πcpu_boot_dev_sts1_regβ register holding CPU boot dev status 1. and here's status one, the sequel π
β¨ DESCRIPTION β¨
here's what the page says, verbatim energy: it returns 0 on success, otherwise a non-zero error code.
and yeah, we're all just gonna sit with the fact that the return type up in the synopsis is void π the manpage said what it said, bestie, we don't fact-check the manpage, we just relay the message π
π₯ SEE ALSO π₯
Kernel file ./drivers/accel/habanalabs/common/firmware_if.c β that's where the source lives, iykyk π§
and now the whole friend group, in the exact order they were listed, because we do not skip anyone:
hl_fw_version_cmp(9)extract_u32_until_given_char(9)hl_get_sw_major_minor_subminor(9)hl_get_preboot_major_minor(9)hl_release_firmware(9)hl_fw_copy_fw_to_device(9)hl_fw_copy_msg_to_device(9)hl_fw_load_fw_to_device(9)hl_fw_send_cpu_message(9)hl_fw_preboot_update_state(9)hl_fw_dynamic_report_error_status(9)hl_fw_dynamic_send_cmd(9)hl_fw_dynamic_extract_fw_response(9)hl_fw_dynamic_wait_for_status(9)hl_fw_dynamic_send_clear_cmd(9)hl_fw_dynamic_send_protocol_cmd(9)hl_fw_compat_crc32(9)hl_fw_dynamic_validate_memory_bound(9)hl_fw_dynamic_validate_descriptor(9)hl_fw_dynamic_read_and_validate_descriptor(9)hl_fw_dynamic_request_descriptor(9)hl_fw_dynamic_read_device_fw_version(9)hl_fw_dynamic_copy_image(9)hl_fw_dynamic_copy_msg(9)hl_fw_dynamic_load_image(9)hl_fw_linux_update_state(9)hl_fw_dynamic_send_msg(9)hl_fw_dynamic_init_cpu(9)hl_fw_static_init_cpu(9)hl_fw_init_cpu(9)
that's thirty entries bestie, we counted, we listed, we did not cut a single one ππ
πΊ the cute sign-off πΊ
this page comes from ./drivers/accel/habanalabs/common, dated October 2026, and it's all about hl_fw_boot_fit_update_state(9) π
kiss kiss, go read the source, slay ππ
π¦ 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