gaudi2_clea...nters_common(9)
π NAME π
gaudi2_clear_qm_fence_counters_common β bestie, this one clears the QM's fence counters, okay? That's the whole vibe β¨
π SYNOPSIS π
void gaudi2_clear_qm_fence_counters_common (struct hl_device *hdev , u32
queue_id , bool skip_fence );
π¦ ARGUMENTS π¦
hdevβ pointer to the habanalabs device structure. Like, the device itself, the main character π«Άqueue_idβ the queue whose fence counters we're clearing. Gotta know which queue we're doing this to, no cap πskip_fenceβ iftrue, set the maximum fence value on all the fence counters so nothing ever gets stuck on any fence value (so valid, honestly kinda iconic π). Otherwise, set all fence counters to0β that's the standard clear of fence counters, the classic, the original recipe π
π SEE ALSO π
- Kernel file
./drivers/accel/habanalabs/gaudi2/gaudi2.cβ literally the whole source, go read it iykyk π gaudi2_send_hard_reset_cmd(9)gaudi2_execute_hard_reset(9)gaudi2_execute_soft_reset(9)
That's the whole page, bestie β go clear those counters πβ¨ ngl this one's short but she ate. π
π§ Sign-off szn: this lil masterpiece lives under ./drivers/accel/habanalabs/gaudi2, manual name Kernel API Manual, and it's dated October 2026. 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