Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/accel/amdxdna/aie2_message.c aie2_assign_mgmt_pasid() -> aie_send_mgmt_msg_wait()

Type Parameter Key Value
PARAM_VALUE 0 aie 4096-ptr_max
PARAM_VALUE 0 aie->mgmt_chann 4096-ptr_max
PARAM_VALUE 0 aie->mgmt_prot_major 5-7
PARAM_VALUE 0 aie->psp_hdl 4096-ptr_max
PARAM_VALUE 0 aie->smu_hdl 4096-ptr_max
PARAM_VALUE 1 msg 1201770499698401280
PARAM_VALUE 1 msg->handle 8073476794841239552
PARAM_VALUE 1 msg->notify_cb 3900409841092300800
PARAM_VALUE 1 msg->opcode 259
PARAM_VALUE 1 msg->send_data 3428824364672888832
PARAM_VALUE 1 msg->send_size 4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &xdna->dev_lock
HALF_LOCKED2 _T->lock

drivers/accel/amdxdna/aie2_message.c aie2_create_context() -> aie_send_mgmt_msg_wait()

Type Parameter Key Value
PARAM_VALUE 0 aie 4096-ptr_max
PARAM_VALUE 1 msg 7816800690968985600
PARAM_VALUE 1 msg->handle 5033792726464430080
PARAM_VALUE 1 msg->notify_cb 3900409841092300800
PARAM_VALUE 1 msg->opcode 2
PARAM_VALUE 1 msg->send_data 7644282566792409088
PARAM_VALUE 1 msg->send_size 28
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &drm_unplug_srcu

drivers/accel/amdxdna/aie2_message.c aie2_destroy_context_req() -> aie_send_mgmt_msg_wait()

Type Parameter Key Value
PARAM_VALUE 0 aie 4096-ptr_max
PARAM_VALUE 1 msg 3310650253322645504
PARAM_VALUE 1 msg->handle 7095870220188987392
PARAM_VALUE 1 msg->notify_cb 3900409841092300800
PARAM_VALUE 1 msg->opcode 3
PARAM_VALUE 1 msg->send_data 4531600340878753792
PARAM_VALUE 1 msg->send_size 4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

drivers/accel/amdxdna/aie2_message.c aie2_get_dev_revision() -> aie_send_mgmt_msg_wait()

Type Parameter Key Value
PARAM_VALUE 0 aie 4096-ptr_max
PARAM_VALUE 1 msg 1916674119041589248
PARAM_VALUE 1 msg->handle 1562450099715756032
PARAM_VALUE 1 msg->notify_cb 3900409841092300800
PARAM_VALUE 1 msg->opcode 279
PARAM_VALUE 1 msg->send_data 4777346165112897536
PARAM_VALUE 1 msg->send_size 4
RX_PATH
TASK_NOT_RUNNING
LOCK2 &xdna->dev_lock
TYPE_LOCK (struct amdxdna_dev)->dev_lock

drivers/accel/amdxdna/aie2_message.c aie2_get_runtime_cfg() -> aie_send_mgmt_msg_wait()

Type Parameter Key Value
PARAM_VALUE 1 msg 3290842872502861824
PARAM_VALUE 1 msg->handle 1398804013269487616
PARAM_VALUE 1 msg->notify_cb 3900409841092300800
PARAM_VALUE 1 msg->opcode 267
PARAM_VALUE 1 msg->send_data 4497742295662735360
PARAM_VALUE 1 msg->send_size 4

drivers/accel/amdxdna/aie2_message.c aie2_query_aie_metadata() -> aie_send_mgmt_msg_wait()

Type Parameter Key Value
PARAM_VALUE 0 aie 4096-ptr_max
PARAM_VALUE 0 aie->mgmt_chann 4096-ptr_max
PARAM_VALUE 0 aie->mgmt_prot_major 5-7
PARAM_VALUE 0 aie->psp_hdl 4096-ptr_max
PARAM_VALUE 0 aie->smu_hdl 4096-ptr_max
PARAM_VALUE 1 msg 7090166989812613120
PARAM_VALUE 1 msg->handle 1054969937758535680
PARAM_VALUE 1 msg->notify_cb 3900409841092300800
PARAM_VALUE 1 msg->opcode 14
PARAM_VALUE 1 msg->send_data 3482083627443851264
PARAM_VALUE 1 msg->send_size 4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &xdna->dev_lock
HALF_LOCKED2 _T->lock

drivers/accel/amdxdna/aie2_message.c aie2_query_aie_version() -> aie_send_mgmt_msg_wait()

Type Parameter Key Value
PARAM_VALUE 0 aie 4096-ptr_max
PARAM_VALUE 0 aie->mgmt_chann 4096-ptr_max
PARAM_VALUE 0 aie->mgmt_prot_major 5-7
PARAM_VALUE 0 aie->psp_hdl 4096-ptr_max
PARAM_VALUE 0 aie->smu_hdl 4096-ptr_max
PARAM_VALUE 1 msg 161978038399819776
PARAM_VALUE 1 msg->handle 2017464818452725760
PARAM_VALUE 1 msg->notify_cb 3900409841092300800
PARAM_VALUE 1 msg->opcode 15
PARAM_VALUE 1 msg->send_data 7621832830171906048
PARAM_VALUE 1 msg->send_size 4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &xdna->dev_lock
HALF_LOCKED2 _T->lock

drivers/accel/amdxdna/aie2_message.c aie2_query_app_health() -> aie_send_mgmt_msg_wait()

Type Parameter Key Value
PARAM_VALUE 0 aie 4096-ptr_max
PARAM_VALUE 1 msg 6408990622453035008
PARAM_VALUE 1 msg->handle 4249177214265872384
PARAM_VALUE 1 msg->notify_cb 3900409841092300800
PARAM_VALUE 1 msg->opcode 276
PARAM_VALUE 1 msg->send_data 611855544598822912
PARAM_VALUE 1 msg->send_size 16
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &client->hwctx_srcu
HALF_LOCKED2 _T->lock

drivers/accel/amdxdna/aie2_message.c aie2_query_firmware_version() -> aie_send_mgmt_msg_wait()

Type Parameter Key Value
PARAM_VALUE 0 aie 4096-ptr_max
PARAM_VALUE 0 aie->mgmt_chann 4096-ptr_max
PARAM_VALUE 0 aie->mgmt_prot_major 5-7
PARAM_VALUE 0 aie->psp_hdl 4096-ptr_max
PARAM_VALUE 0 aie->smu_hdl 4096-ptr_max
PARAM_VALUE 1 msg 7033231291414683648
PARAM_VALUE 1 msg->handle 7526287933429501952
PARAM_VALUE 1 msg->notify_cb 3900409841092300800
PARAM_VALUE 1 msg->opcode 264
PARAM_VALUE 1 msg->send_data 7172116296760156160
PARAM_VALUE 1 msg->send_size 4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &xdna->dev_lock
HALF_LOCKED2 _T->lock

drivers/accel/amdxdna/aie2_message.c aie2_query_status() -> aie_send_mgmt_msg_wait()

Type Parameter Key Value
PARAM_VALUE 0 aie 4096-ptr_max
PARAM_VALUE 1 msg 655296381963567104
PARAM_VALUE 1 msg->handle 4072940774762958848
PARAM_VALUE 1 msg->notify_cb 3900409841092300800
PARAM_VALUE 1 msg->opcode 13
PARAM_VALUE 1 msg->send_data 4994902221714157568
PARAM_VALUE 1 msg->send_size 20
LOCK2 &xdna->dev_lock
LOCK2 global &drm_unplug_srcu
TYPE_LOCK (struct amdxdna_dev)->dev_lock

drivers/accel/amdxdna/aie2_message.c aie2_query_telemetry() -> aie_send_mgmt_msg_wait()

Type Parameter Key Value
PARAM_VALUE 0 aie 4096-ptr_max
PARAM_VALUE 1 msg 2396932697172312064
PARAM_VALUE 1 msg->handle 2917019156247310336
PARAM_VALUE 1 msg->notify_cb 3900409841092300800
PARAM_VALUE 1 msg->opcode 4
PARAM_VALUE 1 msg->send_data 353139431532896256
PARAM_VALUE 1 msg->send_size 16
LOCK2 &xdna->dev_lock
LOCK2 global &drm_unplug_srcu
TYPE_LOCK (struct amdxdna_dev)->dev_lock

drivers/accel/amdxdna/aie2_message.c aie2_resume_fw() -> aie_send_mgmt_msg_wait()

Type Parameter Key Value
PARAM_VALUE 0 aie 4096-ptr_max
PARAM_VALUE 0 aie->mgmt_chann 4096-ptr_max
PARAM_VALUE 0 aie->mgmt_prot_major 5-7
PARAM_VALUE 0 aie->psp_hdl 4096-ptr_max
PARAM_VALUE 0 aie->smu_hdl 4096-ptr_max
PARAM_VALUE 1 msg 9221597296165928960
PARAM_VALUE 1 msg->handle 8881506416824020992
PARAM_VALUE 1 msg->notify_cb 3900409841092300800
PARAM_VALUE 1 msg->opcode 258
PARAM_VALUE 1 msg->send_data 8011182600989253632
PARAM_VALUE 1 msg->send_size 4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &xdna->dev_lock
HALF_LOCKED2 _T->lock

drivers/accel/amdxdna/aie2_message.c aie2_runtime_update_ctx_prop() -> aie_send_mgmt_msg_wait()

Type Parameter Key Value
PARAM_VALUE 0 aie 4096-ptr_max
PARAM_VALUE 0 aie->mgmt_chann 4096-ptr_max
PARAM_VALUE 0 aie->mgmt_prot_major 5-7
PARAM_VALUE 0 aie->psp_hdl 4096-ptr_max
PARAM_VALUE 0 aie->smu_hdl 4096-ptr_max
PARAM_VALUE 1 msg 4704774675574087680
PARAM_VALUE 1 msg->handle 482514025948069888
PARAM_VALUE 1 msg->notify_cb 3900409841092300800
PARAM_VALUE 1 msg->opcode 275
PARAM_VALUE 1 msg->send_data 4813715637192523776
PARAM_VALUE 1 msg->send_size 20
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &xdna->dev_lock
HALF_LOCKED2 _T->lock

drivers/accel/amdxdna/aie2_message.c aie2_send_host_buf_msgs() -> aie_send_mgmt_msg_wait()

Type Parameter Key Value
PARAM_VALUE 0 aie 4096-ptr_max
PARAM_VALUE 0 aie->xdna 4096-ptr_max
PARAM_VALUE 1 msg 6804440765673570304
PARAM_VALUE 1 msg->handle 4858852963376975872
PARAM_VALUE 1 msg->notify_cb 3900409841092300800
PARAM_VALUE 1 msg->opcode 262,277
PARAM_VALUE 1 msg->send_data 484999141157400576
PARAM_VALUE 1 msg->send_size 20
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

drivers/accel/amdxdna/aie2_message.c aie2_set_runtime_cfg() -> aie_send_mgmt_msg_wait()

Type Parameter Key Value
PARAM_VALUE 0 aie 4096-ptr_max
PARAM_VALUE 1 msg 8087385566707470336
PARAM_VALUE 1 msg->handle 7234882845171560448
PARAM_VALUE 1 msg->notify_cb 3900409841092300800
PARAM_VALUE 1 msg->opcode 266
PARAM_VALUE 1 msg->send_data 3516530016104075264
PARAM_VALUE 1 msg->send_size 12
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &xdna->dev_lock
HALF_LOCKED2 global &drm_unplug_srcu

drivers/accel/amdxdna/aie2_message.c aie2_suspend_fw() -> aie_send_mgmt_msg_wait()

Type Parameter Key Value
PARAM_VALUE 0 aie 4096-ptr_max
PARAM_VALUE 1 msg 259779004307599360
PARAM_VALUE 1 msg->handle 7242453256653516800
PARAM_VALUE 1 msg->notify_cb 3900409841092300800
PARAM_VALUE 1 msg->opcode 257
PARAM_VALUE 1 msg->send_data 8674357831785709568
PARAM_VALUE 1 msg->send_size 4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &xdna->dev_lock
HALF_LOCKED2 _T->lock

drivers/accel/amdxdna/aie4_pci.c aie4_partition_fini() -> aie_send_mgmt_msg_wait()

Type Parameter Key Value
PARAM_VALUE 0 aie 4096-ptr_max
PARAM_VALUE 1 msg 896353398946570240
PARAM_VALUE 1 msg->handle 1858799465880317952
PARAM_VALUE 1 msg->notify_cb 3900409841092300800
PARAM_VALUE 1 msg->opcode 196610
PARAM_VALUE 1 msg->send_data 7815989748400750592
PARAM_VALUE 1 msg->send_size 4
RX_PATH
TASK_NOT_RUNNING
LOCK2 &xdna->dev_lock
HALF_LOCKED2 &xdna->client_lock
TYPE_LOCK (struct amdxdna_dev)->dev_lock

drivers/accel/amdxdna/aie4_pci.c aie4_partition_init() -> aie_send_mgmt_msg_wait()

Type Parameter Key Value
PARAM_VALUE 0 aie 4096-ptr_max
PARAM_VALUE 0 aie->mgmt_chann 4096-ptr_max
PARAM_VALUE 0 aie->xdna 4096-ptr_max
PARAM_VALUE 1 msg 4322230268775317504
PARAM_VALUE 1 msg->handle 5728185001849663488
PARAM_VALUE 1 msg->notify_cb 3900409841092300800
PARAM_VALUE 1 msg->opcode 196609
PARAM_VALUE 1 msg->send_data 3805641330743660544
PARAM_VALUE 1 msg->send_size 8
RX_PATH
TASK_NOT_RUNNING
LOCK2 &xdna->dev_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct amdxdna_dev)->dev_lock

drivers/accel/amdxdna/aie4_sriov.c aie4_create_vfs() -> aie_send_mgmt_msg_wait()

Type Parameter Key Value
PARAM_VALUE 0 aie 4096-ptr_max
PARAM_VALUE 0 aie->xdna 4096-ptr_max
PARAM_VALUE 1 msg 1344443909386457088
PARAM_VALUE 1 msg->handle 1268952150269591552
PARAM_VALUE 1 msg->notify_cb 3900409841092300800
PARAM_VALUE 1 msg->opcode 131073
PARAM_VALUE 1 msg->send_data 9159333503893073920
PARAM_VALUE 1 msg->send_size 4
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 &pdev->dev.mutex
LOCK2 _T->lock
LOCK2 global &pci_rescan_remove_lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct device)->mutex
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/accel/amdxdna/aie4_sriov.c aie4_destroy_vfs() -> aie_send_mgmt_msg_wait()

Type Parameter Key Value
PARAM_VALUE 0 aie 4096-ptr_max
PARAM_VALUE 0 aie->xdna 4096-ptr_max
PARAM_VALUE 1 msg 5977397797798141952
PARAM_VALUE 1 msg->handle 7902744016889536512
PARAM_VALUE 1 msg->notify_cb 3900409841092300800
PARAM_VALUE 1 msg->opcode 131074
PARAM_VALUE 1 msg->send_data 4208425662127472640
PARAM_VALUE 1 msg->send_size 4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &pci_rescan_remove_lock

drivers/accel/amdxdna/aie4_message.c aie4_attach_work_buffer() -> aie_send_mgmt_msg_wait()

Type Parameter Key Value
PARAM_VALUE 0 aie 4096-ptr_max
PARAM_VALUE 0 aie->smu_hdl 4096-ptr_max
PARAM_VALUE 0 aie->xdna 4096-ptr_max
PARAM_VALUE 1 msg 6675478866216841216
PARAM_VALUE 1 msg->handle 2369872003158200320
PARAM_VALUE 1 msg->notify_cb 3900409841092300800
PARAM_VALUE 1 msg->opcode 65549
PARAM_VALUE 1 msg->send_data 8458710282681012224
PARAM_VALUE 1 msg->send_size 16
RX_PATH
TASK_NOT_RUNNING
LOCK2 &xdna->dev_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct amdxdna_dev)->dev_lock

drivers/accel/amdxdna/aie4_message.c aie4_query_aie_metadata() -> aie_send_mgmt_msg_wait()

Type Parameter Key Value
PARAM_VALUE 0 aie 4096-ptr_max
PARAM_VALUE 0 aie->xdna 4096-ptr_max
PARAM_VALUE 1 msg 2411488105670295552
PARAM_VALUE 1 msg->handle 4092157671730814976
PARAM_VALUE 1 msg->notify_cb 3900409841092300800
PARAM_VALUE 1 msg->opcode 196614
PARAM_VALUE 1 msg->send_data 6074375645476352000
PARAM_VALUE 1 msg->send_size 4
RX_PATH
TASK_NOT_RUNNING
LOCK2 &xdna->dev_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct amdxdna_dev)->dev_lock

drivers/accel/amdxdna/aie4_message.c aie4_suspend_fw() -> aie_send_mgmt_msg_wait()

Type Parameter Key Value
PARAM_VALUE 0 aie 4096-ptr_max
PARAM_VALUE 0 aie->xdna 4096-ptr_max
PARAM_VALUE 1 msg 3479396509814767616
PARAM_VALUE 1 msg->handle 811593539562582016
PARAM_VALUE 1 msg->notify_cb 3900409841092300800
PARAM_VALUE 1 msg->opcode 65539
PARAM_VALUE 1 msg->send_data 7268879997904703488
PARAM_VALUE 1 msg->send_size 4
RX_PATH
TASK_NOT_RUNNING
LOCK2 &xdna->dev_lock
HALF_LOCKED2 &xdna->client_lock
TYPE_LOCK (struct amdxdna_dev)->dev_lock

drivers/accel/amdxdna/aie4_ctx.c aie4_hwctx_create() -> aie_send_mgmt_msg_wait()

Type Parameter Key Value
PARAM_VALUE 0 aie 4096-ptr_max
PARAM_VALUE 1 msg 4980399887397109760
PARAM_VALUE 1 msg->handle 574445924619341824
PARAM_VALUE 1 msg->notify_cb 3900409841092300800
PARAM_VALUE 1 msg->opcode 196611
PARAM_VALUE 1 msg->send_data 4309836541562941440
PARAM_VALUE 1 msg->send_size 24
LOCK2 _T->lock
LOCK2 global &drm_unplug_srcu

drivers/accel/amdxdna/aie4_ctx.c aie4_msg_destroy_context() -> aie_send_mgmt_msg_wait()

Type Parameter Key Value
PARAM_VALUE 1 msg 2718642908178518016
PARAM_VALUE 1 msg->handle 1838260846180179968
PARAM_VALUE 1 msg->notify_cb 3900409841092300800
PARAM_VALUE 1 msg->opcode 196612
PARAM_VALUE 1 msg->send_data 4030749540369948672
PARAM_VALUE 1 msg->send_size 8
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &drm_unplug_srcu