hl_mmu_hr_f...p_remove_pgt(9)
π hl_mmu_hr_free_hop_remove_pgt(9) β the kernel API manual, but make it cute
okay so bestie, we're in section 9 of the Kernel API Manual today, and the star of the show is hl_mmu_hr_free_hop_remove_pgt. her whole vibe? free the HOP and yank the PGT out of the hash. that's it, that's the girl. π
β¨ NAME β¨
hl_mmu_hr_free_hop_remove_pgt β free HOP and remove PGT from hash π¦
like literally what it says on the tin. she frees a HOP, she removes a PGT from the hash. main character behaviour, no notes.
πΈ SYNOPSIS πΈ
void hl_mmu_hr_free_hop_remove_pgt (struct pgt_info *pgt_info , struct
hl_mmu_hr_priv *hr_priv , u32 hop_table_size );
it's a void, she returns nothing, she simply is. three arguments, all icons, all required. π
π ARGUMENTS π
pgt_infoβ the page table info structure. your PGT's whole personality lives in here, so hand her over gently. π«Άhr_privβ the MMU HR private data. yes it's private, yes we still need it, mind your business. πhop_table_sizeβ the HOP table size. it's au32, it's the size of that HOP table, and it matters. don't sleep on it. π
π₯ SEE ALSO π₯
the whole friend group, fr fr β nobody exists in a vacuum:
Kernel file ./drivers/accel/habanalabs/common/mmu/mmu.c
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_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)
go read them, they're all slay in their own way. π
ngl bestie, if you got here looking for a return value β there isn't one. void ate and left no crumbs. π
β and that's the page! brought to you by the Kernel API Manual, section 9, with the source living over at ./drivers/accel/habanalabs/com..., dated October 2026. literally iconic, 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