Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 13 files:
- drivers/iommu/amd/iommu.c, line 888
- drivers/iommu/arm/arm-smmu/arm-smmu-qcom-debug.c
- drivers/iommu/arm/arm-smmu/arm-smmu.c, line 470
- drivers/iommu/arm/arm-smmu/qcom_iommu.c, line 203
- drivers/iommu/exynos-iommu.c, line 588
- drivers/iommu/iommu.c, line 2950
- drivers/iommu/ipmmu-vmsa.c, line 527
- drivers/iommu/mtk_iommu.c, line 522
- drivers/iommu/mtk_iommu_v1.c, line 225
- drivers/iommu/omap-iommu.c, line 820
- drivers/iommu/rockchip-iommu.c, line 636
- drivers/iommu/sun50i-iommu.c, line 875
- drivers/iommu/vsi-iommu.c, line 208
Smatch caller information:
drivers/iommu/mtk_iommu_v1.c mtk_iommu_v1_isr() -> report_iommu_fault()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | domain | 4096-ptr_max |
| PARAM_VALUE | 2 | iova | 0,4096-u32max |
| PARAM_VALUE | 3 | flags | 0 |
| BIT_INFO | 2 | iova | 0x0,0xfffff000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | iova | 0,4096-u32max[c] |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/iommu/amd/iommu.c amd_iommu_report_page_fault() -> report_iommu_fault()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | domain | 1-u64max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->iommu | 4096-ptr_max |
| PARAM_VALUE | 3 | flags | 0-1 |
| DATA_SOURCE | 2 | iova | $3 |
| FUZZY_MAX | 3 | flags | 1 |
| HARD_MAX | 3 | flags | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/iommu/arm/arm-smmu/qcom_iommu.c qcom_iommu_fault() -> report_iommu_fault()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | flags | 0 |
| DATA_SOURCE | 2 | iova | r iommu_readq |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | iova | 0-u64max |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/iommu/rockchip-iommu.c rk_iommu_irq() -> report_iommu_fault()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | domain | 0-7053605497327423487,7053605497327423489-u64max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->power.disable_depth | 0 |
| PARAM_VALUE | 1 | dev->power.runtime_status | 0 |
| PARAM_VALUE | 1 | dev->power.usage_count.counter | 0-s32max |
| PARAM_VALUE | 3 | flags | 0-1 |
| DATA_SOURCE | 2 | iova | r rk_iommu_read |
| FUZZY_MAX | 3 | flags | 1 |
| BIT_INFO | 2 | iova | 0x0,0xffffffff |
| BIT_INFO | 2 | iova | 0x0,0xffffffff |
| HARD_MAX | 3 | flags | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | domain->handler_token->base.arg->crashstate->fault_info.flags | s32min-s32max |
| HOST_DATA | 0 | domain->handler_token->base.arg->crashstate->fault_info.iova | s64min-s64max |
| HOST_DATA | 0 | domain->handler_token->base.arg->crashstate->rbbm_status | 0-4294967295 |
| HOST_DATA | 2 | iova | 0-u32max |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/iommu/mtk_iommu.c mtk_iommu_isr() -> report_iommu_fault()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | domain | 4096-ptr_max |
| PARAM_VALUE | 3 | flags | 0-1 |
| FUZZY_MAX | 3 | flags | 1 |
| HARD_MAX | 3 | flags | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | iova | 0-u64max |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/iommu/arm/arm-smmu/arm-smmu.c arm_smmu_context_fault() -> report_iommu_fault()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | domain | 4096-ptr_max |
| PARAM_VALUE | 1 | dev | 0 |
| PARAM_VALUE | 3 | flags | 0-1 |
| FUZZY_MAX | 3 | flags | 1 |
| HARD_MAX | 3 | flags | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | iova | 0-u64max |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/iommu/vsi-iommu.c vsi_iommu_irq() -> report_iommu_fault()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->power.request | 0-4 |
| PARAM_VALUE | 1 | dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 1 | dev->power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | dev->type | 0,4096-ptr_max |
| PARAM_VALUE | 2 | iova | 0-u32max |
| PARAM_VALUE | 3 | flags | s32min-(-1),1-s32max |
| DATA_SOURCE | 2 | iova | r readl |
| DATA_SOURCE | 3 | flags | r readl |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | iova | 0-u32max |
| HOST_DATA | 3 | flags | s32min-(-1),1-s32max |
| LOCK2 | &iommu->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct vsi_iommu)->lock |
drivers/iommu/omap-iommu.c iommu_fault_handler() -> report_iommu_fault()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | flags | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | iova | 0-u32max |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/iommu/sun50i-iommu.c sun50i_iommu_report_fault() -> report_iommu_fault()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | domain | 1-u64max |
| PARAM_VALUE | 1 | dev | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 3 | flags | 0-1 |
| DATA_SOURCE | 2 | iova | $2 |
| DATA_SOURCE | 3 | flags | $3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | iova | 0-u32max |
| LOCK2 | &iommu->iommu_lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct sun50i_iommu)->iommu_lock |
drivers/iommu/exynos-iommu.c exynos_sysmmu_irq() -> report_iommu_fault()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | domain | 4096-ptr_max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 3 | flags | 0-1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | iova | 0-u32max |
| HOST_DATA | 3 | flags | 0-1 |
| LOCK2 | &data->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct sysmmu_drvdata)->lock |
drivers/iommu/ipmmu-vmsa.c ipmmu_domain_irq() -> report_iommu_fault()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | domain | 4096-ptr_max |
| PARAM_VALUE | 3 | flags | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | iova | 0-u64max[c] |
| LOCK2 | &mmu->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct ipmmu_vmsa_device)->lock |