Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c, line 1270
- drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c
- drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c amdgpu_virt_pre_reset() -> amdgpu_virt_fini_data_exchange()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->ddev.anon_inode->i_mapping->host->i_sb->s_cop->inode_info_offs | 1632,1808,2632,2648 |
| PARAM_VALUE | 0 | adev->ddev.anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | adev->ddev.anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max |
| PARAM_VALUE | 0 | adev->ddev.anon_inode->i_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 0 | adev->mes.adev->gfx.rlc.cs_data->section->reg_index | 0,4,40960,41022,41164,41174,41176,41179,41461,41471-41472,41530,41630,41632-41633,41635,41637-41638,41694,41701,41717,41920,62460,65472 |
| PARAM_VALUE | 0 | adev->pm.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->pm.mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | adev->pm.mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | adev->pm.mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | adev->powerplay.pp_handle->device->adev->mes.mutex_hidden.first_waiter->list.next | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->powerplay.pp_handle->device->adev->mes.mutex_hidden.first_waiter->magic | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->powerplay.pp_handle->msg_ctl.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adev->powerplay.pp_handle->msg_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->psp.ras_context.ras->eeprom_control.ras_info_offset | 20 |
| PARAM_VALUE | 0 | adev->psp.ras_context.ras->eeprom_control.ras_max_record_count | 10911,10921 |
| PARAM_VALUE | 0 | adev->psp.ras_context.ras->eeprom_control.ras_record_offset | 20,276 |
| PARAM_VALUE | 0 | adev->psp.ras_context.ras->umc_ecc.record_ce_addr_supported | 1 |
| PARAM_VALUE | 0 | adev->reset_cntl->handle->mes.saved_flags | 0-4294967295 |
| PARAM_VALUE | 0 | adev->reset_cntl->handle->pm.mutex->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | adev->reset_cntl->handle->pm.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->reset_cntl->handle->pm.mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | adev->reset_cntl->handle->pm.mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | adev->reset_cntl->handle->pm.mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | adev->reset_cntl->handle->pm.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adev->reset_cntl->handle->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->reset_cntl->handle->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->type | 0-1 |
| CAPPED_DATA | 0 | adev | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| BIT_INFO | 0 | adev->virt.caps | 0x4,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &hive->hive_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c xgpu_ai_mailbox_flr_work() -> amdgpu_virt_fini_data_exchange()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c xgpu_ai_mailbox_handle_bad_pages_work() -> amdgpu_virt_fini_data_exchange()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->reset_domain | 4096-ptr_max |
| CAPPED_DATA | 0 | &adev->reset_domain->sem | 1 |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &adev->reset_domain->sem | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_reset_domain)->sem |
drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c xgpu_ai_mailbox_req_bad_pages_work() -> amdgpu_virt_fini_data_exchange()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->reset_domain | 4096-ptr_max |
| CAPPED_DATA | 0 | &adev->reset_domain->sem | 1 |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &adev->reset_domain->sem | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_reset_domain)->sem |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_fini_hw() -> amdgpu_virt_fini_data_exchange()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->ddev.anon_inode->i_mapping->host->i_sb->s_cop->inode_info_offs | 1632,1720,2632,2648 |
| PARAM_VALUE | 0 | adev->ddev.anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max |
| PARAM_VALUE | 0 | adev->delayed_init_work.timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | adev->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->flags | 262144-u64max |
| PARAM_VALUE | 0 | adev->gfx.rlc.cs_data->section->reg_index | 0,4,40960,41022,41164,41174,41176,41179,41461,41471-41472,41530,41630,41632-41633,41635,41637,41694,41717,62460,65472 |
| PARAM_VALUE | 0 | adev->mes.adev->gfx.rlc.cs_data->section->reg_index | 0,4,40960,41022,41164,41174,41176,41179,41461,41471-41472,41530,41630,41632-41633,41635,41637,41694,41717,62460,65472 |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->list.next | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->list.prev->prev | 0,5159360019465732096 |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->magic | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->task->blocked_on | (-1)-0 |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | adev->num_ip_blocks | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | adev->reset_domain->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | adev->rmmio | 1-u64max |
| PARAM_VALUE | 0 | adev->shutdown | 1 |
| PARAM_VALUE | 0 | adev->virt.access_req_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->virt.access_req_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->virt.access_req_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->virt.access_req_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->virt.access_req_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | adev->virt.access_req_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | adev->virt.access_req_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | adev->virt.access_req_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | adev->virt.access_req_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adev->virt.ops | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->virt.req_init_data_ver | 0-2 |
| CAPPED_DATA | 0 | adev | 1 |
| CAPPED_DATA | 0 | &adev->pm_nb | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | adev->virt.fw_reserve.checksum_key | 0-u32max |
| HOST_DATA | 0 | adev->virt.init_data_header.offset | 0-u32max |
| HOST_DATA | 0 | adev->virt.init_data_header.size_kb | 0-u32max |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_ip_suspend() -> amdgpu_virt_fini_data_exchange()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->ddev.anon_inode->i_mapping->host->i_sb->s_cop->inode_info_offs | 1632,1808,2632,2648 |
| PARAM_VALUE | 0 | adev->ddev.anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | adev->ddev.anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max |
| PARAM_VALUE | 0 | adev->ddev.anon_inode->i_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 0 | adev->mes.adev->gfx.rlc.cs_data->section->reg_index | 0,4,40960,41022,41164,41174,41176,41179,41461,41471-41472,41530,41630,41632-41633,41635,41637-41638,41694,41701,41717,41920,62460,65472 |
| PARAM_VALUE | 0 | adev->pm.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->pm.mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | adev->pm.mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | adev->pm.mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | adev->powerplay.pp_handle->device->adev->mes.mutex_hidden.first_waiter->list.next | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->powerplay.pp_handle->device->adev->mes.mutex_hidden.first_waiter->magic | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->powerplay.pp_handle->msg_ctl.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adev->powerplay.pp_handle->msg_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->psp.ras_context.ras->eeprom_control.ras_info_offset | 20 |
| PARAM_VALUE | 0 | adev->psp.ras_context.ras->eeprom_control.ras_max_record_count | 10911,10921 |
| PARAM_VALUE | 0 | adev->psp.ras_context.ras->eeprom_control.ras_record_offset | 20,276 |
| PARAM_VALUE | 0 | adev->psp.ras_context.ras->umc_ecc.record_ce_addr_supported | 1 |
| PARAM_VALUE | 0 | adev->reset_cntl | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->reset_cntl->handle->mes.saved_flags | 0-4294967295 |
| PARAM_VALUE | 0 | adev->reset_cntl->handle->pm.mutex->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | adev->reset_cntl->handle->pm.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->reset_cntl->handle->pm.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->reset_cntl->handle->pm.mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->reset_cntl->handle->pm.mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | adev->reset_cntl->handle->pm.mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | adev->reset_cntl->handle->pm.mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | adev->reset_cntl->handle->pm.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adev->reset_cntl->handle->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->reset_cntl->handle->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | adev->rings | 4096-ptr_max |
| CAPPED_DATA | 0 | adev | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| BIT_INFO | 0 | adev->virt.caps | 0x0,0xfffffffb |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &hive->hive_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_suspend() -> amdgpu_virt_fini_data_exchange()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->in_suspend | 1 |
| DATA_SOURCE | 0 | adev | r drm_to_adev |
| BIT_INFO | 0 | adev->virt.caps | 0x4,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | global &vgasr_mutex |
drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c xgpu_nv_mailbox_flr_work() -> amdgpu_virt_fini_data_exchange()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c xgpu_nv_mailbox_handle_bad_pages_work() -> amdgpu_virt_fini_data_exchange()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->reset_domain | 4096-ptr_max |
| CAPPED_DATA | 0 | &adev->reset_domain->sem | 1 |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &adev->reset_domain->sem | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_reset_domain)->sem |
drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c xgpu_nv_mailbox_req_bad_pages_work() -> amdgpu_virt_fini_data_exchange()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->reset_domain | 4096-ptr_max |
| CAPPED_DATA | 0 | &adev->reset_domain->sem | 1 |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &adev->reset_domain->sem | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_reset_domain)->sem |
drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c xgpu_nv_ras_poison_handler() -> amdgpu_virt_fini_data_exchange()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.ras->rlc_gc_fed_irq | 0,3321845592710709248 |
| PARAM_VALUE | 0 | adev->irq.ih_funcs->decode_iv | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->mes.adev->gfx.rlc.cs_data->section->reg_index | 0,40960,41022,41164,41174,41176,41179,41461,41471-41472,41530,41630,41632-41633,41635,41637-41638,41694,41701,41717,41920,62460,65472 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | adev->virt.ops | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->virt.ops->ras_poison_handler | 1506654890529267712,7062679433955307520 |
| PARAM_VALUE | 0 | adev->xcp_mgr->adev->gfx.rlc.cs_data->section->reg_index | 0,40960,41022,41164,41174,41176,41179,41461,41471-41472,41530,41630,41632-41633,41635,41637-41638,41694,41701,41717,41920,62460,65472 |
| DATA_SOURCE | 0 | adev | $0 |
| BIT_INFO | 0 | adev->virt.caps | 0x4,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | adev->virt.fw_reserve.checksum_key | 0-u32max |
| HOST_DATA | 0 | adev->virt.init_data_header.offset | 0-u32max |
| HOST_DATA | 0 | adev->virt.init_data_header.size_kb | 0-u32max |
| HALF_LOCKED2 | &pool->lock |