hl_mmu_fini(9)
π hl_mmu_fini(9) β release the MMU module π
okay so welcome to the hl_mmu_fini(9) page from the Kernel API Manual β it's giving βlast one out, turn off the MMU lightsβ energy, and honestly? iconic. π
πΈ NAME πΈ
hl_mmu_fini β release the MMU module.
β¨ SYNOPSIS β¨
void hl_mmu_fini (struct hl_device *hdev );
π«Ά ARGUMENTS π«Ά
hdevβ habanalabs device structure. that's the habanalabs device struct you're handing over to this fini function, bestie. π«Ά
π DESCRIPTION π
okay so hl_mmu_fini does the following, bestie:
- Disable MMU in H/W. π
- Free the
pgt_infospool. π§
π¨ important vibe check: All contexts should be freed before calling this function. like, for real, don't skip this one. periodt.
π¦ SEE ALSO π¦
Kernel file ./drivers/accel/habanalabs/common/mmu/mmu.c
go check out these other icons too:
hl_mmu_get_funcs(9)hl_mmu_init(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)
mwah π β this page's source/version is ./drivers/accel/habanalabs/common/mmu/mmu.c, dated October 2026. now go free those contexts, disable that MMU in H/W, and slay your teardown. πβ¨
π¦ 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