hl_mmu_hr_get_pte(9)
π
hl_mmu_hr_get_pte β increase PGT PTE count β¨
okay so bestie, welcome to the Kernel API Manual page for hl_mmu_hr_get_pte(9) β yes that's a whole mouthful, iykyk. this one's short and sweet but she's important, okay? let's get into it π
πΈ NAME πΈ
hl_mmu_hr_get_pte β bump up the PGT PTE count, periodt π₯
β¨ SYNOPSIS β¨
void hl_mmu_hr_get_pte (struct hl_ctx *ctx , struct hl_hr_mmu_funcs
*hr_func , u64 phys_hop_addr );
no return value, no drama β she just does her thing and dips π
π¦ ARGUMENTS π¦
ctxβ pointer to the context structure. like, the whole vibe of the operation lives in here π«Άhr_funcβ host resident functions. the host-side function crew, iconic behavior only πphys_hop_addrβ HOP phys address. that's the physical address of the HOP, no cap π
β SEE ALSO β
- Kernel file
./drivers/accel/habanalabs/common/mmu/mmu.cβ literally the source, go read it bestie π
and the whole friend group of sibling functions, all linked up:
hl_mmu_get_funcs(9)hl_mmu_init(9)hl_mmu_fini(9)hl_mmu_ctx_init(9)hl_mmu_scramble_addr(9)hl_mmu_descramble_addr(9)hl_mmu_get_hop_pte_phys_addr(9)hl_mmu_hr_pool_destroy(9)hl_mmu_hr_init(9)hl_mmu_hr_fini(9)hl_mmu_hr_free_hop_remove_pgt(9)hl_mmu_hr_pte_phys_to_virt(9)hl_mmu_hr_write_pte(9)hl_mmu_hr_clear_pte(9)hl_mmu_hr_put_pte(9)hl_mmu_hr_get_next_hop_pgt_info(9)hl_mmu_hr_alloc_hop(9)hl_mmu_hr_get_alloc_next_hop(9)hl_mmu_hr_get_tlb_info(9)
like the whole friend group showed up to the group chat π«Άβ¨
ngl if you're looking for the put version of this, that's hl_mmu_hr_put_pte(9) β she's up in the SEE ALSO too. don't leave her on read π
and that's the whole page bestie, you ate that π β¨
cute little sign-off: this one's brought to you by the source file ./drivers/accel/habanalabs/com... (yes it's truncated, that's how she came, don't come for me π), dated October 2026 β main character energy fr fr πππ
π¦ 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