Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/xe/xe_psmi.c xe_psmi_debugfs_register() -> psmi_enabled()

Type Parameter Key Value
PARAM_VALUE 0 xe 4096-ptr_max
PARAM_VALUE 0 xe->devcoredump.lock.dep_map->name 0-255
PARAM_VALUE 0 xe->devcoredump.lock.first_waiter 0
PARAM_VALUE 0 xe->devcoredump.lock.magic 4096-ptr_max
PARAM_VALUE 0 xe->devcoredump.lock.osq.tail.counter 0
PARAM_VALUE 0 xe->devcoredump.lock.owner.counter 0
PARAM_VALUE 0 xe->devres_group 4096-ptr_max
PARAM_VALUE 0 xe->drm->debugfs_root->d_children.first->pprev 1-u64max
PARAM_VALUE 0 xe->drm.client_sysrq_list.next 4096-ptr_max
PARAM_VALUE 0 xe->drm.client_sysrq_list.prev 52697590577819648
PARAM_VALUE 0 xe->drm.debugfs_root->d_children.first 4096-ptr_max
PARAM_VALUE 0 xe->drm.debugfs_root->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 xe->drm.debugfs_root->d_inode->i_rwsem.first_waiter->list.next 2624917664208203776
PARAM_VALUE 0 xe->drm.debugfs_root->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 xe->drm.debugfs_root->d_sb 4096-ptr_max
PARAM_VALUE 0 xe->drm.dev 4096-ptr_max
PARAM_VALUE 0 xe->drm.dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 xe->drm.dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 xe->drm.dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 xe->drm.dev->dma_mask 4096-ptr_max
PARAM_VALUE 0 xe->drm.dev->dma_parms->max_segment_size 0,131072-2147479552
PARAM_VALUE 0 xe->drm.dev->flags 4096-ptr_max
PARAM_VALUE 0 xe->drm.dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 xe->drm.driver 4096-ptr_max
PARAM_VALUE 0 xe->drm.driver->unload 0
PARAM_VALUE 0 xe->drm.managed.resources.next->next 4096-ptr_max
PARAM_VALUE 0 xe->drm.managed.resources.next->prev 4096-ptr_max
PARAM_VALUE 0 xe->drm.managed.resources.next->prev->next 1-u64max
PARAM_VALUE 0 xe->drm.managed.resources.next->prev->prev 1-u64max
PARAM_VALUE 0 xe->drm.mode_config.helper_private->atomic_commit_tail 0,113,234517204248432640,264416658693812224,1002985563129995264,1135616218159751168,1435312838172803072,1559742614509715456,1682444203744997376,2792895115794366464,3649211429048074240,4264110321136541696,4348468181405868032-s64max
PARAM_VALUE 0 xe->drm.primary 4096-ptr_max
PARAM_VALUE 0 xe->drm.primary->debugfs_root->d_children.first 4096-ptr_max
PARAM_VALUE 0 xe->drm.primary->debugfs_root->d_sb 4096-ptr_max
PARAM_VALUE 0 xe->drm.primary->debugfs_root->d_sb->s_fs_info->s_bmap_bits 0-4294967295
PARAM_VALUE 0 xe->drm.primary->debugfs_root->d_sb->s_fs_info->s_bmap_count 0-4294967295
PARAM_VALUE 0 xe->drm.primary->debugfs_root->d_sb->s_fs_info->s_data_blksize 0-4294967295
PARAM_VALUE 0 xe->drm.primary->debugfs_root->d_sb->s_fs_info->s_hashsize s32min-s32max
PARAM_VALUE 0 xe->drm.primary->debugfs_root->d_sb->s_fs_info->s_last_bmap 0-4294967295
PARAM_VALUE 0 xe->drm.primary->debugfs_root->d_sb->s_fs_info->s_mode 0-u16max
PARAM_VALUE 0 xe->drm.primary->debugfs_root->d_sb->s_fs_info->s_partition_size s32min-s32max
PARAM_VALUE 0 xe->drm.primary->debugfs_root->d_sb->s_fs_info->s_reserved s32min-s32max
PARAM_VALUE 0 xe->drm.primary->debugfs_root->d_sb->s_fs_info->s_root_block 0-4294967295
PARAM_VALUE 0 xe->drm.primary->debugfs_root->d_sb->s_fs_info->work_queued s32min-s32max
PARAM_VALUE 0 xe->drm.registered 1
PARAM_VALUE 0 xe->drm.unplugged 0
PARAM_VALUE 0 xe->info.has_device_atomics_on_smem 1
PARAM_VALUE 0 xe->info.has_soc_remapper_sysctrl 0
PARAM_VALUE 0 xe->info.has_soc_remapper_telem 0
PARAM_VALUE 0 xe->info.has_sysctrl 0
PARAM_VALUE 0 xe->info.max_gt_per_tile 0-3
PARAM_VALUE 0 xe->info.mem_region_mask 1
PARAM_VALUE 0 xe->info.probe_display 0
PARAM_VALUE 0 xe->info.tile_count 0-4
PARAM_VALUE 0 xe->irq.enabled.counter 1
PARAM_VALUE 0 xe->irq.msix.indexes.xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 xe->mem.shrinker->shrink 0-s64max
PARAM_VALUE 0 xe->mem.shrinker->xe 0-s64max
PARAM_VALUE 0 xe->mem.sys_mgr.bdev 4096-ptr_max
PARAM_VALUE 0 xe->mem.sys_mgr.func 6503104777259278336
PARAM_VALUE 0 xe->mem.sys_mgr.func->alloc 8544469934215614464
PARAM_VALUE 0 xe->mem.sys_mgr.func->compatible 0
PARAM_VALUE 0 xe->mem.sys_mgr.func->debug 1142380444699836416
PARAM_VALUE 0 xe->mem.sys_mgr.func->free 8103107332275752960
PARAM_VALUE 0 xe->mem.sys_mgr.func->intersects 0
PARAM_VALUE 0 xe->mem.sys_mgr.size 0-4503599627370495
PARAM_VALUE 0 xe->mem.sys_mgr.usage 0
PARAM_VALUE 0 xe->mem.sys_mgr.use_tt 1
PARAM_VALUE 0 xe->mem.sys_mgr.use_type 1
PARAM_VALUE 0 xe->mmio.regs 4096-ptr_max
PARAM_VALUE 0 xe->mmio.size 16777216-u64max
PARAM_VALUE 0 xe->nvm->regions 0-s64max
PARAM_VALUE 0 xe->oa.metrics_kobj->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 xe->oa.oa_formats->bc_report 0-1
PARAM_VALUE 0 xe->oa.oa_formats->counter_select 0-7
PARAM_VALUE 0 xe->oa.oa_formats->counter_size 0-1
PARAM_VALUE 0 xe->oa.oa_formats->header 0-1
PARAM_VALUE 0 xe->oa.oa_formats->size 64,128,192,256,320,576,640
PARAM_VALUE 0 xe->oa.oa_formats->type 0-1,3-5
PARAM_VALUE 0 xe->pat.n_entries 4-5,8,28,32
PARAM_VALUE 0 xe->pat.ops 254094980546187264,2830922887130419200,3256432684774006784,7695917154883063808,8298202735792472064,8751657750042034176
PARAM_VALUE 0 xe->pat.ops->dump 69088636612792320,301730508162646016,1637559788139065344,7561899228529188864,7696605909093560320
PARAM_VALUE 0 xe->pat.ops->entry_dump 0,2999949002731610112,3263640026551775232
PARAM_VALUE 0 xe->pat.ops->program_graphics 218651167440691200,751465150976806912
PARAM_VALUE 0 xe->pat.ops->program_media 0,218651167440691200,751465150976806912
PARAM_VALUE 0 xe->pat.pat_ats 2316858623399878656,6279316616759611392
PARAM_VALUE 0 xe->pat.pat_ats->coh_mode 3
PARAM_VALUE 0 xe->pat.pat_ats->valid 1
PARAM_VALUE 0 xe->pat.pat_media_pta 4190119803127025664,5058557256907857920,9122553590073466880
PARAM_VALUE 0 xe->pat.pat_media_pta->coh_mode 1-2
PARAM_VALUE 0 xe->pat.pat_media_pta->valid 1
PARAM_VALUE 0 xe->pat.pat_primary_pta 1968072890826240000,4190119803127025664,9122553590073466880
PARAM_VALUE 0 xe->pat.pat_primary_pta->coh_mode 1,3
PARAM_VALUE 0 xe->pat.pat_primary_pta->valid 1
PARAM_VALUE 0 xe->pat.table 2206034722697752576,5363411222547865600,5537977698863906816,5688171875344830464,5943158666664808448,6168836338333003776,6838804483685605376
PARAM_VALUE 0 xe->pat.table->coh_mode 1-3
PARAM_VALUE 0 xe->pat.table->valid 0-1
PARAM_VALUE 0 xe->pmu.base.dev->dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 0 xe->pmu.base.dev->dma_io_tlb_mem->debugfs 0-s64max
PARAM_VALUE 0 xe->pmu.base.dev->dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 0 xe->pmu.base.dev->dma_io_tlb_mem->force_bounce 0-1
PARAM_VALUE 0 xe->pmu.base.dev->dma_io_tlb_mem->nslabs 0-s64max
PARAM_VALUE 0 xe->pmu.base.dev->dma_io_tlb_mem->phys_limit 0-s64max
PARAM_VALUE 0 xe->pmu.base.dev->iommu_group->owner_cnt 0-4294967295
PARAM_VALUE 0 xe->pmu.base.dev->kobj.parent->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 xe->pmu.base.dev->kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 xe->pmu.base.dev->p->dead 0-1
PARAM_VALUE 0 xe->pmu.base.dev->parent->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 xe->pmu.base.dev->parent->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 xe->pmu.base.dev->parent->kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 xe->pmu.base.dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 xe->pxp->key_instance 0-4294967295
PARAM_VALUE 0 xe->pxp->last_suspend_key_instance 0-4294967295
PARAM_VALUE 0 xe->pxp->xe s64min-(-4096),0-s64max
PARAM_VALUE 0 xe->sriov.__mode 1-2
PARAM_VALUE 0 xe->sriov.pf.driver_max_vfs 1-u16max
PARAM_VALUE 0 xe->tiles 4096-ptr_max
PARAM_VALUE 0 xe->ttm.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 xe->ttm.dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 xe->val.lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 xe->wa_active.oob_initialized 1
PARAM_VALUE 0 *xe->drm.primary->debugfs_root->d_children.first->pprev 1-u64max
PARAM_VALUE 0 *xe->mem.sys_mgr->eviction_fences 0
PARAM_VALUE 0 *xe->survivability.info 0-4294967295
BUF_SIZE 0 xe->devres_group s32min-(-1),1-s32max
CAPPED_DATA 0 xe 1
CAPPED_DATA 0 xe->drm.dev 1
CAPPED_DATA 0 xe->info.tile_count 1
CAPPED_DATA 0 xe->mmio.size 1
DATA_SOURCE 0 xe $0
FUZZY_MAX 0 xe->info.tile_count 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/xe/xe_psmi.c xe_psmi_init() -> psmi_enabled()

Type Parameter Key Value
PARAM_VALUE 0 xe 4096-ptr_max
PARAM_VALUE 0 xe->devcoredump.lock.dep_map->name 0-255
PARAM_VALUE 0 xe->devcoredump.lock.first_waiter 0
PARAM_VALUE 0 xe->devcoredump.lock.magic 4096-ptr_max
PARAM_VALUE 0 xe->devcoredump.lock.osq.tail.counter 0
PARAM_VALUE 0 xe->devcoredump.lock.owner.counter 0
PARAM_VALUE 0 xe->devres_group 4096-ptr_max
PARAM_VALUE 0 xe->drm.dev 4096-ptr_max
PARAM_VALUE 0 xe->drm.dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 xe->drm.dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 xe->drm.dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 xe->drm.dev->dma_mask 4096-ptr_max
PARAM_VALUE 0 xe->drm.dev->dma_parms->max_segment_size 0,131072-2147479552
PARAM_VALUE 0 xe->drm.dev->flags 4096-ptr_max
PARAM_VALUE 0 xe->drm.managed.resources.next 4096-ptr_max
PARAM_VALUE 0 xe->drm.managed.resources.next->next 4096-ptr_max
PARAM_VALUE 0 xe->drm.managed.resources.next->prev 4096-ptr_max
PARAM_VALUE 0 xe->drm.managed.resources.next->prev->next 1-u64max
PARAM_VALUE 0 xe->drm.managed.resources.next->prev->prev 1-u64max
PARAM_VALUE 0 xe->info.has_device_atomics_on_smem 1
PARAM_VALUE 0 xe->info.has_drm_ras 0
PARAM_VALUE 0 xe->info.has_heci_cscfi 0
PARAM_VALUE 0 xe->info.has_heci_gscfi 0
PARAM_VALUE 0 xe->info.has_i2c 0
PARAM_VALUE 0 xe->info.has_late_bind 0
PARAM_VALUE 0 xe->info.has_soc_remapper_sysctrl 0
PARAM_VALUE 0 xe->info.has_soc_remapper_telem 0
PARAM_VALUE 0 xe->info.has_sysctrl 0
PARAM_VALUE 0 xe->info.max_gt_per_tile 0-3
PARAM_VALUE 0 xe->info.mem_region_mask 1
PARAM_VALUE 0 xe->info.probe_display 0
PARAM_VALUE 0 xe->info.skip_guc_pc 1
PARAM_VALUE 0 xe->info.skip_pcode 1
PARAM_VALUE 0 xe->info.step.media 0-41
PARAM_VALUE 0 xe->info.tile_count 0-4
PARAM_VALUE 0 xe->irq.enabled.counter 1
PARAM_VALUE 0 xe->irq.msix.indexes.xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 xe->mem.sys_mgr.bdev 4096-ptr_max
PARAM_VALUE 0 xe->mem.sys_mgr.func 6503104777259278336
PARAM_VALUE 0 xe->mem.sys_mgr.func->alloc 8544469934215614464
PARAM_VALUE 0 xe->mem.sys_mgr.func->compatible 0
PARAM_VALUE 0 xe->mem.sys_mgr.func->debug 1142380444699836416
PARAM_VALUE 0 xe->mem.sys_mgr.func->free 8103107332275752960
PARAM_VALUE 0 xe->mem.sys_mgr.func->intersects 0
PARAM_VALUE 0 xe->mem.sys_mgr.size 0-4503599627370495
PARAM_VALUE 0 xe->mem.sys_mgr.usage 0
PARAM_VALUE 0 xe->mem.sys_mgr.use_tt 1
PARAM_VALUE 0 xe->mem.sys_mgr.use_type 1
PARAM_VALUE 0 xe->mmio.regs 4096-ptr_max
PARAM_VALUE 0 xe->mmio.size 16777216-u64max
PARAM_VALUE 0 xe->oa.oa_formats->bc_report 0-1
PARAM_VALUE 0 xe->oa.oa_formats->counter_select 0-7
PARAM_VALUE 0 xe->oa.oa_formats->counter_size 0-1
PARAM_VALUE 0 xe->oa.oa_formats->header 0-1
PARAM_VALUE 0 xe->oa.oa_formats->size 64,128,192,256,320,576,640
PARAM_VALUE 0 xe->oa.oa_formats->type 0-1,3-5
PARAM_VALUE 0 xe->pat.n_entries 4-5,8,28,32
PARAM_VALUE 0 xe->pat.ops 254094980546187264,2830922887130419200,3256432684774006784,7695917154883063808,8298202735792472064,8751657750042034176
PARAM_VALUE 0 xe->pat.ops->dump 69088636612792320,301730508162646016,1637559788139065344,7561899228529188864,7696605909093560320
PARAM_VALUE 0 xe->pat.ops->entry_dump 0,2999949002731610112,3263640026551775232
PARAM_VALUE 0 xe->pat.ops->program_graphics 218651167440691200,751465150976806912
PARAM_VALUE 0 xe->pat.ops->program_media 0,218651167440691200,751465150976806912
PARAM_VALUE 0 xe->pat.pat_ats 2316858623399878656,6279316616759611392
PARAM_VALUE 0 xe->pat.pat_ats->coh_mode 3
PARAM_VALUE 0 xe->pat.pat_ats->valid 1
PARAM_VALUE 0 xe->pat.pat_media_pta 4190119803127025664,5058557256907857920,9122553590073466880
PARAM_VALUE 0 xe->pat.pat_media_pta->coh_mode 1-2
PARAM_VALUE 0 xe->pat.pat_media_pta->valid 1
PARAM_VALUE 0 xe->pat.pat_media_tr_pta 708708273941790720
PARAM_VALUE 0 xe->pat.pat_media_tr_pta->coh_mode 1-3
PARAM_VALUE 0 xe->pat.pat_media_tr_pta->valid 0-1
PARAM_VALUE 0 xe->pat.pat_primary_pta 1968072890826240000,4190119803127025664,9122553590073466880
PARAM_VALUE 0 xe->pat.pat_primary_pta->coh_mode 1,3
PARAM_VALUE 0 xe->pat.pat_primary_pta->valid 1
PARAM_VALUE 0 xe->pat.pat_primary_tr_pta 708708273941790720
PARAM_VALUE 0 xe->pat.pat_primary_tr_pta->coh_mode 1-3
PARAM_VALUE 0 xe->pat.pat_primary_tr_pta->valid 0-1
PARAM_VALUE 0 xe->pat.table 2206034722697752576,5363411222547865600,5537977698863906816,5688171875344830464,5943158666664808448,6168836338333003776,6838804483685605376
PARAM_VALUE 0 xe->pat.table->coh_mode 1-3
PARAM_VALUE 0 xe->pat.table->valid 0-1
PARAM_VALUE 0 xe->pxp->key_instance 0-4294967295
PARAM_VALUE 0 xe->pxp->last_suspend_key_instance 0-4294967295
PARAM_VALUE 0 xe->pxp->xe s64min-(-4096),0-s64max
PARAM_VALUE 0 xe->ras.node 1-u64max
PARAM_VALUE 0 xe->sriov.__mode 1-3
PARAM_VALUE 0 xe->sriov.pf.driver_max_vfs 1-u16max
PARAM_VALUE 0 xe->tiles 4096-ptr_max
PARAM_VALUE 0 xe->ttm.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 xe->ttm.dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 xe->val.lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 xe->wa_active.oob_initialized 1
PARAM_VALUE 0 *xe->mem.sys_mgr->eviction_fences 0
PARAM_VALUE 0 *xe->survivability.info 0-4294967295
BUF_SIZE 0 xe->devres_group s32min-(-1),1-s32max
CAPPED_DATA 0 xe 1
CAPPED_DATA 0 xe->drm.dev 1
CAPPED_DATA 0 xe->info.tile_count 1
CAPPED_DATA 0 xe->mmio.size 1
DATA_SOURCE 0 xe $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock