hl_unsecure_registers(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… hl_unsecure_registers(9) β€” Kernel API Manual πŸ’…

πŸ’– NAME πŸ’–

hl_unsecure_registers β€” locate the relevant block for all registers and remove corresponding protection bit. That's the whole vibe, bestie: find the relevant block for all registers and remove the corresponding protection bit. Slay. ✨


🌸 SYNOPSIS 🌸

Okay so the signature is literally this, character for character:

int hl_unsecure_registers (struct hl_device *hdev , const u32
       mm_reg_array[] , int mm_array_size , int offset , const u32 pb_blocks[]
       , struct hl_block_glbl_sec sgs_array[] , int blocks_array_size );

πŸŽ€ ARGUMENTS πŸŽ€

  • hdev β€” pointer to the hl_device structure. That's your device struct, bestie, no cap. 🫢
  • mm_reg_array β€” register address array to unsecure. It's giving "iconic little array of register addresses." πŸ’…
  • mm_array_size β€” register array size. Literally how big mm_reg_array is. ✨
  • offset β€” additional offset to the register address. Add it on, periodt. πŸŽ€
  • pb_blocks β€” blocks array. The blocks array, exactly as named. πŸ¦‹
  • sgs_array β€” pb array. The pb array, fr fr. 🌸
  • blocks_array_size β€” blocks array size. Size of the blocks array, slay. πŸ’–

πŸ¦‹ SEE ALSO πŸ¦‹


That's the page, bestie! πŸ’– Source/version: ./drivers/accel/habanalabs/common Β· Date: October 2026 Β· Manual page: hl_unsecure_registers(9). Byeee βœ¨πŸ’…

πŸ“¦ where this page comes from