gaudi_handl..._pqes_on_err(9)
π gaudi_handl..._pqes_on_err(9) β Kernel API Manual
okay so bestie, welcome to the kernel API manual for gaudi_handle_last_pqes_on_err β yes the title gets truncated in the header, that's just how it vibes, the full name is right down there in NAME. iykyk π
β¨ NAME β¨
gaudi_handle_last_pqes_on_err β literally just print the last PQEs when an error happens. that's the whole job. iconic, honestly π¦
πΈ SYNOPSIS πΈ
void gaudi_handle_last_pqes_on_err (struct hl_device *hdev , u32
qid_base , u32 stream , u64 qman_base , u64 event_mask , bool pr_sw_conf
);
no cap, that's the whole signature. copy it exactly, don't be cute with it π
π§ ARGUMENTS π§
okay so here's the cast of characters, main character energy only:
hdevβ pointer to the habanalabs device structure. the device. the moment. the whole context, fr.qid_baseβ first QID of the QMAN (out of 4 streams). yes, out of 4 streams, keep that detail, it matters πstreamβ the QMAN's stream. just the one. the stream in question.qman_baseβ base address of the QMAN registers block. where the registers live πevent_maskβ mask of the last events that occurred. like, what just happened, but as a mask β¨pr_sw_confβ iftrue, print the SW config stream data (CQ PTRandSIZE). if it'sfalse, it simply does not. obsessed with a boolean that tells the truth π«Ά
π₯ SEE ALSO π₯
- Kernel file
./drivers/accel/habanalabs/gaudi/gaudi.c gaudi_fetch_psoc_frequency(9)gaudi_handle_sw_config_stream_data(9)handle_qman_data_on_err(9)gaudi_set_asic_funcs(9)
go read those next bestie, they're all right there in the same little gaudi family π
π friendly reminder that this page is literally just the function docs β no extra lore, no secret behaviour, nothing invented. what you see is what you get, fr fr.
and that's the whole page! slay π this came from the ./drivers/accel/habanalabs/gaudi source, dated October 2026 β love that for us, mwah ππ
π¦ 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