omap_iommu_d...n_deactivate(9)
π¦ omap_iommu_d...n_deactivate(9) π¦
okay so this is a page straight out of the Kernel API Manual, and bestie, it's a short one but it's a good one. buckle up π
β¨ NAME β¨
omap_iommu_domain_deactivate β deactivate attached iommu devices. that's it, that's the whole vibe π
πΈ SYNOPSIS πΈ
int omap_iommu_domain_deactivate (struct iommu_domain *domain );
literally one argument, one return, no drama π₯
π ARGUMENTS π
domainβ the iommu domain attached to the target iommu device. this is the friend group you're putting to sleep π΄
π§ DESCRIPTION π§
okay so picture this: this API is what lets the client devices of IOMMU devices suspend the IOMMUs they control at runtime π«Ά and the rules are that they do it after they are idled and after they've suspended all activity. like, you can't just dip β you gotta be fully chill first, no cap.
and then the plot twist: System Suspend will leverage the PM driver late callbacks for this. π so your system-wide nap is lowkey powered by the same mechanism, iconic.
π SEE ALSO π
- the Kernel file
./drivers/iommu/omap-iommu.c(yes, the source of truth, go read it iykyk) π to_omap_domain(9)omap_iommu_save_ctx(9)omap_iommu_restore_ctx(9)load_iotlb_entry(9)flush_iotlb_page(9)flush_iotlb_all(9)omap_iopgtable_store_entry(9)iopgtable_lookup_entry(9)iopgtable_clear_entry(9)omap_iommu_attach(9)omap_iommu_detach(9)omap_iommu_domain_activate(9)omap_iommu_runtime_suspend(9)omap_iommu_runtime_resume(9)omap_iommu_prepare(9)
like, the whole friend group is linked here β activate, deactivate, suspend, resume, attach, detach, save, restoreβ¦ a full roster fr fr π
ngl the whole thing is basically "let the IOMMU take a nap, but only after everything's actually idle first." respect the order and you're golden β¨
and that's the page bestie!! this one came from ./drivers/iommu and it's dated October 2026 β mwah, sending you off with the whole squad of omap_iommu_* functions, slay ππ
π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms