gaudi2_execute_soft_reset(9)
β¨ gaudi2_execute_soft_reset β¨
okay bestie, so this is a page straight out of the Kernel API Manual and it's all about gaudi2_execute_soft_reset, which is lowkey the gentlest way to tell your habanalabs device "hey... wake up, we're starting over π
". It's a soft reset. Not a hard one. We do not slam doors in this house.
πΈ NAME πΈ
gaudi2_execute_soft_reset β execute soft reset by driver/FW π«Ά
π SYNOPSIS π
int gaudi2_execute_soft_reset (struct hl_device *hdev , bool
driver_performs_reset , u32 poll_timeout_us );
she returns an int, she takes three args, she's iconic, periodt β¨
π¦ ARGUMENTS π¦
hdevβ pointer to the habanalabs device structure. like, this is the device. your main character. πdriver_performs_resetβtrueif driver should perform reset instead of f/w. yes bestie, you get to decide who does the resetting β the driver or the firmware. choose wisely πpoll_timeout_usβ time to wait for response from f/w. it's in microseconds, ngl, so it's giving "blink and you'll miss it" β
π DESCRIPTION π
This function executes soft reset based on if driver/FW should do the reset β iykyk, that's literally the whole vibe check: the driver_performs_reset flag says who's on reset duty, and this function makes it happen. no cap, that's it, that's the function π
π₯ SEE ALSO π₯
- Kernel file
./drivers/accel/habanalabs/gaudi2/gaudi2.c gaudi2_clear_qm_fence_counters_common(9)gaudi2_send_hard_reset_cmd(9)gaudi2_execute_hard_reset(9)
and that's a wrap, bestie π this page came to you from ./drivers/accel/habanalabs/gaudi2, dated October 2026 β mwah, go forth and soft-reset responsibly πβ¨
π¦ 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