Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/accel/habanalabs/common/command_buffer.c
- drivers/accel/habanalabs/gaudi/gaudi.c
- drivers/accel/habanalabs/gaudi2/gaudi2.c
Smatch caller information:
drivers/accel/habanalabs/gaudi2/gaudi2.c gaudi2_debugfs_read_dma() -> hl_unreserve_va_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->asic_funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->asic_funcs->mmu_invalidate_cache_range | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->asic_funcs->wreg | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dma_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->dma_pool->dev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->dma_pool->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | hdev->dma_pool->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | hdev->dma_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->mmu_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->mmu_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->mmu_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->mmu_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->mmu_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->pdev->dev.dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->pdev->dev.dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->pdev->dev.dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | hdev->reset_info.in_reset | 0 |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->hdev | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->refcount.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 2 | start_addr | 1-u64max |
| PARAM_VALUE | 3 | size | 2097152 |
| CAPPED_DATA | 0 | hdev->asic_prop.dmmu.start_addr | 1 |
| CAPPED_DATA | 0 | &hdev->mmu_lock | 1 |
| CAPPED_DATA | 1 | ctx->hdev->asic_prop.dmmu.start_addr | 1 |
| CAPPED_DATA | 2 | start_addr | 1 |
| CAPPED_DATA | 2 | start_addr | 1 |
| DATA_SOURCE | 0 | hdev | $0 |
| DATA_SOURCE | 1 | ctx | r hl_get_compute_ctx |
| DATA_SOURCE | 2 | start_addr | r hl_reserve_va_block |
| NOCHECK_CALL |
drivers/accel/habanalabs/gaudi2/gaudi2.c gaudi2_internal_cb_pool_fini() -> hl_unreserve_va_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->asic_funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->asic_funcs->rreg | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->asic_funcs->wreg | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->asic_specific | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->mmu_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->mmu_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->mmu_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->mmu_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->mmu_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->mmu_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->mmu_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->asid | 1-u32max |
| PARAM_VALUE | 1 | ctx->hdev | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->hdev->asic_funcs | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->hdev->asic_funcs->rreg | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->hdev->asic_funcs->wreg | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->hw_block_list_lock.magic | 0,4096-ptr_max |
| PARAM_VALUE | 3 | size | 2097152 |
| BUF_SIZE | 1 | ctx->cs_pending | (-1)-s32max |
| CAPPED_DATA | 0 | &hdev->mmu_lock | 1 |
| CAPPED_DATA | 1 | ctx->asid | 1 |
| CAPPED_DATA | 1 | ctx->cs_pending | 1 |
| CAPPED_DATA | 1 | ctx->hdev->asic_prop.dmmu.start_addr | 1 |
| DATA_SOURCE | 0 | hdev | $0 |
| DATA_SOURCE | 1 | ctx | $1 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | hdev | unit_byte |
| LOCK2 | 0 | &hdev->mmu_lock | |
| HALF_LOCKED2 | &hdev->fpriv_list_lock | ||
| TYPE_LOCK | (struct hl_device)->mmu_lock |
drivers/accel/habanalabs/gaudi2/gaudi2.c gaudi2_internal_cb_pool_init() -> hl_unreserve_va_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->asic_funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->asic_funcs->mmu_invalidate_cache | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->asic_funcs->rreg | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->asic_funcs->wreg | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->asic_specific | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->asic_specific->mmu_cache_inv_pi | 0-255 |
| PARAM_VALUE | 0 | hdev->compute_ctx_in_release | 0 |
| PARAM_VALUE | 0 | hdev->device_fini_pending | 0 |
| PARAM_VALUE | 0 | hdev->disabled | 0 |
| PARAM_VALUE | 0 | hdev->dma_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->dma_pool->dev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->dma_pool->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | hdev->dma_pool->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | hdev->dma_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | hdev->internal_cb_pool | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->internal_cb_pool->algo | 7427687418366767104 |
| PARAM_VALUE | 0 | hdev->internal_cb_pool->chunks.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->internal_cb_pool->chunks.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->internal_cb_pool->chunks.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->internal_cb_pool->chunks.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->internal_cb_pool->chunks.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->internal_cb_pool->data | 0 |
| PARAM_VALUE | 0 | hdev->internal_cb_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->internal_cb_pool->min_alloc_order | 3 |
| PARAM_VALUE | 0 | hdev->internal_cb_pool->name | 0 |
| PARAM_VALUE | 0 | hdev->internal_cb_pool_virt_addr | 1-ptr_max |
| PARAM_VALUE | 0 | hdev->internal_cb_va_base | 1-u64max |
| PARAM_VALUE | 0 | hdev->is_compute_ctx_active | 0 |
| PARAM_VALUE | 0 | hdev->is_in_dram_scrub | 0 |
| PARAM_VALUE | 0 | hdev->mmu_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->mmu_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->mmu_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->mmu_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->mmu_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->mmu_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | hdev->mmu_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | hdev->mmu_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | hdev->mmu_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->mmu_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->pdev->dev.dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->pdev->dev.dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->pdev->dev.dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | hdev->reset_info.hard_reset_pending | 0 |
| PARAM_VALUE | 0 | hdev->reset_info.in_reset | 0 |
| PARAM_VALUE | 0 | hdev->reset_info.needs_reset | 0 |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->asid | 1-64 |
| PARAM_VALUE | 1 | ctx->cs_pending | 16,4096-ptr_max |
| PARAM_VALUE | 1 | ctx->cs_sequence | 1 |
| PARAM_VALUE | 1 | ctx->dram_phys_mem.counter | 0 |
| PARAM_VALUE | 1 | ctx->handle | 0-s32max |
| PARAM_VALUE | 1 | ctx->hdev | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->hdev->asic_funcs | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->hdev->asic_funcs->rreg | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->hdev->asic_funcs->wreg | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->hdev->compute_ctx_in_release | 0 |
| PARAM_VALUE | 1 | ctx->hdev->device_fini_pending | 0 |
| PARAM_VALUE | 1 | ctx->hdev->disabled | 0 |
| PARAM_VALUE | 1 | ctx->hdev->fpriv_list_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ctx->hdev->fpriv_list_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | ctx->hdev->fpriv_list_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | ctx->hdev->fpriv_list_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | ctx->hdev->is_compute_ctx_active | 0 |
| PARAM_VALUE | 1 | ctx->hdev->is_in_dram_scrub | 0 |
| PARAM_VALUE | 1 | ctx->hdev->reset_info.in_reset | 0 |
| PARAM_VALUE | 1 | ctx->hdev->reset_info.needs_reset | 0 |
| PARAM_VALUE | 1 | ctx->hw_block_list_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | ctx->hw_block_list_lock.first_waiter | 0 |
| PARAM_VALUE | 1 | ctx->hw_block_list_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->hw_block_list_lock.owner.counter | 0 |
| PARAM_VALUE | 1 | ctx->hw_block_mem_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->hw_block_mem_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->hw_block_mem_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->hw_block_mem_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->hw_block_mem_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->outcome_store.free_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->outcome_store.free_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->outcome_store.free_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->outcome_store.free_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->outcome_store.free_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->outcome_store.nodes_pool | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->outcome_store.outcome_map | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->outcome_store.used_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->outcome_store.used_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->outcome_store.used_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->outcome_store.used_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->outcome_store.used_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | ctx->thread_ctx_switch_token.counter | 1 |
| PARAM_VALUE | 1 | ctx->thread_ctx_switch_wait_token | 0 |
| PARAM_VALUE | 2 | start_addr | 1-u64max |
| PARAM_VALUE | 3 | size | 2097152 |
| BUF_SIZE | 0 | hdev->internal_cb_pool | 120 |
| BUF_SIZE | 0 | hdev->internal_cb_pool_virt_addr | s32min-s32max |
| BUF_SIZE | 1 | ctx->cs_pending | 0-s32max |
| CAPPED_DATA | 0 | hdev->asic_prop.dmmu.start_addr | 1 |
| CAPPED_DATA | 0 | hdev->internal_cb_va_base | 1 |
| CAPPED_DATA | 0 | &hdev->mmu_lock | 1 |
| CAPPED_DATA | 1 | ctx->asid | 1 |
| CAPPED_DATA | 1 | ctx->hdev->asic_prop.dmmu.start_addr | 1 |
| CAPPED_DATA | 2 | start_addr | 1 |
| CAPPED_DATA | 2 | start_addr | 1 |
| DATA_SOURCE | 0 | hdev | $0 |
| DATA_SOURCE | 1 | ctx | $1 |
| DATA_SOURCE | 2 | start_addr | r hl_reserve_va_block |
| CAPABLE | 0 | 21 | |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | hdev | unit_byte |
| LOCK2 | &hdev->fpriv_list_lock | ||
| TYPE_LOCK | (struct hl_device)->fpriv_list_lock |
drivers/accel/habanalabs/common/command_buffer.c hl_cb_va_pool_fini() -> hl_unreserve_va_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->supports_cb_mapping | 1-255 |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->asid | 1-u32max |
| PARAM_VALUE | 1 | ctx->cb_va_pool | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->hdev | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->hdev->pdev->dev.cma_area->available_count | 0-s64max |
| PARAM_VALUE | 1 | ctx->hdev->supports_cb_mapping | 1-255 |
| PARAM_VALUE | 1 | ctx->hw_block_list_lock.magic | 0,4096-ptr_max |
| PARAM_VALUE | 3 | size | 4294967296 |
| BUF_SIZE | 1 | ctx | (-1),20448 |
| BUF_SIZE | 1 | ctx | (-1),20448 |
| BUF_SIZE | 1 | ctx->cs_pending | (-1)-s32max |
| CAPPED_DATA | 1 | ctx->asid | 1 |
| CAPPED_DATA | 1 | ctx->cb_va_pool | 1 |
| CAPPED_DATA | 1 | ctx->cs_pending | 1 |
| DATA_SOURCE | 1 | ctx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | hdev | unit_byte |
| HALF_LOCKED2 | &hdev->fpriv_list_lock |
drivers/accel/habanalabs/common/command_buffer.c hl_cb_va_pool_init() -> hl_unreserve_va_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->compute_ctx_in_release | 0 |
| PARAM_VALUE | 0 | hdev->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->device_fini_pending | 0 |
| PARAM_VALUE | 0 | hdev->disabled | 0 |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.wait_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->is_compute_ctx_active | 0 |
| PARAM_VALUE | 0 | hdev->is_in_dram_scrub | 0 |
| PARAM_VALUE | 0 | hdev->reset_info.in_reset | 0 |
| PARAM_VALUE | 0 | hdev->reset_info.needs_reset | 0 |
| PARAM_VALUE | 0 | hdev->supports_cb_mapping | 1-255 |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->asid | 1-64 |
| PARAM_VALUE | 1 | ctx->cb_va_pool | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->cb_va_pool->algo | 7427687418366767104 |
| PARAM_VALUE | 1 | ctx->cb_va_pool->chunks.next | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->cb_va_pool->chunks.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->cb_va_pool->chunks.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->cb_va_pool->chunks.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->cb_va_pool->chunks.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->cb_va_pool->data | 0 |
| PARAM_VALUE | 1 | ctx->cb_va_pool->name | 0 |
| PARAM_VALUE | 1 | ctx->cb_va_pool_base | 1-u64max |
| PARAM_VALUE | 1 | ctx->cs_pending | 16,4096-ptr_max |
| PARAM_VALUE | 1 | ctx->cs_sequence | 1 |
| PARAM_VALUE | 1 | ctx->dram_phys_mem.counter | 0 |
| PARAM_VALUE | 1 | ctx->handle | 0-s32max |
| PARAM_VALUE | 1 | ctx->hdev | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->hdev->compute_ctx_in_release | 0 |
| PARAM_VALUE | 1 | ctx->hdev->dev | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ctx->hdev->device_fini_pending | 0 |
| PARAM_VALUE | 1 | ctx->hdev->disabled | 0 |
| PARAM_VALUE | 1 | ctx->hdev->fpriv_list_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ctx->hdev->fpriv_list_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | ctx->hdev->fpriv_list_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | ctx->hdev->fpriv_list_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | ctx->hdev->fpriv_list_lock.wait_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | ctx->hdev->is_compute_ctx_active | 0 |
| PARAM_VALUE | 1 | ctx->hdev->is_in_dram_scrub | 0 |
| PARAM_VALUE | 1 | ctx->hdev->reset_info.in_reset | 0 |
| PARAM_VALUE | 1 | ctx->hdev->reset_info.needs_reset | 0 |
| PARAM_VALUE | 1 | ctx->hdev->supports_cb_mapping | 1-255 |
| PARAM_VALUE | 1 | ctx->hw_block_list_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | ctx->hw_block_list_lock.first_waiter | 0 |
| PARAM_VALUE | 1 | ctx->hw_block_list_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->hw_block_list_lock.owner.counter | 0 |
| PARAM_VALUE | 1 | ctx->hw_block_mem_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->hw_block_mem_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->hw_block_mem_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->hw_block_mem_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->hw_block_mem_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->outcome_store.free_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->outcome_store.free_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->outcome_store.free_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->outcome_store.free_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->outcome_store.free_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->outcome_store.nodes_pool | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->outcome_store.outcome_map | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->outcome_store.used_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->outcome_store.used_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->outcome_store.used_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->outcome_store.used_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->outcome_store.used_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | ctx->thread_ctx_switch_token.counter | 1 |
| PARAM_VALUE | 1 | ctx->thread_ctx_switch_wait_token | 0 |
| PARAM_VALUE | 2 | start_addr | 1-u64max |
| PARAM_VALUE | 3 | size | 4294967296 |
| BUF_SIZE | 1 | ctx | 20448 |
| BUF_SIZE | 1 | ctx->cb_va_pool | 120 |
| BUF_SIZE | 1 | ctx->cs_pending | 0-s32max |
| CAPPED_DATA | 0 | hdev->asic_prop.dmmu.start_addr | 1 |
| CAPPED_DATA | 1 | ctx->asid | 1 |
| DATA_SOURCE | 1 | ctx | $0 |
| DATA_SOURCE | 2 | start_addr | r hl_reserve_va_block |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | hdev | unit_byte |
| LOCK2 | &hdev->fpriv_list_lock | ||
| TYPE_LOCK | (struct hl_device)->fpriv_list_lock |
drivers/accel/habanalabs/gaudi/gaudi.c gaudi_internal_cb_pool_fini() -> hl_unreserve_va_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->asic_specific | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->mmu_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->mmu_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->mmu_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->mmu_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->mmu_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->mmu_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->mmu_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | hdev->pdev->dev.cma_area->available_count | 0-s64max |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->asid | 1-u32max |
| PARAM_VALUE | 1 | ctx->hdev | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->hdev->pdev->dev.cma_area->available_count | 0-s64max |
| PARAM_VALUE | 1 | ctx->hw_block_list_lock.magic | 0,4096-ptr_max |
| PARAM_VALUE | 3 | size | 2097152 |
| BUF_SIZE | 1 | ctx->cs_pending | (-1)-s32max |
| CAPPED_DATA | 0 | &hdev->mmu_lock | 1 |
| CAPPED_DATA | 1 | ctx->asid | 1 |
| CAPPED_DATA | 1 | ctx->cs_pending | 1 |
| CAPPED_DATA | 1 | ctx->hdev->asic_prop.dmmu.start_addr | 1 |
| DATA_SOURCE | 0 | hdev | $0 |
| DATA_SOURCE | 1 | ctx | $1 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | hdev | unit_byte |
| LOCK2 | 0 | &hdev->mmu_lock | |
| HALF_LOCKED2 | &hdev->fpriv_list_lock | ||
| TYPE_LOCK | (struct hl_device)->mmu_lock |
drivers/accel/habanalabs/gaudi/gaudi.c gaudi_internal_cb_pool_init() -> hl_unreserve_va_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->asic_funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->asic_funcs->mmu_invalidate_cache | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->asic_specific | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->asic_specific->mmu_cache_inv_pi | 0-255 |
| PARAM_VALUE | 0 | hdev->compute_ctx_in_release | 0 |
| PARAM_VALUE | 0 | hdev->device_fini_pending | 0 |
| PARAM_VALUE | 0 | hdev->disabled | 0 |
| PARAM_VALUE | 0 | hdev->dma_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->dma_pool->dev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->dma_pool->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | hdev->dma_pool->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | hdev->dma_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->fpriv_list_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | hdev->internal_cb_pool | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->internal_cb_pool->algo | 7427687418366767104 |
| PARAM_VALUE | 0 | hdev->internal_cb_pool->chunks.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->internal_cb_pool->chunks.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->internal_cb_pool->chunks.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->internal_cb_pool->chunks.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->internal_cb_pool->chunks.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->internal_cb_pool->data | 0 |
| PARAM_VALUE | 0 | hdev->internal_cb_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->internal_cb_pool->name | 0 |
| PARAM_VALUE | 0 | hdev->internal_cb_pool_virt_addr | 1-ptr_max |
| PARAM_VALUE | 0 | hdev->internal_cb_va_base | 1-u64max |
| PARAM_VALUE | 0 | hdev->is_compute_ctx_active | 0 |
| PARAM_VALUE | 0 | hdev->is_in_dram_scrub | 0 |
| PARAM_VALUE | 0 | hdev->mmu_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->mmu_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->mmu_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->mmu_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->mmu_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->mmu_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | hdev->mmu_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | hdev->mmu_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | hdev->mmu_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->mmu_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->pdev->dev.dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->pdev->dev.dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->pdev->dev.dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | hdev->reset_info.hard_reset_pending | 0 |
| PARAM_VALUE | 0 | hdev->reset_info.in_reset | 0 |
| PARAM_VALUE | 0 | hdev->reset_info.needs_reset | 0 |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->asid | 1-64 |
| PARAM_VALUE | 1 | ctx->cs_pending | 16,4096-ptr_max |
| PARAM_VALUE | 1 | ctx->cs_sequence | 1 |
| PARAM_VALUE | 1 | ctx->dram_phys_mem.counter | 0 |
| PARAM_VALUE | 1 | ctx->handle | 0-s32max |
| PARAM_VALUE | 1 | ctx->hdev | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->hdev->compute_ctx_in_release | 0 |
| PARAM_VALUE | 1 | ctx->hdev->device_fini_pending | 0 |
| PARAM_VALUE | 1 | ctx->hdev->disabled | 0 |
| PARAM_VALUE | 1 | ctx->hdev->fpriv_list_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ctx->hdev->fpriv_list_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | ctx->hdev->fpriv_list_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | ctx->hdev->fpriv_list_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | ctx->hdev->is_compute_ctx_active | 0 |
| PARAM_VALUE | 1 | ctx->hdev->is_in_dram_scrub | 0 |
| PARAM_VALUE | 1 | ctx->hdev->reset_info.in_reset | 0 |
| PARAM_VALUE | 1 | ctx->hdev->reset_info.needs_reset | 0 |
| PARAM_VALUE | 1 | ctx->hw_block_list_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | ctx->hw_block_list_lock.first_waiter | 0 |
| PARAM_VALUE | 1 | ctx->hw_block_list_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->hw_block_list_lock.owner.counter | 0 |
| PARAM_VALUE | 1 | ctx->hw_block_mem_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->hw_block_mem_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->hw_block_mem_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->hw_block_mem_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->hw_block_mem_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->outcome_store.free_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->outcome_store.free_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->outcome_store.free_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->outcome_store.free_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->outcome_store.free_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->outcome_store.nodes_pool | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->outcome_store.outcome_map | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->outcome_store.used_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->outcome_store.used_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->outcome_store.used_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->outcome_store.used_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->outcome_store.used_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | ctx->thread_ctx_switch_token.counter | 1 |
| PARAM_VALUE | 1 | ctx->thread_ctx_switch_wait_token | 0 |
| PARAM_VALUE | 2 | start_addr | 1-u64max |
| PARAM_VALUE | 3 | size | 2097152 |
| BUF_SIZE | 0 | hdev->internal_cb_pool | 120 |
| BUF_SIZE | 0 | hdev->internal_cb_pool_virt_addr | s32min-s32max |
| BUF_SIZE | 1 | ctx->cs_pending | 0-s32max |
| CAPPED_DATA | 0 | hdev->asic_prop.dmmu.start_addr | 1 |
| CAPPED_DATA | 0 | hdev->internal_cb_va_base | 1 |
| CAPPED_DATA | 0 | &hdev->mmu_lock | 1 |
| CAPPED_DATA | 1 | ctx->asid | 1 |
| CAPPED_DATA | 1 | ctx->hdev->asic_prop.dmmu.start_addr | 1 |
| CAPPED_DATA | 2 | start_addr | 1 |
| CAPPED_DATA | 2 | start_addr | 1 |
| DATA_SOURCE | 0 | hdev | $0 |
| DATA_SOURCE | 1 | ctx | $1 |
| DATA_SOURCE | 2 | start_addr | r hl_reserve_va_block |
| CAPABLE | 0 | 21 | |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | hdev | unit_byte |
| LOCK2 | &hdev->fpriv_list_lock | ||
| TYPE_LOCK | (struct hl_device)->fpriv_list_lock |