Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_gpu_recover() -> amdgpu_device_halt_activities()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->ddev.anon_inode 4096-ptr_max
PARAM_VALUE 0 adev->ddev.anon_inode->i_mapping 4096-ptr_max
PARAM_VALUE 0 adev->ddev.anon_inode->i_mapping->host->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792
PARAM_VALUE 0 adev->ddev.anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent 0,5297,148606482432692224,436469935444291584,467281172929331200
PARAM_VALUE 0 adev->ddev.anon_inode->i_mapping->i_mmap_rwsem.dep_map->name 0-255
PARAM_VALUE 0 adev->ddev.anon_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 1
PARAM_VALUE 0 adev->ddev.anon_inode->i_mapping->i_mmap_rwsem.first_waiter->list.next 2212933610777083904
PARAM_VALUE 0 adev->ddev.anon_inode->i_mapping->i_mmap_rwsem.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 0 adev->ddev.anon_inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
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->kfd.dev 0,4096-ptr_max
PARAM_VALUE 0 adev->psp.adev->reset_domain->sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 adev->psp.adev->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->reset_list.next 4096-ptr_max
PARAM_VALUE 0 adev->reset_list.prev->next 4096-ptr_max
PARAM_VALUE 0 adev->reset_list.prev->next->next 4096-ptr_max
PARAM_VALUE 1 job 0,6426019090327187456
PARAM_VALUE 1 job->base.sched 4096-ptr_max
PARAM_VALUE 2 reset_context 585951693651935232,1771957367249305600,3763569208669507584,4231318582200598528,5871623168954454016,6006150037578928128,6278096747866509312,7042422047109623808
PARAM_VALUE 2 reset_context->flags 0
PARAM_VALUE 2 reset_context->hive->hive_lock.wait_lock.owner (-1)
PARAM_VALUE 2 reset_context->hive->hive_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 2 reset_context->job 0,6426019090327187456
PARAM_VALUE 2 reset_context->job->base.sched 4096-ptr_max
PARAM_VALUE 2 reset_context->method (-1),3
PARAM_VALUE 2 reset_context->reset_device_list 0,4153671307812945920,6958129947341881344
PARAM_VALUE 2 reset_context->reset_req_dev 4096-ptr_max
PARAM_VALUE 2 reset_context->src 0-6
PARAM_VALUE 3 device_list 6958129947341881344
PARAM_VALUE 3 device_list->next 4096-ptr_max
PARAM_VALUE 4 hive->hive_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 4 hive->hive_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 4 hive->hive_lock.wait_lock.owner (-1)
PARAM_VALUE 4 hive->hive_lock.wait_lock.owner_cpu u32max
BUF_SIZE 2 reset_context->hive (-1)-0,848
BUF_SIZE 4 hive (-1)-0,848
BUF_SIZE 4 hive (-1)-0,848
DATA_SOURCE 0 adev $0
DATA_SOURCE 1 job $1
DATA_SOURCE 2 reset_context $2
DATA_SOURCE 5 need_emergency_restart r amdgpu_ras_need_emergency_restart
BIT_INFO 0 adev->virt.caps 0x0,0xffffffff
NOCHECK_CALL
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tmp_adev->reset_domain->sem
HALF_LOCKED2 global &drm_unplug_srcu
HALF_LOCKED2 4 &hive->hive_lock

drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_pci_error_detected() -> amdgpu_device_halt_activities()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
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->pdev 4096-ptr_max
PARAM_VALUE 0 adev->pdev->error_state 0-2,4-u32max
PARAM_VALUE 0 adev->reset_list.next 4096-ptr_max
PARAM_VALUE 0 adev->reset_list.prev->next 4096-ptr_max
PARAM_VALUE 0 adev->reset_list.prev->next->next 4096-ptr_max
PARAM_VALUE 1 job 0
PARAM_VALUE 2 reset_context 6205511661067960320
PARAM_VALUE 3 device_list 2602521966180487168
PARAM_VALUE 3 device_list->next 4096-ptr_max
PARAM_VALUE 4 hive->hive_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 4 hive->hive_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 4 hive->hive_lock.wait_lock.owner (-1)
PARAM_VALUE 4 hive->hive_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 5 need_emergency_restart 0
BUF_SIZE 4 hive (-1),848
BUF_SIZE 4 hive (-1),848
DATA_SOURCE 0 adev r drm_to_adev
MEM_ZERO 2 reset_context
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 &tmp_adev->reset_domain->sem
HALF_LOCKED2 4 &hive->hive_lock