hl_mmu_get_funcs(9)
π hl_mmu_get_funcs(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β this is page hl_mmu_get_funcs(9) and it's literally the cutest little lookup ever, no cap π«Ά
πΈ NAME πΈ
hl_mmu_get_funcs β get MMU functions structure π
like... that's it. that's the whole job. it gets you the funcs. iconic.
β¨ SYNOPSIS β¨
struct hl_mmu_funcs * hl_mmu_get_funcs (struct hl_device *hdev , int
pgt_residency , bool is_dram_addr );
ngl the signature is a whole mood β three args, one pointer out, we love a clean return π¦
π ARGUMENTS π
hdevβ habanalabs device structure. yep, the device itself, main character energy πpgt_residencyβ page table residency. it's anint, it's about residency, that's the vibe πis_dram_addrβtrueif we need HMMU functions. emphasis on if we need HMMU functions β that's the whole check, iykyk π
πΌ DESCRIPTION πΌ
return appropriate MMU functions structure π«
that's the assignment and she ate fr fr β you hand it the args, it hands back the struct hl_mmu_funcs * that fits. periodt.
π₯ SEE ALSO π₯
Kernel file ./drivers/accel/habanalabs/common/mmu/mmu.c β yes bestie, that's where she lives π
and the whole friend group, literally the entire group chat of related pages:
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_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) π
lowkey a reminder that upstream says ./drivers/accel/habanalabs/com... for the source path β I'm not fixing that, I'm just reporting it exactly as given, bestie π
and that's the page !! π mwah π«Ά
β cute sign-off time: this lil gem comes from ./drivers/accel/habanalabs/com..., dated October 2026, and it's page hl_mmu_get_funcs(9) of the Kernel API Manual πβ¨π
π¦ 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