drivers/iommu/exynos-iommu.c
Source file repositories/reference/linux-study-clean/drivers/iommu/exynos-iommu.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/iommu/exynos-iommu.c- Extension
.c- Size
- 42819 bytes
- Lines
- 1532
- Domain
- Driver Families
- Bucket
- drivers/iommu
- Inferred role
- Driver Families: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- Allocates kernel memory; connect allocation flags and lifetime to context constraints.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/clk.hlinux/dma-mapping.hlinux/err.hlinux/io.hlinux/iommu.hlinux/interrupt.hlinux/kmemleak.hlinux/list.hlinux/of.hlinux/of_platform.hlinux/platform_device.hlinux/pm_runtime.hlinux/slab.hdma-iommu.hiommu-pages.h
Detected Declarations
struct sysmmu_faultstruct sysmmu_v1_fault_infostruct exynos_iommu_ownerstruct exynos_iommu_domainstruct sysmmu_drvdatastruct sysmmu_variantstruct sysmmu_drvdatafunction lv1ent_offsetfunction lv2ent_offsetfunction exynos_sysmmu_v1_get_fault_infofunction exynos_sysmmu_v5_get_fault_infofunction exynos_sysmmu_v7_get_fault_infofunction sysmmu_unblockfunction sysmmu_blockfunction __sysmmu_tlb_invalidatefunction __sysmmu_tlb_invalidate_entryfunction __sysmmu_set_ptbasefunction __sysmmu_enable_clocksfunction __sysmmu_disable_clocksfunction __sysmmu_has_capa1function __sysmmu_get_vcrfunction __sysmmu_get_versionfunction show_fault_informationfunction exynos_sysmmu_irqfunction __sysmmu_disablefunction __sysmmu_init_configfunction __sysmmu_enable_vidfunction __sysmmu_enablefunction sysmmu_tlb_invalidate_flpdcachefunction sysmmu_tlb_invalidate_entryfunction exynos_sysmmu_probefunction exynos_sysmmu_suspendfunction exynos_sysmmu_resumefunction exynos_iommu_set_ptefunction exynos_iommu_domain_freefunction list_for_each_entry_safefunction exynos_iommu_identity_attachfunction list_for_each_entryfunction exynos_iommu_attach_devicefunction list_for_each_entryfunction lv1set_sectionfunction lv2set_pagefunction exynos_iommu_mapfunction exynos_iommu_tlb_invalidate_entryfunction exynos_iommu_unmapfunction exynos_iommu_iova_to_physfunction list_for_each_entryfunction exynos_iommu_release_device
Annotated Snippet
core_initcall(exynos_iommu_init);
Annotation
- Immediate include surface: `linux/clk.h`, `linux/dma-mapping.h`, `linux/err.h`, `linux/io.h`, `linux/iommu.h`, `linux/interrupt.h`, `linux/kmemleak.h`, `linux/list.h`.
- Detected declarations: `struct sysmmu_fault`, `struct sysmmu_v1_fault_info`, `struct exynos_iommu_owner`, `struct exynos_iommu_domain`, `struct sysmmu_drvdata`, `struct sysmmu_variant`, `struct sysmmu_drvdata`, `function lv1ent_offset`, `function lv2ent_offset`, `function exynos_sysmmu_v1_get_fault_info`.
- Atlas domain: Driver Families / drivers/iommu.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
- IRQ or DMA behavior appears here, which is relevant to the selected PCIe/NVMe device path.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.