hl_unsecure_registers(9)
π
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 thehl_devicestructure. 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 bigmm_reg_arrayis. β¨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 π¦
- Kernel file
./drivers/accel/habanalabs/common/security.cβ the source file in question, iykyk. π₯ hl_get_pb_block(9)β related page, bestie. β¨hl_unset_pb_in_block(9)β also in the crew. πhl_unsecure_register(9)β linked reference, no cap. πhl_unsecure_register_range(9)β another one, periodt. πΈhl_unsecure_registers_range(9)β yes bestie, this one too. π¦hl_ack_pb_security_violations(9)β related function, literally. πhl_config_glbl_sec(9)β also here. π«Άhl_secure_block(9)β iconic reference. πhl_init_pb_with_mask(9)β related page. πhl_init_pb(9)β in the SEE ALSO lineup. βhl_init_pb_ranges_with_mask(9)β another linked one. πhl_init_pb_ranges(9)β also referenced. πhl_init_pb_single_dcore(9)β bestie-coded reference. π§hl_init_pb_ranges_single_dcore(9)β yep, this too. π₯hl_ack_pb_with_mask(9)β related function. πhl_ack_pb(9)β also listed. πhl_ack_pb_single_dcore(9)β and this one, periodt. π
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
- 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