hl_mmu_scramble_addr(9)
π hl_mmu_scramble_addr(9) β the kernel API manual, bestie edition
okay so picture this: you're deep in the hl_mmu lore (yes, that's a thing, it's section 9 of the kernel API manual, iykyk) and you need the generic mmu address scrambling routine. That's literally her. That's the whole vibe of this page. πβ¨
πΈ NAME πΈ
hl_mmu_scramble_addr β the generic mmu address scrambling routine. no cap, that's the entire job description and she ate. π
π SYNOPSIS π
u64 hl_mmu_scramble_addr (struct hl_device *hdev , u64 addr );
she takes two things and gives you one thing back. iconic behavior honestly. π«Ά
π¦ ARGUMENTS π¦
hdevβ pointer to device data. it's giving "here's my whole entire device, bestie". πaddrβ The address to scramble. the main character of this function fr fr. π₯
β RETURN β
The scrambled address. that's it, that's the gift. a freshly scrambled address, handed to you, no notes. πβ¨
π SEE ALSO π
the kernel file where all the magic lives:
./drivers/accel/habanalabs/common/mmu/mmu.c
and now the whole friend group, because she does NOT operate alone, periodt:
hl_mmu_get_funcs(9)hl_mmu_init(9)hl_mmu_fini(9)hl_mmu_ctx_init(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)
like, the whole hl_mmu_hr_* squad showed up. a true ensemble cast. ππ
ngl, if you were looking for drama or danger on this page β no undefined behavior, no deprecated flags, nothing cursed. just a clean little scramble. we love a low-stakes queen. π
and that's the page! brought to you by the source path ./drivers/accel/habanalabs/com... (she's long, she got truncated, we still love her), dated October 2026, and filed under hl_mmu_scramble_addr(9). mwah, go scramble something. πβ¨ππ¦
π¦ 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