Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/xe/xe_hwmon.c xe_hwmon_get_preregistration_info() -> xe_hwmon_pcode_rmw_power_limit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmon | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | hwmon->xe | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe->devcoredump.lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe->devres_group | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe->drm.client_sysrq_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe->drm.client_sysrq_list.prev | 52697590577819648 |
| PARAM_VALUE | 0 | hwmon->xe->drm.dev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe->drm.driver | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe->drm.primary | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe->drm.registered | 1 |
| PARAM_VALUE | 0 | hwmon->xe->drm.unplugged | 0 |
| PARAM_VALUE | 0 | hwmon->xe->info.has_device_atomics_on_smem | 1 |
| PARAM_VALUE | 0 | hwmon->xe->info.has_mbx_power_limits | 1 |
| PARAM_VALUE | 0 | hwmon->xe->info.has_soc_remapper_telem | 0 |
| PARAM_VALUE | 0 | hwmon->xe->info.has_sysctrl | 0 |
| PARAM_VALUE | 0 | hwmon->xe->info.is_dgfx | 1 |
| PARAM_VALUE | 0 | hwmon->xe->info.max_gt_per_tile | 0-3 |
| PARAM_VALUE | 0 | hwmon->xe->info.mem_region_mask | 1 |
| PARAM_VALUE | 0 | hwmon->xe->info.probe_display | 0 |
| PARAM_VALUE | 0 | hwmon->xe->info.tile_count | 0-4 |
| PARAM_VALUE | 0 | hwmon->xe->irq.enabled.counter | 1 |
| PARAM_VALUE | 0 | hwmon->xe->mem.sys_mgr.bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe->mem.sys_mgr.func | 6503104777259278336 |
| PARAM_VALUE | 0 | hwmon->xe->mem.sys_mgr.size | 0-4503599627370495 |
| PARAM_VALUE | 0 | hwmon->xe->mem.sys_mgr.usage | 0 |
| PARAM_VALUE | 0 | hwmon->xe->mem.sys_mgr.use_tt | 1 |
| PARAM_VALUE | 0 | hwmon->xe->mem.sys_mgr.use_type | 1 |
| PARAM_VALUE | 0 | hwmon->xe->mmio.regs | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe->mmio.size | 16777216-u64max |
| PARAM_VALUE | 0 | hwmon->xe->pat.n_entries | 4-5,8,28,32 |
| PARAM_VALUE | 0 | hwmon->xe->pat.ops | 254094980546187264,2830922887130419200,3256432684774006784,7695917154883063808,8298202735792472064,8751657750042034176 |
| PARAM_VALUE | 0 | hwmon->xe->pat.pat_ats | 2316858623399878656,6279316616759611392 |
| PARAM_VALUE | 0 | hwmon->xe->pat.pat_media_pta | 4190119803127025664,5058557256907857920,9122553590073466880 |
| PARAM_VALUE | 0 | hwmon->xe->pat.pat_primary_pta | 1968072890826240000,4190119803127025664,9122553590073466880 |
| PARAM_VALUE | 0 | hwmon->xe->pat.table | 2206034722697752576,5363411222547865600,5537977698863906816,5688171875344830464,5943158666664808448,6168836338333003776,6838804483685605376 |
| PARAM_VALUE | 0 | hwmon->xe->sriov.__mode | 1-2 |
| PARAM_VALUE | 0 | hwmon->xe->sriov.pf.driver_max_vfs | 1-u16max |
| PARAM_VALUE | 0 | hwmon->xe->wa_active.oob_initialized | 1 |
| PARAM_VALUE | 1 | attr | 19 |
| PARAM_VALUE | 2 | channel | 0 |
| PARAM_VALUE | 3 | clr | 16711679 |
| BUF_SIZE | 0 | hwmon | 1264 |
| CAPPED_DATA | 0 | hwmon->xe->info.tile_count | 1 |
| CAPPED_DATA | 0 | hwmon->xe->mmio.size | 1 |
| DATA_SOURCE | 0 | hwmon | $0 |
| MEM_ZERO | 0 | hwmon | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/xe/xe_hwmon.c xe_hwmon_get_preregistration_info() -> xe_hwmon_pcode_rmw_power_limit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmon | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | hwmon->xe | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe->devcoredump.lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe->devres_group | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe->drm.client_sysrq_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe->drm.client_sysrq_list.prev | 52697590577819648 |
| PARAM_VALUE | 0 | hwmon->xe->drm.dev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe->drm.driver | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe->drm.primary | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe->drm.registered | 1 |
| PARAM_VALUE | 0 | hwmon->xe->drm.unplugged | 0 |
| PARAM_VALUE | 0 | hwmon->xe->info.has_device_atomics_on_smem | 1 |
| PARAM_VALUE | 0 | hwmon->xe->info.has_mbx_power_limits | 1 |
| PARAM_VALUE | 0 | hwmon->xe->info.has_soc_remapper_telem | 0 |
| PARAM_VALUE | 0 | hwmon->xe->info.has_sysctrl | 0 |
| PARAM_VALUE | 0 | hwmon->xe->info.is_dgfx | 1 |
| PARAM_VALUE | 0 | hwmon->xe->info.max_gt_per_tile | 0-3 |
| PARAM_VALUE | 0 | hwmon->xe->info.mem_region_mask | 1 |
| PARAM_VALUE | 0 | hwmon->xe->info.probe_display | 0 |
| PARAM_VALUE | 0 | hwmon->xe->info.tile_count | 0-4 |
| PARAM_VALUE | 0 | hwmon->xe->irq.enabled.counter | 1 |
| PARAM_VALUE | 0 | hwmon->xe->mem.sys_mgr.bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe->mem.sys_mgr.func | 6503104777259278336 |
| PARAM_VALUE | 0 | hwmon->xe->mem.sys_mgr.size | 0-4503599627370495 |
| PARAM_VALUE | 0 | hwmon->xe->mem.sys_mgr.usage | 0 |
| PARAM_VALUE | 0 | hwmon->xe->mem.sys_mgr.use_tt | 1 |
| PARAM_VALUE | 0 | hwmon->xe->mem.sys_mgr.use_type | 1 |
| PARAM_VALUE | 0 | hwmon->xe->mmio.regs | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe->mmio.size | 16777216-u64max |
| PARAM_VALUE | 0 | hwmon->xe->pat.n_entries | 4-5,8,28,32 |
| PARAM_VALUE | 0 | hwmon->xe->pat.ops | 254094980546187264,2830922887130419200,3256432684774006784,7695917154883063808,8298202735792472064,8751657750042034176 |
| PARAM_VALUE | 0 | hwmon->xe->pat.pat_ats | 2316858623399878656,6279316616759611392 |
| PARAM_VALUE | 0 | hwmon->xe->pat.pat_media_pta | 4190119803127025664,5058557256907857920,9122553590073466880 |
| PARAM_VALUE | 0 | hwmon->xe->pat.pat_primary_pta | 1968072890826240000,4190119803127025664,9122553590073466880 |
| PARAM_VALUE | 0 | hwmon->xe->pat.table | 2206034722697752576,5363411222547865600,5537977698863906816,5688171875344830464,5943158666664808448,6168836338333003776,6838804483685605376 |
| PARAM_VALUE | 0 | hwmon->xe->sriov.__mode | 1-2 |
| PARAM_VALUE | 0 | hwmon->xe->sriov.pf.driver_max_vfs | 1-u16max |
| PARAM_VALUE | 0 | hwmon->xe->wa_active.oob_initialized | 1 |
| PARAM_VALUE | 1 | attr | 19 |
| PARAM_VALUE | 2 | channel | 1 |
| PARAM_VALUE | 3 | clr | 16711679 |
| BUF_SIZE | 0 | hwmon | 1264 |
| CAPPED_DATA | 0 | hwmon->xe->info.tile_count | 1 |
| CAPPED_DATA | 0 | hwmon->xe->mmio.size | 1 |
| DATA_SOURCE | 0 | hwmon | $0 |
| MEM_ZERO | 0 | hwmon | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/xe/xe_hwmon.c xe_hwmon_get_preregistration_info() -> xe_hwmon_pcode_rmw_power_limit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmon | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | hwmon->xe | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe->devcoredump.lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe->devres_group | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe->drm.client_sysrq_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe->drm.client_sysrq_list.prev | 52697590577819648 |
| PARAM_VALUE | 0 | hwmon->xe->drm.dev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe->drm.driver | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe->drm.primary | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe->drm.registered | 1 |
| PARAM_VALUE | 0 | hwmon->xe->drm.unplugged | 0 |
| PARAM_VALUE | 0 | hwmon->xe->info.has_device_atomics_on_smem | 1 |
| PARAM_VALUE | 0 | hwmon->xe->info.has_mbx_power_limits | 1 |
| PARAM_VALUE | 0 | hwmon->xe->info.has_soc_remapper_telem | 0 |
| PARAM_VALUE | 0 | hwmon->xe->info.has_sysctrl | 0 |
| PARAM_VALUE | 0 | hwmon->xe->info.is_dgfx | 1 |
| PARAM_VALUE | 0 | hwmon->xe->info.max_gt_per_tile | 0-3 |
| PARAM_VALUE | 0 | hwmon->xe->info.mem_region_mask | 1 |
| PARAM_VALUE | 0 | hwmon->xe->info.probe_display | 0 |
| PARAM_VALUE | 0 | hwmon->xe->info.tile_count | 0-4 |
| PARAM_VALUE | 0 | hwmon->xe->irq.enabled.counter | 1 |
| PARAM_VALUE | 0 | hwmon->xe->mem.sys_mgr.bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe->mem.sys_mgr.func | 6503104777259278336 |
| PARAM_VALUE | 0 | hwmon->xe->mem.sys_mgr.size | 0-4503599627370495 |
| PARAM_VALUE | 0 | hwmon->xe->mem.sys_mgr.usage | 0 |
| PARAM_VALUE | 0 | hwmon->xe->mem.sys_mgr.use_tt | 1 |
| PARAM_VALUE | 0 | hwmon->xe->mem.sys_mgr.use_type | 1 |
| PARAM_VALUE | 0 | hwmon->xe->mmio.regs | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe->mmio.size | 16777216-u64max |
| PARAM_VALUE | 0 | hwmon->xe->pat.n_entries | 4-5,8,28,32 |
| PARAM_VALUE | 0 | hwmon->xe->pat.ops | 254094980546187264,2830922887130419200,3256432684774006784,7695917154883063808,8298202735792472064,8751657750042034176 |
| PARAM_VALUE | 0 | hwmon->xe->pat.pat_ats | 2316858623399878656,6279316616759611392 |
| PARAM_VALUE | 0 | hwmon->xe->pat.pat_media_pta | 4190119803127025664,5058557256907857920,9122553590073466880 |
| PARAM_VALUE | 0 | hwmon->xe->pat.pat_primary_pta | 1968072890826240000,4190119803127025664,9122553590073466880 |
| PARAM_VALUE | 0 | hwmon->xe->pat.table | 2206034722697752576,5363411222547865600,5537977698863906816,5688171875344830464,5943158666664808448,6168836338333003776,6838804483685605376 |
| PARAM_VALUE | 0 | hwmon->xe->sriov.__mode | 1-2 |
| PARAM_VALUE | 0 | hwmon->xe->sriov.pf.driver_max_vfs | 1-u16max |
| PARAM_VALUE | 0 | hwmon->xe->wa_active.oob_initialized | 1 |
| PARAM_VALUE | 1 | attr | 14 |
| PARAM_VALUE | 2 | channel | 0 |
| PARAM_VALUE | 3 | clr | 16711679 |
| BUF_SIZE | 0 | hwmon | 1264 |
| CAPPED_DATA | 0 | hwmon->xe->info.tile_count | 1 |
| CAPPED_DATA | 0 | hwmon->xe->mmio.size | 1 |
| DATA_SOURCE | 0 | hwmon | $0 |
| MEM_ZERO | 0 | hwmon | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/xe/xe_hwmon.c xe_hwmon_get_preregistration_info() -> xe_hwmon_pcode_rmw_power_limit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmon | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | hwmon->xe | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe->devcoredump.lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe->devres_group | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe->drm.client_sysrq_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe->drm.client_sysrq_list.prev | 52697590577819648 |
| PARAM_VALUE | 0 | hwmon->xe->drm.dev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe->drm.driver | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe->drm.primary | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe->drm.registered | 1 |
| PARAM_VALUE | 0 | hwmon->xe->drm.unplugged | 0 |
| PARAM_VALUE | 0 | hwmon->xe->info.has_device_atomics_on_smem | 1 |
| PARAM_VALUE | 0 | hwmon->xe->info.has_mbx_power_limits | 1 |
| PARAM_VALUE | 0 | hwmon->xe->info.has_soc_remapper_telem | 0 |
| PARAM_VALUE | 0 | hwmon->xe->info.has_sysctrl | 0 |
| PARAM_VALUE | 0 | hwmon->xe->info.is_dgfx | 1 |
| PARAM_VALUE | 0 | hwmon->xe->info.max_gt_per_tile | 0-3 |
| PARAM_VALUE | 0 | hwmon->xe->info.mem_region_mask | 1 |
| PARAM_VALUE | 0 | hwmon->xe->info.probe_display | 0 |
| PARAM_VALUE | 0 | hwmon->xe->info.tile_count | 0-4 |
| PARAM_VALUE | 0 | hwmon->xe->irq.enabled.counter | 1 |
| PARAM_VALUE | 0 | hwmon->xe->mem.sys_mgr.bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe->mem.sys_mgr.func | 6503104777259278336 |
| PARAM_VALUE | 0 | hwmon->xe->mem.sys_mgr.size | 0-4503599627370495 |
| PARAM_VALUE | 0 | hwmon->xe->mem.sys_mgr.usage | 0 |
| PARAM_VALUE | 0 | hwmon->xe->mem.sys_mgr.use_tt | 1 |
| PARAM_VALUE | 0 | hwmon->xe->mem.sys_mgr.use_type | 1 |
| PARAM_VALUE | 0 | hwmon->xe->mmio.regs | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe->mmio.size | 16777216-u64max |
| PARAM_VALUE | 0 | hwmon->xe->pat.n_entries | 4-5,8,28,32 |
| PARAM_VALUE | 0 | hwmon->xe->pat.ops | 254094980546187264,2830922887130419200,3256432684774006784,7695917154883063808,8298202735792472064,8751657750042034176 |
| PARAM_VALUE | 0 | hwmon->xe->pat.pat_ats | 2316858623399878656,6279316616759611392 |
| PARAM_VALUE | 0 | hwmon->xe->pat.pat_media_pta | 4190119803127025664,5058557256907857920,9122553590073466880 |
| PARAM_VALUE | 0 | hwmon->xe->pat.pat_primary_pta | 1968072890826240000,4190119803127025664,9122553590073466880 |
| PARAM_VALUE | 0 | hwmon->xe->pat.table | 2206034722697752576,5363411222547865600,5537977698863906816,5688171875344830464,5943158666664808448,6168836338333003776,6838804483685605376 |
| PARAM_VALUE | 0 | hwmon->xe->sriov.__mode | 1-2 |
| PARAM_VALUE | 0 | hwmon->xe->sriov.pf.driver_max_vfs | 1-u16max |
| PARAM_VALUE | 0 | hwmon->xe->wa_active.oob_initialized | 1 |
| PARAM_VALUE | 1 | attr | 14 |
| PARAM_VALUE | 2 | channel | 1 |
| PARAM_VALUE | 3 | clr | 16711679 |
| BUF_SIZE | 0 | hwmon | 1264 |
| CAPPED_DATA | 0 | hwmon->xe->info.tile_count | 1 |
| CAPPED_DATA | 0 | hwmon->xe->mmio.size | 1 |
| DATA_SOURCE | 0 | hwmon | $0 |
| MEM_ZERO | 0 | hwmon | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/xe/xe_hwmon.c xe_hwmon_power_max_interval_store() -> xe_hwmon_pcode_rmw_power_limit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmon | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | hwmon->xe | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe->drm.dev->power.request | 0-4 |
| PARAM_VALUE | 0 | hwmon->xe->drm.dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | hwmon->xe->drm.dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | hwmon->xe->info.has_mbx_power_limits | 1 |
| PARAM_VALUE | 1 | attr | 14,19 |
| PARAM_VALUE | 2 | channel | 0-1 |
| PARAM_VALUE | 3 | clr | 16646144 |
| PARAM_VALUE | 4 | set | 0-16777215 |
| BUF_SIZE | 0 | hwmon | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hwmon | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &hwmon->hwmon_lock | 1 |
| FUZZY_MAX | 1 | attr | 19 |
| BIT_INFO | 1 | attr | 0x2,0x1f |
| HARD_MAX | 1 | attr | 19 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 4 | set | 0,131072-16646144[c] |
| UNITS | 0 | hwmon | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &hwmon->hwmon_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct xe_hwmon)->hwmon_lock |
drivers/gpu/drm/xe/xe_hwmon.c xe_hwmon_power_max_write() -> xe_hwmon_pcode_rmw_power_limit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmon | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | hwmon->xe | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe->drm.dev->power.request | 0-4 |
| PARAM_VALUE | 0 | hwmon->xe->drm.dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | hwmon->xe->drm.dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | hwmon->xe->info.has_mbx_power_limits | 1 |
| PARAM_VALUE | 1 | attr | 14,19 |
| PARAM_VALUE | 3 | clr | 32768 |
| PARAM_VALUE | 4 | set | 0 |
| BUF_SIZE | 0 | hwmon | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hwmon | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &hwmon->hwmon_lock | 1 |
| DATA_SOURCE | 0 | hwmon | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| DATA_SOURCE | 2 | channel | $2 |
| FUZZY_MAX | 1 | attr | 19 |
| BIT_INFO | 1 | attr | 0x2,0x1f |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | hwmon | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| LOCK2 | 0 | &hwmon->hwmon_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct xe_hwmon)->hwmon_lock |
drivers/gpu/drm/xe/xe_hwmon.c xe_hwmon_power_max_write() -> xe_hwmon_pcode_rmw_power_limit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmon | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hwmon->hwmon_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | hwmon->pl2_on_boot | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmon->xe->drm.dev->power.request | 0-4 |
| PARAM_VALUE | 0 | hwmon->xe->drm.dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | hwmon->xe->drm.dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | hwmon->xe->info.has_mbx_power_limits | 1 |
| PARAM_VALUE | 1 | attr | 14,19 |
| PARAM_VALUE | 3 | clr | u16max |
| PARAM_VALUE | 4 | set | 32768-u16max |
| BUF_SIZE | 0 | hwmon | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hwmon | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &hwmon->hwmon_lock | 1 |
| CAPPED_DATA | 4 | set | 1 |
| DATA_SOURCE | 0 | hwmon | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| DATA_SOURCE | 2 | channel | $2 |
| BIT_INFO | 4 | set | 0x8000,0xffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | hwmon | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| LOCK2 | 0 | &hwmon->hwmon_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct xe_hwmon)->hwmon_lock |