iommu_device...se_dma_owner(9)
π iommu_device_release_dma_owner β the Kernel API Manual, bestie edition π
okay so welcome to the Kernel API Manual, and today's main character is iommu_device_release_dma_owner(9) β the "okay i'm done, you can have it back" of the IOMMU world π
β¨ NAME β¨
iommu_device_release_dma_owner β Release DMA ownership of a device π«Ά
Like, giving the keys back. Politely. Because you're a good citizen.
β¨ SYNOPSIS β¨
void iommu_device_release_dma_owner (struct device *dev );
yes it's void, it returns nothing, it just does the thing and leaves β¨
β¨ ARGUMENTS β¨
devβ The device. that's it, that's the whole argument. the device whose DMA ownership you are about to hand back π
β¨ DESCRIPTION β¨
So here's the vibe: this releases the DMA ownership that was claimed by iommu_device_claim_dma_owner. That's it. That's the whole function. You claimed it, now you're releasing it β the circle of life, no cap π
Think of it as the matching pair, iykyk. Don't leave it un-released, that's giving leaks π
β¨ SEE ALSO β¨
Kernel file ./drivers/iommu/iommu.c β and honestly the whole IOMMU friend group showed up, so let's do the roll call π
iommu_device_register(9)iommu_insert_resv_region(9)iommu_group_alloc(9)iommu_group_get_iommudata(9)iommu_group_set_iommudata(9)iommu_group_set_name(9)iommu_group_add_device(9)iommu_group_remove_device(9)iommu_group_mutex_assert(9)iommu_group_for_each_dev(9)iommu_group_get(9)iommu_group_ref_get(9)iommu_group_put(9)iommu_group_id(9)device_iommu_capable(9)iommu_group_has_isolated_msi(9)iommu_set_fault_handler(9)iommu_paging_domain_alloc_flags(9)iommu_attach_device(9)iommu_get_domain_for_dev(9)iommu_driver_get_domain_for_dev(9)iommu_attach_group(9)iommu_unmap(9)iommu_unmap_fast(9)report_iommu_fault(9)iommu_get_resv_regions(9)iommu_put_resv_regions(9)iommu_setup_default_domain(9)iommu_device_use_default_domain(9)iommu_device_unuse_default_domain(9)iommu_group_claim_dma_owner(9)iommu_device_claim_dma_owner(9)iommu_group_release_dma_owner(9)iommu_group_dma_owner_claimed(9)iommu_replace_device_pasid(9)iommu_attach_handle_get(9)iommu_attach_group_handle(9)iommu_detach_group_handle(9)iommu_replace_group_handle(9)pci_dev_reset_iommu_prepare(9)pci_dev_reset_iommu_done(9)iommu_dma_prepare_msi(9)
like, the entire extended family π every single one of them, we love a full roster π
source: ./drivers/iommu β dated October 2026, page iommu_device...se_dma_owner(9) π¦
mwah, go release your DMA ownership responsibly bestie, ily, bye! πβ¨
π¦ 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