hl_ack_pb_single_dcore(9)
π hl_ack_pb_single_dcore π
okay so bestie, welcome to the Kernel API Manual β¨ we're in the kernel-adjacent part of the manual-page world today, and this function is a whole vibe. Let's get into it π«Ά
β¨ NAME β¨
hl_ack_pb_single_dcore β ack pb for single docre in HW according to given configuration π
(yes that's the actual name and the actual job description, no cap β it acks the pb for a single dcore in the hardware, all according to whatever configuration you hand it πΈ)
π SYNOPSIS π
void hl_ack_pb_single_dcore (struct hl_device *hdev , u32 dcore_offset ,
u32 num_instances , u32 instance_offset , const u32 pb_blocks[] , u32
blocks_array_size );
it returns void, so like... it's giving "I do the work, I don't do the receipts" π no return value to check, she just goes. π
π ARGUMENTS π
hdevβ pointer tohl_devicestructure. this is the device handle bestie, the main character of the whole operation π¦dcore_offsetβ offset from dcore0. that's where we start counting from, the origin story fr fr β¨num_instancesβ number of instances to apply configuration to. how many times we're doing the thing πinstance_offsetβ offset between instances. the lil gap between each one, iykyk πΈpb_blocksβ blocks array. literally the array of blocks, she's right there πblocks_array_sizeβ blocks array size. the size of that array, we love a matching pair π
π SEE ALSO π
the kernel file lives at ./drivers/accel/habanalabs/common/security.c β go read her, she's iconic πβ¨
and the whole friend group, in order, because we don't leave anyone out π«Ά:
hl_get_pb_block(9)hl_unset_pb_in_block(9)hl_unsecure_register(9)hl_unsecure_register_range(9)hl_unsecure_registers(9)hl_unsecure_registers_range(9)hl_ack_pb_security_violations(9)hl_config_glbl_sec(9)hl_secure_block(9)hl_init_pb_with_mask(9)hl_init_pb(9)hl_init_pb_ranges_with_mask(9)hl_init_pb_ranges(9)hl_init_pb_single_dcore(9)hl_init_pb_ranges_single_dcore(9)hl_ack_pb_with_mask(9)hl_ack_pb(9)
ngl, this is kernel-adjacent hardware security territory, so like... read the siblings before you start poking the pb blocks, bestie. safety first, slay second ππ
okay that's the whole page, mwah π this gem came from ./drivers/accel/habanalabs/common and she's dated October 2026 β hl_ack_pb_single_dcore(9), 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