hl_unsecure_registers_range(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ NAME πŸ¦‹

hl_unsecure_registers_range(9) β€” your Kernel API Manual bestie with one very specific job: locate the relevant block for all register ranges and remove corresponding protection bit. No cap, that's the whole vibe. πŸ’…


✨ SYNOPSIS ✨

int hl_unsecure_registers_range (struct hl_device *hdev , const struct
range mm_reg_range_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 hl_device structure. Like, the device context bestie.
  • mm_reg_range_array β€” register address range array to unsecure. That's the target, periodt.
  • mm_array_size β€” register array size. Gotta know the size, obviously.
  • offset β€” additional offset to the register address. A little shift, big mood.
  • pb_blocks β€” blocks array.
  • sgs_array β€” pb array.
  • blocks_array_size β€” blocks array size.

🌈 SEE ALSO 🌈


That's the whole page, bestie 🫢 β€” source/version vibes are from ./drivers/accel/habanalabs/common, dated October 2026, and the page tag is hl_unsecure_registers_range(9). Byeee πŸ’–

πŸ“¦ where this page comes from