Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/iommu/amd/init.c amd_iommu_ats_write_check_workaround() -> iommu_read_l2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | iommu->cap | 0 |
| PARAM_VALUE | 0 | iommu->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | iommu->dev->error_state | 0-2,4-u32max |
| PARAM_VALUE | 0 | iommu->dev->irq_managed | 1 |
| PARAM_VALUE | 0 | iommu->iommu.dev->dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | iommu->iommu.dev->kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | iommu->iommu.dev->parent->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | iommu->iommu.dev->parent->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | iommu->iommu.dev->parent->kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | iommu->iommu.ops->blocked_domain | 0,532766077614051328,1309262597071863808,3360818763908841472,5161617956659249152,5314750282517213184,6300359532015144960 |
| PARAM_VALUE | 0 | iommu->iommu.ops->capable | 0,462993810217750528,1218212999370723328,2068158786969784320,4814261608348082176,5273877608991895552,6378217523337945088 |
| PARAM_VALUE | 0 | iommu->iommu.ops->def_domain_type | 0,757924381194936320,3094419801163452416,5117618908541267968,5322346410050064384 |
| PARAM_VALUE | 0 | iommu->iommu.ops->default_domain | 0,5314750282517213184 |
| PARAM_VALUE | 0 | iommu->iommu.ops->device_group | 0,4096-ptr_max |
| PARAM_VALUE | 0 | iommu->iommu.ops->domain_alloc_identity | 0,1824181410664046592 |
| PARAM_VALUE | 0 | iommu->iommu.ops->domain_alloc_nested | 0,3787243451007922176,5587605712304230400 |
| PARAM_VALUE | 0 | iommu->iommu.ops->domain_alloc_paging | 0,4096-ptr_max |
| PARAM_VALUE | 0 | iommu->iommu.ops->domain_alloc_paging_flags | 0,5681659404854812672,8509805123710701568,8930407207250460672,8966249347349827584 |
| PARAM_VALUE | 0 | iommu->iommu.ops->domain_alloc_sva | 0,701458021798502400,7542271727435345920 |
| PARAM_VALUE | 0 | iommu->iommu.ops->get_resv_regions | 0,4096-ptr_max |
| PARAM_VALUE | 0 | iommu->iommu.ops->get_viommu_size | 0,890856020400304128,8808264738914050048 |
| PARAM_VALUE | 0 | iommu->iommu.ops->hw_info | 0,4734748057756364800,6417568837149130752,7401392304513224704 |
| PARAM_VALUE | 0 | iommu->iommu.ops->identity_domain | 0,4096-ptr_max |
| PARAM_VALUE | 0 | iommu->iommu.ops->is_attach_deferred | 0,5818038523887214592,7788280626033360896 |
| PARAM_VALUE | 0 | iommu->iommu.ops->of_xlate | 0,4096-ptr_max |
| PARAM_VALUE | 0 | iommu->iommu.ops->owner | 0 |
| PARAM_VALUE | 0 | iommu->iommu.ops->page_response | 0,6092340583743537152,6863561957491752960,7827827559097483264 |
| PARAM_VALUE | 0 | iommu->iommu.ops->probe_device | 0,4096-ptr_max |
| PARAM_VALUE | 0 | iommu->iommu.ops->probe_finalize | 0,4224741400359067648,6516402457225019392,8434375612550443008,8539622431235026944 |
| PARAM_VALUE | 0 | iommu->iommu.ops->release_device | 0,4096-ptr_max |
| PARAM_VALUE | 0 | iommu->iommu.ops->release_domain | 0,109353748397924352,532766077614051328,3360818763908841472,5161617956659249152,8123815121812471808 |
| PARAM_VALUE | 0 | iommu->iommu.ops->viommu_init | 0,3877766920581869568,5010379558565462016 |
| PARAM_VALUE | 0 | iommu->pci_seg | 4096-ptr_max |
| PARAM_VALUE | 0 | *iommu->dev->saved_config_space | 0-4294967295 |
| PARAM_VALUE | 0 | *iommu->stored_l2 | 0-4294967295 |
| PARAM_VALUE | 1 | address | 71 |
| CAPPED_DATA | 0 | iommu->dev->bus->number | 1 |
| CAPPED_DATA | 0 | iommu->dev->devfn | 1 |
| CAPPED_DATA | 0 | iommu->pci_seg->id | 1 |
| DATA_SOURCE | 0 | iommu | $0 |
| HOST_DATA | 0 | iommu->cap | 0 |
| HOST_DATA | 0 | iommu->max_banks | 0-63[c] |
| HOST_DATA | 0 | iommu->max_counters | 0-15[c] |
| HOST_DATA | 0 | iommu->stored_addr_hi | 0 |
| HOST_DATA | 0 | iommu->stored_addr_lo | 0[c] |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/iommu/amd/init.c iommu_init_pci() -> iommu_read_l2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | iommu->cap | 0 |
| PARAM_VALUE | 0 | iommu->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | iommu->dev->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | iommu->dev->device | 23075 |
| PARAM_VALUE | 0 | iommu->dev->error_state | 0-2,4-u32max |
| PARAM_VALUE | 0 | iommu->dev->irq_managed | 1 |
| PARAM_VALUE | 0 | iommu->dev->vendor | 4098 |
| PARAM_VALUE | 0 | iommu->iommu.dev->kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | iommu->iommu.ops->blocked_domain | 0,532766077614051328,1309262597071863808,3360818763908841472,5161617956659249152,5314750282517213184,6300359532015144960 |
| PARAM_VALUE | 0 | iommu->iommu.ops->capable | 0,462993810217750528,1218212999370723328,2068158786969784320,4814261608348082176,5273877608991895552,6378217523337945088 |
| PARAM_VALUE | 0 | iommu->iommu.ops->def_domain_type | 0,757924381194936320,3094419801163452416,5117618908541267968,5322346410050064384 |
| PARAM_VALUE | 0 | iommu->iommu.ops->default_domain | 0,5314750282517213184 |
| PARAM_VALUE | 0 | iommu->iommu.ops->device_group | 0,4096-ptr_max |
| PARAM_VALUE | 0 | iommu->iommu.ops->domain_alloc_identity | 0,1824181410664046592 |
| PARAM_VALUE | 0 | iommu->iommu.ops->domain_alloc_nested | 0,3787243451007922176,5587605712304230400 |
| PARAM_VALUE | 0 | iommu->iommu.ops->domain_alloc_paging | 0,4096-ptr_max |
| PARAM_VALUE | 0 | iommu->iommu.ops->domain_alloc_paging_flags | 0,5681659404854812672,8509805123710701568,8930407207250460672,8966249347349827584 |
| PARAM_VALUE | 0 | iommu->iommu.ops->domain_alloc_sva | 0,701458021798502400,7542271727435345920 |
| PARAM_VALUE | 0 | iommu->iommu.ops->get_resv_regions | 0,4096-ptr_max |
| PARAM_VALUE | 0 | iommu->iommu.ops->get_viommu_size | 0,890856020400304128,8808264738914050048 |
| PARAM_VALUE | 0 | iommu->iommu.ops->hw_info | 0,4734748057756364800,6417568837149130752,7401392304513224704 |
| PARAM_VALUE | 0 | iommu->iommu.ops->identity_domain | 0,4096-ptr_max |
| PARAM_VALUE | 0 | iommu->iommu.ops->is_attach_deferred | 0,5818038523887214592,7788280626033360896 |
| PARAM_VALUE | 0 | iommu->iommu.ops->of_xlate | 0,4096-ptr_max |
| PARAM_VALUE | 0 | iommu->iommu.ops->owner | 0 |
| PARAM_VALUE | 0 | iommu->iommu.ops->page_response | 0,6092340583743537152,6863561957491752960,7827827559097483264 |
| PARAM_VALUE | 0 | iommu->iommu.ops->probe_device | 0,4096-ptr_max |
| PARAM_VALUE | 0 | iommu->iommu.ops->probe_finalize | 0,4224741400359067648,6516402457225019392,8434375612550443008,8539622431235026944 |
| PARAM_VALUE | 0 | iommu->iommu.ops->release_device | 0,4096-ptr_max |
| PARAM_VALUE | 0 | iommu->iommu.ops->release_domain | 0,109353748397924352,532766077614051328,3360818763908841472,5161617956659249152,8123815121812471808 |
| PARAM_VALUE | 0 | iommu->iommu.ops->viommu_init | 0,3877766920581869568,5010379558565462016 |
| PARAM_VALUE | 0 | iommu->pci_seg | 4096-ptr_max |
| PARAM_VALUE | 0 | iommu->stored_addr_hi | 0 |
| PARAM_VALUE | 0 | iommu->stored_addr_lo | 0 |
| PARAM_VALUE | 0 | iommu->stored_l1 | 4096-ptr_max |
| PARAM_VALUE | 0 | *iommu->dev->saved_config_space | 0-4294967295 |
| PARAM_VALUE | 0 | *iommu->stored_l2 | 0-4294967295 |
| PARAM_VALUE | 1 | address | 0-130 |
| CAPPED_DATA | 0 | iommu->dev->bus->number | 1 |
| CAPPED_DATA | 0 | iommu->dev->devfn | 1 |
| CAPPED_DATA | 0 | iommu->pci_seg->id | 1 |
| DATA_SOURCE | 0 | iommu | $0 |
| HOST_DATA | 0 | iommu->cap | 0 |
| HOST_DATA | 0 | iommu->max_banks | 0-63[c] |
| HOST_DATA | 0 | iommu->max_counters | 0-15[c] |
| HOST_DATA | 0 | iommu->stored_addr_hi | 0 |
| HOST_DATA | 0 | iommu->stored_addr_lo | 0[c] |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |