Documented in 1 files:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/gpu/drm/i915/gvt/execlist.c
- drivers/gpu/drm/i915/gvt/gtt.c, line 277
- drivers/gpu/drm/i915/gvt/mmio.c, line 226
- drivers/gpu/drm/i915/gvt/opregion.c
- drivers/gpu/drm/i915/gvt/scheduler.c
Smatch caller information:
drivers/gpu/drm/i915/gvt/execlist.c emulate_csb_update() -> intel_gvt_write_gpa()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vgpu | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->gtt.ggtt_mm | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->gtt.ggtt_mm->vgpu | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->gtt.ggtt_mm->vgpu->gvt | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->hws_pga | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->mmio.vreg | 4096-ptr_max |
| PARAM_VALUE | 2 | buf | 4663680138099859456,8365012851482669056 |
| PARAM_VALUE | 3 | len | 8 |
| DATA_SOURCE | 2 | buf | $1 |
| NOCHECK_CALL | |||
| LOCK2 | &vgpu->vgpu_lock | ||
| HALF_LOCKED2 | &gvt->sched_lock | ||
| TYPE_LOCK | (struct intel_vgpu)->vgpu_lock |
drivers/gpu/drm/i915/gvt/execlist.c emulate_csb_update() -> intel_gvt_write_gpa()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vgpu | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->gtt.ggtt_mm | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->gtt.ggtt_mm->vgpu | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->gtt.ggtt_mm->vgpu->gvt | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->hws_pga | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->mmio.vreg | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->status | 4096-ptr_max |
| PARAM_VALUE | 2 | buf | 1908334368278597632 |
| PARAM_VALUE | 2 | *buf | 0-5 |
| PARAM_VALUE | 3 | len | 4 |
| BUF_SIZE | 2 | buf | 4 |
| NOCHECK_CALL | |||
| LOCK2 | &vgpu->vgpu_lock | ||
| HALF_LOCKED2 | &gvt->sched_lock | ||
| TYPE_LOCK | (struct intel_vgpu)->vgpu_lock |
drivers/gpu/drm/i915/gvt/gtt.c gtt_set_entry64() -> intel_gvt_write_gpa()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vgpu | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->gvt | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->gvt->device_info.gtt_entry_size | 8 |
| PARAM_VALUE | 0 | vgpu->gvt->gt->i915->drm.dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | vgpu->gvt->gt->uncore->rpm->kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | vgpu->gvt->gtt.pte_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->gvt->gtt.pte_ops->get_entry | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->gvt->gtt.pte_ops->get_pfn | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->gvt->gtt.pte_ops->set_entry | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->gvt->gtt.pte_ops->set_pfn | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->gvt->gtt.pte_ops->set_present | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->gvt->gtt.pte_ops->test_present | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->gvt->scheduler.sched_ops->clean_vgpu | 655205408851292160 |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 8 |
| BUF_SIZE | 2 | buf | 8 |
| DATA_SOURCE | 0 | vgpu | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | vgpu->gvt->gt->uncore->fifo_count | 0-127,u32max |
| HOST_DATA | 1 | gpa | 0-u64max[c] |
| USER_DATA | 0 | vgpu->display.i2c_edid.current_edid_read | 0-255[c] |
| USER_DATA | 0 | vgpu->display.i2c_edid.gmbus.cycle_type | 0-7[c] |
| USER_DATA | 0 | vgpu->display.i2c_edid.gmbus.total_byte_count | 0-511[c] |
| USER_DATA | 1 | gpa | 0-u64max[c] |
| NO_OVERFLOW_SIMPLE | 0 | vgpu->gvt->device_info.gtt_entry_size | |
| HALF_LOCKED2 | &gvt->lock | ||
| HALF_LOCKED2 | &head->track_srcu | ||
| HALF_LOCKED2 | &vgpu->vgpu_lock |
drivers/gpu/drm/i915/gvt/opregion.c intel_vgpu_emulate_opregion_request() -> intel_gvt_write_gpa()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vgpu | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->cfg_space.virtual_cfg_space | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->gvt | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->gvt->gt | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->gvt->gt->i915->drm.dev->iommu->fault_param->queue->wq->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | vgpu->gvt->gt->i915->drm.dev->iommu->fault_param->queue->wq->work_color | s32min-s32max |
| PARAM_VALUE | 0 | vgpu->gvt->gt->uncore->rpm->kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | vgpu->gvt->irq.irq_map->down_irq_bitmask | 0-4294967295 |
| PARAM_VALUE | 0 | vgpu->gvt->irq.irq_map->down_irq_group | s32min-s32max |
| PARAM_VALUE | 0 | vgpu->gvt->irq.irq_map->up_irq_bit | s32min-s32max |
| PARAM_VALUE | 0 | vgpu->gvt->irq.irq_map->up_irq_group | s32min-s32max |
| PARAM_VALUE | 0 | vgpu->status | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->vfio_device.group->container->iommu_data->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vgpu->vfio_device.group->container->iommu_data->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vgpu->vfio_device.group->container->iommu_data->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | vgpu->vfio_device.group->container->iommu_data->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vgpu->vfio_device.group->container->iommu_data->vaddr_invalid_count | 0 |
| PARAM_VALUE | 0 | vgpu->vfio_device.iommufd_access->ioas->iopt.iova_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vgpu->vfio_device.iommufd_access->ioas->iopt.iova_rwsem.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | vgpu->vfio_device.iommufd_access->ioas->iopt.iova_rwsem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | vgpu->vfio_device.iommufd_access->ioas->iopt.iova_rwsem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | vgpu->vfio_device.iommufd_access->ioas->iopt.iova_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | vgpu->vfio_device.iommufd_access->ioas_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vgpu->vfio_device.iommufd_access->ioas_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vgpu->vfio_device.iommufd_access->ioas_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | vgpu->vfio_device.iommufd_access->ioas_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | vgpu->vfio_device.iommufd_access->ioas_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | vgpu->vfio_device.iommufd_access->ioas_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | vgpu->vfio_device.iommufd_access->ioas_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vgpu->vfio_device.kvm->vm_bugged | 0-1 |
| PARAM_VALUE | 0 | vgpu->vfio_device.kvm->vm_dead | 0-1 |
| PARAM_VALUE | 0 | vgpu->vfio_device.open_count | 1-u32max |
| PARAM_VALUE | 0 | *vgpu->hws_pga | 0-4294967295 |
| PARAM_VALUE | 1 | gpa | 0-u32max |
| PARAM_VALUE | 2 | buf | 8152442127459631104 |
| PARAM_VALUE | 3 | len | 4 |
| BUF_SIZE | 2 | buf | 4 |
| CAPPED_DATA | 1 | gpa | 1 |
| CAPPED_DATA | 1 | gpa | 1 |
| DATA_SOURCE | 0 | vgpu | $0 |
| HOST_DATA | 0 | vgpu->gvt->gt->uncore->fifo_count | 0-127,u32max |
| UNITS | 1 | gpa | unit_byte |
| UNITS | 3 | len | unit_byte |
drivers/gpu/drm/i915/gvt/opregion.c intel_vgpu_emulate_opregion_request() -> intel_gvt_write_gpa()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vgpu | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->cfg_space.virtual_cfg_space | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->gvt | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->gvt->gt | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->gvt->gt->i915->drm.dev->iommu->fault_param->queue->wq->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | vgpu->gvt->gt->i915->drm.dev->iommu->fault_param->queue->wq->work_color | s32min-s32max |
| PARAM_VALUE | 0 | vgpu->gvt->gt->uncore->rpm->kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | vgpu->gvt->irq.irq_map->down_irq_bitmask | 0-4294967295 |
| PARAM_VALUE | 0 | vgpu->gvt->irq.irq_map->down_irq_group | s32min-s32max |
| PARAM_VALUE | 0 | vgpu->gvt->irq.irq_map->up_irq_bit | s32min-s32max |
| PARAM_VALUE | 0 | vgpu->gvt->irq.irq_map->up_irq_group | s32min-s32max |
| PARAM_VALUE | 0 | vgpu->status | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->vfio_device.group->container->iommu_data->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vgpu->vfio_device.group->container->iommu_data->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vgpu->vfio_device.group->container->iommu_data->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | vgpu->vfio_device.group->container->iommu_data->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vgpu->vfio_device.group->container->iommu_data->vaddr_invalid_count | 0 |
| PARAM_VALUE | 0 | vgpu->vfio_device.iommufd_access->ioas->iopt.iova_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vgpu->vfio_device.iommufd_access->ioas->iopt.iova_rwsem.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | vgpu->vfio_device.iommufd_access->ioas->iopt.iova_rwsem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | vgpu->vfio_device.iommufd_access->ioas->iopt.iova_rwsem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | vgpu->vfio_device.iommufd_access->ioas->iopt.iova_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | vgpu->vfio_device.iommufd_access->ioas_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vgpu->vfio_device.iommufd_access->ioas_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vgpu->vfio_device.iommufd_access->ioas_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | vgpu->vfio_device.iommufd_access->ioas_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | vgpu->vfio_device.iommufd_access->ioas_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | vgpu->vfio_device.iommufd_access->ioas_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | vgpu->vfio_device.iommufd_access->ioas_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vgpu->vfio_device.kvm->vm_bugged | 0-1 |
| PARAM_VALUE | 0 | vgpu->vfio_device.kvm->vm_dead | 0-1 |
| PARAM_VALUE | 0 | vgpu->vfio_device.open_count | 1-u32max |
| PARAM_VALUE | 0 | *vgpu->hws_pga | 0-4294967295 |
| PARAM_VALUE | 1 | gpa | 0-u32max |
| PARAM_VALUE | 2 | buf | 8020083466828247040 |
| PARAM_VALUE | 2 | *buf | 0 |
| PARAM_VALUE | 3 | len | 4 |
| BUF_SIZE | 2 | buf | 4 |
| CAPPED_DATA | 1 | gpa | 1 |
| CAPPED_DATA | 1 | gpa | 1 |
| DATA_SOURCE | 0 | vgpu | $0 |
| HOST_DATA | 0 | vgpu->gvt->gt->uncore->fifo_count | 0-127,u32max |
| UNITS | 1 | gpa | unit_byte |
| UNITS | 3 | len | unit_byte |
drivers/gpu/drm/i915/gvt/mmio.c intel_vgpu_emulate_mmio_write() -> intel_gvt_write_gpa()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vgpu | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->failsafe | 0 |
| PARAM_VALUE | 0 | vgpu->gvt | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->gvt->gt | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->gvt->gt->ggtt | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->gvt->gt->i915->drm.dev->iommu->fault_param->queue->wq->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | vgpu->gvt->gt->i915->drm.dev->iommu->fault_param->queue->wq->work_color | s32min-s32max |
| PARAM_VALUE | 0 | vgpu->gvt->gt->uncore->rpm->kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | vgpu->gvt->irq.irq_map->down_irq_bitmask | 0-4294967295 |
| PARAM_VALUE | 0 | vgpu->gvt->irq.irq_map->down_irq_group | s32min-s32max |
| PARAM_VALUE | 0 | vgpu->gvt->irq.irq_map->up_irq_bit | s32min-s32max |
| PARAM_VALUE | 0 | vgpu->gvt->irq.irq_map->up_irq_group | s32min-s32max |
| PARAM_VALUE | 0 | vgpu->vfio_device.kvm->vm_bugged | 0-1 |
| PARAM_VALUE | 0 | vgpu->vfio_device.kvm->vm_dead | 0-1 |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | *vgpu->hws_pga | 0-4294967295 |
| PARAM_VALUE | 2 | buf | 3409945690100224000,7385378861487415296 |
| PARAM_VALUE | 3 | len | 1-2,4,8 |
| BUF_SIZE | 2 | buf | (-1),2,4,8 |
| BUF_SIZE | 2 | buf | (-1),2,4,8 |
| CAPPED_DATA | 0 | &vgpu->vgpu_lock | 1 |
| DATA_SOURCE | 0 | vgpu | $0 |
| DATA_SOURCE | 1 | gpa | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | len | $3 |
| HOST_DATA | 0 | vgpu->gvt->gt->uncore->fifo_count | 0-127,u32max |
| UNITS | 3 | len | unit_byte |
| USER_PTR | 2 | buf | |
| LOCK2 | 0 | &vgpu->vgpu_lock | |
| TYPE_LOCK | (struct intel_vgpu)->vgpu_lock |
drivers/gpu/drm/i915/gvt/scheduler.c update_guest_context() -> intel_gvt_write_gpa()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vgpu | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->gtt.ggtt_mm | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->gtt.ggtt_mm->vgpu | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->gtt.ggtt_mm->vgpu->gvt | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->mmio.vreg | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 3 | len | 4096-u64max |
| NOCHECK_CALL | |||
| USER_DATA | 2 | *buf | s64min-s64max |
| LOCK2 | &gvt->sched_lock | ||
| LOCK2 | &vgpu->vgpu_lock | ||
| TYPE_LOCK | (struct intel_gvt)->sched_lock | ||
| TYPE_LOCK | (struct intel_vgpu)->vgpu_lock |
drivers/gpu/drm/i915/gvt/scheduler.c update_guest_context() -> intel_gvt_write_gpa()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vgpu | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->mmio.vreg | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 4 |
| BUF_SIZE | 2 | buf | 8 |
| NOCHECK_CALL | |||
| UNITS | 1 | gpa | unit_byte |
| LOCK2 | &gvt->sched_lock | ||
| LOCK2 | &vgpu->vgpu_lock | ||
| TYPE_LOCK | (struct intel_gvt)->sched_lock | ||
| TYPE_LOCK | (struct intel_vgpu)->vgpu_lock |
drivers/gpu/drm/i915/gvt/scheduler.c update_guest_context() -> intel_gvt_write_gpa()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vgpu | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->mmio.vreg | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->status | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 4 |
| BUF_SIZE | 2 | buf | 4 |
| NOCHECK_CALL | |||
| UNITS | 1 | gpa | unit_byte |
| LOCK2 | &gvt->sched_lock | ||
| LOCK2 | &vgpu->vgpu_lock | ||
| TYPE_LOCK | (struct intel_gvt)->sched_lock | ||
| TYPE_LOCK | (struct intel_vgpu)->vgpu_lock |
drivers/gpu/drm/i915/gvt/scheduler.c update_guest_context() -> intel_gvt_write_gpa()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vgpu | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->mmio.vreg | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->status | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 4 |
| BUF_SIZE | 2 | buf | 4 |
| NOCHECK_CALL | |||
| UNITS | 1 | gpa | unit_byte |
| LOCK2 | &gvt->sched_lock | ||
| LOCK2 | &vgpu->vgpu_lock | ||
| TYPE_LOCK | (struct intel_gvt)->sched_lock | ||
| TYPE_LOCK | (struct intel_vgpu)->vgpu_lock |
drivers/gpu/drm/i915/gvt/scheduler.c update_guest_context() -> intel_gvt_write_gpa()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vgpu | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->mmio.vreg | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->status | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 3888 |
| NOCHECK_CALL | |||
| UNITS | 1 | gpa | unit_byte |
| UNITS | 2 | buf | unit_byte |
| UNITS | 3 | len | unit_byte |
| LOCK2 | &gvt->sched_lock | ||
| LOCK2 | &vgpu->vgpu_lock | ||
| TYPE_LOCK | (struct intel_gvt)->sched_lock | ||
| TYPE_LOCK | (struct intel_vgpu)->vgpu_lock |
drivers/gpu/drm/i915/gvt/scheduler.c update_guest_pdps() -> intel_gvt_write_gpa()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vgpu | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->mmio.vreg | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->status | 4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | vgpu->vgpu_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 4 |
| DATA_SOURCE | 0 | vgpu | $0 |
| NOCHECK_CALL | |||
| UNITS | 1 | gpa | unit_byte |
| LOCK2 | &gvt->sched_lock | ||
| LOCK2 | &vgpu->vgpu_lock | ||
| TYPE_LOCK | (struct intel_gvt)->sched_lock | ||
| TYPE_LOCK | (struct intel_vgpu)->vgpu_lock |