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/gpu/drm/xe/xe_migrate.c xe_migrate_lock_prepare_vm() -> xe_validation_should_retry()

Type Parameter Key Value
PARAM_VALUE 0 ctx 7176574236606554112
PARAM_VALUE 0 ctx->exec 3667400332584771584
PARAM_VALUE 0 ctx->exec_flags 0-3
PARAM_VALUE 0 ctx->nr 0
PARAM_VALUE 0 ctx->request_exclusive 0
PARAM_VALUE 0 ctx->val 4096-ptr_max
PARAM_VALUE 1 ret 3538031150930276352
PARAM_VALUE 1 *ret 0
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/xe/xe_pagefault.c xe_pagefault_handle_vma() -> xe_validation_should_retry()

Type Parameter Key Value
PARAM_VALUE 0 ctx 6515214579871559680
PARAM_VALUE 0 ctx->exec 7747202913587535872
PARAM_VALUE 0 ctx->exec_flags 0-3
PARAM_VALUE 0 ctx->nr 0
PARAM_VALUE 0 ctx->request_exclusive 0
PARAM_VALUE 0 ctx->val 4096-ptr_max
PARAM_VALUE 1 ret 8792396566083653632
LOCK2 &vm->lock
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct xe_vm)->lock

drivers/gpu/drm/xe/xe_pagefault.c xe_pagefault_handle_vma() -> xe_validation_should_retry()

Type Parameter Key Value
PARAM_VALUE 0 ctx 6515214579871559680
PARAM_VALUE 0 ctx->exec 7747202913587535872
PARAM_VALUE 0 ctx->exec_flags 0-3
PARAM_VALUE 0 ctx->nr 0
PARAM_VALUE 0 ctx->request_exclusive 0
PARAM_VALUE 0 ctx->val 4096-ptr_max
PARAM_VALUE 1 ret 8792396566083653632
PARAM_VALUE 1 *ret (-4095)-(-1)
LOCK2 &vm->lock
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct xe_vm)->lock

drivers/gpu/drm/xe/xe_vm.c preempt_rebind_work_func() -> xe_validation_should_retry()

Type Parameter Key Value
PARAM_VALUE 0 ctx 2739767733116751872
PARAM_VALUE 0 ctx->exec 4561806713289248768
PARAM_VALUE 0 ctx->exec_flags 0-3
PARAM_VALUE 0 ctx->lock_held 1
PARAM_VALUE 0 ctx->nr 0
PARAM_VALUE 0 ctx->request_exclusive 0
PARAM_VALUE 0 ctx->val 4096-ptr_max
PARAM_VALUE 1 ret 7251056940869033984
LOCK2 &vm->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct xe_vm)->lock

drivers/gpu/drm/xe/xe_vm.c vm_bind_ioctl_ops_execute() -> xe_validation_should_retry()

Type Parameter Key Value
PARAM_VALUE 0 ctx 1237969228602363904
PARAM_VALUE 0 ctx->exec 5891861914877964288
PARAM_VALUE 0 ctx->exec_flags 0-3
PARAM_VALUE 0 ctx->nr 0
PARAM_VALUE 0 ctx->request_exclusive 0
PARAM_VALUE 0 ctx->val 4096-ptr_max
PARAM_VALUE 1 ret 8835756417344749568
RX_PATH
TASK_NOT_RUNNING
LOCK2 &vm->lock
TYPE_LOCK (struct xe_vm)->lock

drivers/gpu/drm/xe/xe_vm.c xe_vm_create() -> xe_validation_should_retry()

Type Parameter Key Value
PARAM_VALUE 0 ctx 2557297189183369216
PARAM_VALUE 0 ctx->exec 3275022118090657792
PARAM_VALUE 0 ctx->exec_flags 0-3
PARAM_VALUE 0 ctx->nr 0
PARAM_VALUE 0 ctx->request_exclusive 0
PARAM_VALUE 0 ctx->val 4096-ptr_max
PARAM_VALUE 1 ret 3506553769770373120
PARAM_VALUE 1 *ret (-4095)-(-1)
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/xe/xe_vm.c xe_vm_create() -> xe_validation_should_retry()

Type Parameter Key Value
PARAM_VALUE 0 ctx 2557297189183369216
PARAM_VALUE 0 ctx->exec 3275022118090657792
PARAM_VALUE 0 ctx->exec_flags 0-3
PARAM_VALUE 0 ctx->nr 0
PARAM_VALUE 0 ctx->request_exclusive 0
PARAM_VALUE 0 ctx->val 4096-ptr_max
PARAM_VALUE 1 ret 3506553769770373120
PARAM_VALUE 1 *ret s32min-(-1),1-s32max
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/xe/xe_bo.c xe_bo_cpu_fault() -> xe_validation_should_retry()

Type Parameter Key Value
PARAM_VALUE 0 ctx 7056524067379535872
PARAM_VALUE 0 ctx->exec 5896245366120415232
PARAM_VALUE 0 ctx->exec_flags 0-3
PARAM_VALUE 0 ctx->nr 0
PARAM_VALUE 0 ctx->request_exclusive 0
PARAM_VALUE 0 ctx->val 4096-ptr_max
PARAM_VALUE 1 ret 2378216727284932608
PARAM_VALUE 1 *ret s32min-(-1),1-s32max
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &drm_unplug_srcu
HALF_LOCKED2 tbo->base.resv

drivers/gpu/drm/xe/xe_bo.c xe_bo_create_novm() -> xe_validation_should_retry()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4958823281779822592
PARAM_VALUE 0 ctx->exec 6227028085079195648
PARAM_VALUE 0 ctx->exec_flags 0-3
PARAM_VALUE 0 ctx->nr 0
PARAM_VALUE 0 ctx->val 4096-ptr_max
PARAM_VALUE 1 ret 3303297978942042112
PARAM_VALUE 1 *ret (-4095)-(-1)
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/xe/xe_bo.c xe_bo_create_pin_map_at_novm() -> xe_validation_should_retry()

Type Parameter Key Value
PARAM_VALUE 0 ctx 6712706401836675072
PARAM_VALUE 0 ctx->exec 8289733603121156096
PARAM_VALUE 0 ctx->exec_flags 0-3
PARAM_VALUE 0 ctx->nr 0
PARAM_VALUE 0 ctx->val 4096-ptr_max
PARAM_VALUE 1 ret 4272818568246890496
PARAM_VALUE 1 *ret (-4095)-(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &props.gt->eu_stall->stream_lock

drivers/gpu/drm/xe/xe_bo.c xe_bo_create_pin_range_novm() -> xe_validation_should_retry()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4444950903030272000
PARAM_VALUE 0 ctx->exec 2538722551739006976
PARAM_VALUE 0 ctx->exec_flags 0-3
PARAM_VALUE 0 ctx->nr 0
PARAM_VALUE 0 ctx->request_exclusive 0
PARAM_VALUE 0 ctx->val 4096-ptr_max
PARAM_VALUE 1 ret 8342889103200575488
PARAM_VALUE 1 *ret (-4095)-(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &attr->mutex

drivers/gpu/drm/xe/xe_bo.c xe_bo_create_pin_range_novm() -> xe_validation_should_retry()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4444950903030272000
PARAM_VALUE 0 ctx->exec 2538722551739006976
PARAM_VALUE 0 ctx->exec_flags 0-3
PARAM_VALUE 0 ctx->nr 0
PARAM_VALUE 0 ctx->request_exclusive 0
PARAM_VALUE 0 ctx->val 4096-ptr_max
PARAM_VALUE 1 ret 8342889103200575488
PARAM_VALUE 1 *ret s32min-(-1),1-s32max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &attr->mutex

drivers/gpu/drm/xe/xe_bo.c xe_bo_evict_pinned() -> xe_validation_should_retry()

Type Parameter Key Value
PARAM_VALUE 0 ctx 2362277513298505728
PARAM_VALUE 0 ctx->exec 5021271826435272704
PARAM_VALUE 0 ctx->exec_flags 0-3
PARAM_VALUE 0 ctx->nr 0
PARAM_VALUE 0 ctx->request_exclusive 0
PARAM_VALUE 0 ctx->val 4096-ptr_max
PARAM_VALUE 1 ret 3937729933918232576
PARAM_VALUE 1 *ret (-4095)-(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bo->ttm.base.resv

drivers/gpu/drm/xe/xe_bo.c xe_bo_notifier_prepare_pinned() -> xe_validation_should_retry()

Type Parameter Key Value
PARAM_VALUE 0 ctx 1014933271913713664
PARAM_VALUE 0 ctx->exec 8359711956704706560
PARAM_VALUE 0 ctx->exec_flags 0-3
PARAM_VALUE 0 ctx->nr 0
PARAM_VALUE 0 ctx->request_exclusive 0
PARAM_VALUE 0 ctx->val 4096-ptr_max
PARAM_VALUE 1 ret 931430515850616832
PARAM_VALUE 1 *ret (-4095)-(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bo->ttm.base.resv

drivers/gpu/drm/xe/xe_bo.c xe_gem_create_ioctl() -> xe_validation_should_retry()

Type Parameter Key Value
PARAM_VALUE 0 ctx 6864926234635087872
PARAM_VALUE 0 ctx->exec 9124507731206418432
PARAM_VALUE 0 ctx->exec_flags 0-3
PARAM_VALUE 0 ctx->nr 0
PARAM_VALUE 0 ctx->request_exclusive 0
PARAM_VALUE 0 ctx->val 4096-ptr_max
PARAM_VALUE 1 ret 7811061584625586176
PARAM_VALUE 1 *ret (-4095)-(-1)

drivers/gpu/drm/xe/xe_dma_buf.c xe_dma_buf_begin_cpu_access() -> xe_validation_should_retry()

Type Parameter Key Value
PARAM_VALUE 0 ctx 853734905921228800
PARAM_VALUE 0 ctx->exec 7080423264703164416
PARAM_VALUE 0 ctx->exec_flags 0-3
PARAM_VALUE 0 ctx->nr 0
PARAM_VALUE 0 ctx->val 4096-ptr_max
PARAM_VALUE 1 ret 8733159141529948160
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bo->ttm.base.resv

drivers/gpu/drm/xe/xe_dma_buf.c xe_dma_buf_create_obj() -> xe_validation_should_retry()

Type Parameter Key Value
PARAM_VALUE 0 ctx 688294484013273088
PARAM_VALUE 0 ctx->exec 8883621720853864448
PARAM_VALUE 0 ctx->exec_flags 0-3
PARAM_VALUE 0 ctx->nr 0
PARAM_VALUE 0 ctx->request_exclusive 0
PARAM_VALUE 0 ctx->val 4096-ptr_max
PARAM_VALUE 1 ret 1342606549949898752
PARAM_VALUE 1 *ret (-4095)-(-1)
HALF_LOCKED2 &dev->object_name_lock
HALF_LOCKED2 &file_priv->prime.lock
HALF_LOCKED2 dummy_obj->resv

drivers/gpu/drm/xe/xe_svm.c __xe_svm_handle_pagefault() -> xe_validation_should_retry()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4258212171611512832
PARAM_VALUE 0 ctx->exec 13299192113799168
PARAM_VALUE 0 ctx->exec_flags 0-3
PARAM_VALUE 0 ctx->nr 0
PARAM_VALUE 0 ctx->request_exclusive 0
PARAM_VALUE 0 ctx->val 4096-ptr_max
PARAM_VALUE 1 ret 7332058891751219200
PARAM_VALUE 1 *ret (-4095)-(-1)
LOCK2 &range->lock
LOCK2 &vm->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct xe_svm_range)->lock
TYPE_LOCK (struct xe_vm)->lock

drivers/gpu/drm/xe/xe_svm.c xe_drm_pagemap_populate_mm() -> xe_validation_should_retry()

Type Parameter Key Value
PARAM_VALUE 0 ctx 7579095510901567488
PARAM_VALUE 0 ctx->exec 2159880792380792832
PARAM_VALUE 0 ctx->exec_flags 0-3
PARAM_VALUE 0 ctx->nr 0
PARAM_VALUE 0 ctx->request_exclusive 0
PARAM_VALUE 0 ctx->val 4096-ptr_max
PARAM_VALUE 1 ret 5956413953537224704
PARAM_VALUE 1 *ret (-4095)-(-1)
LOCK2 &driver_migrate_lock
LOCK2 &mm->mmap_lock
LOCK2 &vm->lock
LOCK2 global &drm_unplug_srcu
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct mm_struct)->mmap_lock
TYPE_LOCK (struct xe_vm)->lock

drivers/gpu/drm/xe/xe_pxp_submit.c allocate_gsc_client_resources() -> xe_validation_should_retry()

Type Parameter Key Value
PARAM_VALUE 0 ctx 7196704474281304064
PARAM_VALUE 0 ctx->exec 2589435461487665152
PARAM_VALUE 0 ctx->exec_flags 0-3
PARAM_VALUE 0 ctx->nr 0
PARAM_VALUE 0 ctx->request_exclusive 0
PARAM_VALUE 0 ctx->val 4096-ptr_max
PARAM_VALUE 1 ret 2791877457560473600
PARAM_VALUE 1 *ret (-4095)-(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock