Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/accel/habanalabs/gaudi2/gaudi2_security.c gaudi2_config_tpcs_pb_ranges() -> hl_init_pb_ranges()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->asic_funcs->late_init 1059418375852154880,5934430288487329792,8517031099994304512
PARAM_VALUE 0 hdev->asic_funcs->rreg 4096-ptr_max
PARAM_VALUE 0 hdev->asic_funcs->send_cpu_message 4096-ptr_max
PARAM_VALUE 0 hdev->asic_funcs->wreg 4096-ptr_max
PARAM_VALUE 0 hdev->fw_loader.dynamic_loader.image_region->bar_id 0,2,4
PARAM_VALUE 0 hdev->fw_loader.dynamic_loader.image_region->offset_in_bar 0,66977792,67108864,201326592,218103808
PARAM_VALUE 0 hdev->fw_loader.dynamic_loader.image_region->region_base 0,549487378432,549688573952,549688705024,1152922054228443136,1153202979533225984,1153202979583557632
PARAM_VALUE 0 hdev->fw_loader.dynamic_loader.image_region->used 1
PARAM_VALUE 0 hdev->pdev->dev.cma_area->available_count 0-s64max
PARAM_VALUE 1 num_dcores 1
PARAM_VALUE 2 dcore_offset 0
PARAM_VALUE 3 num_instances 1
PARAM_VALUE 4 instance_offset 0-6619136
PARAM_VALUE 7 user_regs_range_array 553021067769647104
BUF_SIZE 5 pb_blocks 4
BUF_SIZE 7 user_regs_range_array 144
DATA_SOURCE 0 hdev $0
DATA_SOURCE 4 instance_offset $3
FUZZY_MAX 4 instance_offset 6619136
HARD_MAX 4 instance_offset 6619136
TASK_NOT_RUNNING
HOST_DATA 0 hdev->asic_prop.dynamic_fw_load 0
HOST_DATA 0 hdev->asic_prop.faulty_dram_cluster_map 1-u32max[c]
HOST_DATA 0 hdev->asic_prop.fw_app_cpu_boot_dev_sts0 0-u32max
HOST_DATA 0 hdev->asic_prop.fw_app_cpu_boot_dev_sts1 0-u32max
HOST_DATA 0 hdev->asic_prop.fw_bootfit_cpu_boot_dev_sts0 0-u32max
HOST_DATA 0 hdev->asic_prop.fw_bootfit_cpu_boot_dev_sts1 0-u32max
HOST_DATA 0 hdev->asic_prop.fw_preboot_cpu_boot_dev_sts0 0-u32max
HOST_DATA 0 hdev->asic_prop.fw_preboot_cpu_boot_dev_sts1 0-u32max
HOST_DATA 0 hdev->asic_prop.fw_security_enabled 0-1
HOST_DATA 0 hdev->asic_prop.hard_reset_done_by_fw 0-1
HOST_DATA 0 hdev->asic_prop.psoc_pci_pll_div_factor 0-u32max
HOST_DATA 0 hdev->asic_prop.psoc_pci_pll_nf 0-u32max
HOST_DATA 0 hdev->asic_prop.psoc_pci_pll_nr 0-u32max
HOST_DATA 0 hdev->asic_prop.psoc_pci_pll_od 0-u32max
HOST_DATA 0 hdev->asic_prop.psoc_timestamp_frequency 50[c]
HOST_DATA 0 hdev->decoder_binning 0-u32max
HOST_DATA 0 hdev->dram_binning 0-u32max
HOST_DATA 0 hdev->edma_binning 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.binning_info.dec_mask 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.binning_info.dram_mask 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.binning_info.edma_mask 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.binning_info.mme_mask_h 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.binning_info.mme_mask_l 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.binning_info.nic_mask 0-u64max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.binning_info.reserved0 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.binning_info.rot_mask 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.binning_info.tpc_mask_h 0-u64max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.binning_info.tpc_mask_l 0-u64max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.binning_info.xbar_mask 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs.cpu_boot_dev_sts0 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs.cpu_boot_dev_sts1 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs.cpu_boot_err0 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs.cpu_boot_err1 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs.cpu_boot_status 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs.cpu_cmd_status_to_host 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs.cpu_cq_base_addr_high 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs.cpu_cq_base_addr_low 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs.cpu_cq_length 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs.cpu_eq_base_addr_high 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs.cpu_eq_base_addr_low 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs.cpu_eq_ci 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs.cpu_eq_length 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs.cpu_pf_pq_pi 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs.cpu_pq_base_addr_high 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs.cpu_pq_base_addr_low 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs.cpu_pq_init_status 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs.cpu_pq_length 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs.eng_arc_irq_ctrl 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs.fuse_ver_offset 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs.fw_upd_cmd 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs.fw_upd_pending_sts 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs.fw_upd_sts 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs.gic_dma_core_irq_ctrl 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs.gic_dma_qm_irq_ctrl 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs.gic_host_halt_irq 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs.gic_host_ints_irq 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs.gic_host_pi_upd_irq 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs.gic_mme_qm_irq_ctrl 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs.gic_nic_qm_irq_ctrl 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs.gic_rot_qm_irq_ctrl 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs.gic_tpc_qm_irq_ctrl 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs.hw_state 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs.kmd_msg_to_cpu 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs.preboot_ver_offset 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs.reserved0 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs.reserved1 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.cpu_dyn_regs.uboot_ver_offset 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.header.crc32 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.header.magic 0-u32max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.header.size 0-u16max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.header.version 0-255
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.img_addr 0-u64max
HOST_DATA 0 hdev->fw_loader.dynamic_loader.comm_desc.rsvd_mem_size_mb 0-u32max
HOST_DATA 0 hdev->pdev->acs_capabilities 0-u16max
HOST_DATA 0 hdev->pdev->class 0-16777215
HOST_DATA 0 hdev->pdev->devcap 0-u32max
HOST_DATA 0 hdev->pdev->devfn 1-255[c]
HOST_DATA 0 hdev->pdev->device 0-u16max
HOST_DATA 0 hdev->pdev->eetlp_prefix_max 0-7[c]
HOST_DATA 0 hdev->pdev->fm_enabled 0-1[c]
HOST_DATA 0 hdev->pdev->hdr_type 0-255[c]
HOST_DATA 0 hdev->pdev->ide_cfg 0-1[c]
HOST_DATA 0 hdev->pdev->ide_tee_limit 0-1[c]
HOST_DATA 0 hdev->pdev->irq 0-255
HOST_DATA 0 hdev->pdev->is_cxl 0-1
HOST_DATA 0 hdev->pdev->multifunction 0-1[c]
HOST_DATA 0 hdev->pdev->nr_ide_mem 0-255[c]
HOST_DATA 0 hdev->pdev->pcie_flags_reg 0-u16max
HOST_DATA 0 hdev->pdev->pcie_mpss 0-7[c]
HOST_DATA 0 hdev->pdev->pin 0
HOST_DATA 0 hdev->pdev->pme_support 0-31[c]
HOST_DATA 0 hdev->pdev->ptm_granularity 0-255[c]
HOST_DATA 0 hdev->pdev->revision 0-255
HOST_DATA 0 hdev->pdev->subsystem_device 0-u16max
HOST_DATA 0 hdev->pdev->subsystem_vendor 0-u16max
HOST_DATA 0 hdev->pdev->supported_speeds 0,2-254[c]
HOST_DATA 0 hdev->pdev->transparent 0[c]
HOST_DATA 0 hdev->pdev->vendor 0-u16max
HOST_DATA 0 hdev->rotator_binning 0-u32max
HOST_DATA 0 hdev->tpc_binning 0-u64max
USER_DATA 0 hdev->fw_inner_major_ver 0-u32max
USER_DATA 0 hdev->fw_inner_minor_ver 0-u32max
USER_DATA 0 hdev->fw_sw_major_ver 0-u32max
USER_DATA 0 hdev->fw_sw_minor_ver 0-u32max
USER_DATA 0 hdev->fw_sw_sub_minor_ver 0-u32max
NO_OVERFLOW_SIMPLE 0 hdev->asic_prop.completion_queues_count
NO_OVERFLOW_SIMPLE 0 hdev->asic_prop.max_pending_cs
UNITS 6 blocks_array_size unit_array_size
UNITS 8 user_regs_range_array_size unit_array_size
HALF_LOCKED2 &hdev->fpriv_list_lock

drivers/accel/habanalabs/gaudi2/gaudi2_security.c gaudi2_init_protection_bits() -> hl_init_pb_ranges()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->asic_funcs->late_init 1059418375852154880,5934430288487329792,8517031099994304512
PARAM_VALUE 0 hdev->asic_funcs->send_cpu_message 4096-ptr_max
PARAM_VALUE 0 hdev->kernel_ctx->hdev->kernel_queues->hw_queue_id 0-s32max
PARAM_VALUE 0 hdev->kernel_queues->collective_mode 0-2
PARAM_VALUE 0 hdev->kernel_queues->dram_bd 0-1
PARAM_VALUE 0 hdev->kernel_queues->hw_queue_id 0-s32max
PARAM_VALUE 0 hdev->kernel_queues->pq_dram_address 0,1153202979584606208-1153484463146991614
PARAM_VALUE 0 hdev->kernel_queues->queue_type 0-4
PARAM_VALUE 0 hdev->kernel_queues->valid 0-1
PARAM_VALUE 1 num_dcores 1
PARAM_VALUE 2 dcore_offset 0
PARAM_VALUE 3 num_instances 2
PARAM_VALUE 4 instance_offset 65536
PARAM_VALUE 6 blocks_array_size 1
PARAM_VALUE 7 user_regs_range_array 3923522996998295552
PARAM_VALUE 8 user_regs_range_array_size 9
BUF_SIZE 5 pb_blocks 4
BUF_SIZE 7 user_regs_range_array 144
DATA_SOURCE 0 hdev $0
UNITS 6 blocks_array_size unit_array_size
UNITS 8 user_regs_range_array_size unit_array_size

drivers/accel/habanalabs/gaudi2/gaudi2_security.c gaudi2_init_protection_bits() -> hl_init_pb_ranges()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->asic_funcs->late_init 1059418375852154880,5934430288487329792,8517031099994304512
PARAM_VALUE 0 hdev->asic_funcs->send_cpu_message 4096-ptr_max
PARAM_VALUE 0 hdev->kernel_ctx->hdev->kernel_queues->hw_queue_id 0-s32max
PARAM_VALUE 0 hdev->kernel_queues->collective_mode 0-2
PARAM_VALUE 0 hdev->kernel_queues->dram_bd 0-1
PARAM_VALUE 0 hdev->kernel_queues->hw_queue_id 0-s32max
PARAM_VALUE 0 hdev->kernel_queues->pq_dram_address 0,1153202979584606208-1153484463146991614
PARAM_VALUE 0 hdev->kernel_queues->queue_type 0-4
PARAM_VALUE 0 hdev->kernel_queues->valid 0-1
PARAM_VALUE 1 num_dcores 1
PARAM_VALUE 2 dcore_offset 0
PARAM_VALUE 3 num_instances 1
PARAM_VALUE 4 instance_offset 0
PARAM_VALUE 6 blocks_array_size 1
PARAM_VALUE 7 user_regs_range_array 6323083605271715840
PARAM_VALUE 8 user_regs_range_array_size 8
BUF_SIZE 5 pb_blocks 4
BUF_SIZE 7 user_regs_range_array 128
DATA_SOURCE 0 hdev $0
UNITS 6 blocks_array_size unit_array_size
UNITS 8 user_regs_range_array_size unit_array_size

drivers/accel/habanalabs/gaudi2/gaudi2_security.c gaudi2_init_protection_bits() -> hl_init_pb_ranges()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->asic_funcs->late_init 1059418375852154880,5934430288487329792,8517031099994304512
PARAM_VALUE 0 hdev->asic_funcs->send_cpu_message 4096-ptr_max
PARAM_VALUE 0 hdev->kernel_ctx->hdev->kernel_queues->hw_queue_id 0-s32max
PARAM_VALUE 0 hdev->kernel_queues->collective_mode 0-2
PARAM_VALUE 0 hdev->kernel_queues->dram_bd 0-1
PARAM_VALUE 0 hdev->kernel_queues->hw_queue_id 0-s32max
PARAM_VALUE 0 hdev->kernel_queues->pq_dram_address 0,1153202979584606208-1153484463146991614
PARAM_VALUE 0 hdev->kernel_queues->queue_type 0-4
PARAM_VALUE 0 hdev->kernel_queues->valid 0-1
PARAM_VALUE 1 num_dcores 3
PARAM_VALUE 2 dcore_offset 2097152
PARAM_VALUE 3 num_instances 1
PARAM_VALUE 4 instance_offset 0
PARAM_VALUE 6 blocks_array_size 1
PARAM_VALUE 7 user_regs_range_array 7592041996745109504
PARAM_VALUE 8 user_regs_range_array_size 8
BUF_SIZE 5 pb_blocks 4
BUF_SIZE 7 user_regs_range_array 128
DATA_SOURCE 0 hdev $0
UNITS 6 blocks_array_size unit_array_size
UNITS 8 user_regs_range_array_size unit_array_size

drivers/accel/habanalabs/gaudi2/gaudi2_security.c gaudi2_init_protection_bits() -> hl_init_pb_ranges()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->asic_funcs->late_init 1059418375852154880,5934430288487329792,8517031099994304512
PARAM_VALUE 0 hdev->asic_funcs->send_cpu_message 4096-ptr_max
PARAM_VALUE 0 hdev->asic_prop.engine_core_interrupt_reg_addr 0-u32max
PARAM_VALUE 0 hdev->kernel_ctx->hdev->kernel_queues->hw_queue_id 0-s32max
PARAM_VALUE 0 hdev->kernel_queues->collective_mode 0-2
PARAM_VALUE 0 hdev->kernel_queues->dram_bd 0-1
PARAM_VALUE 0 hdev->kernel_queues->hw_queue_id 0-s32max
PARAM_VALUE 0 hdev->kernel_queues->pq_dram_address 0,1153202979584606208-1153484463146991614
PARAM_VALUE 0 hdev->kernel_queues->queue_type 0-4
PARAM_VALUE 0 hdev->kernel_queues->valid 0-1
PARAM_VALUE 1 num_dcores 1
PARAM_VALUE 2 dcore_offset 0
PARAM_VALUE 3 num_instances 4
PARAM_VALUE 4 instance_offset 131072
PARAM_VALUE 6 blocks_array_size 3
PARAM_VALUE 7 user_regs_range_array 2776729012986155008
PARAM_VALUE 8 user_regs_range_array_size 12
BUF_SIZE 5 pb_blocks 12
BUF_SIZE 7 user_regs_range_array 192
DATA_SOURCE 0 hdev $0
UNITS 6 blocks_array_size unit_array_size
UNITS 8 user_regs_range_array_size unit_array_size