iommu_device_register(9)
π NAME π
okay so welcome to iommu_device_register(9) from the Kernel API Manual, bestie π«Ά. This page is literally about registering an IOMMU hardware instance, and we're gonna make it make sense.
iommu_device_register β register an IOMMU hardware instance. Slay π
.
π SYNOPSIS π
here's the exact signature, copy it character for character because she is iconic:
int iommu_device_register (struct iommu_device *iommu , const struct
iommu_ops *ops , struct device *hwdev );
π ARGUMENTS π
iommuβ IOMMU handle for the instance. This is the main-character handle, no cap.opsβ IOMMU ops to associate with the instance. The operation bestie that comes along for the ride.hwdevβ (optional) actual instance device, used for fwnode lookup. Optional, so don't stress if it's not there π.
β¨ RETURN β¨
It returns 0 on success, or an error. That's the whole vibe check: 0 means slay, anything else means something went sideways π.
π¦ SEE ALSO π¦
Kernel file ./drivers/iommu/iommu.c is right here, and these are the cross-reference besties:
- Kernel file
./drivers/iommu/iommu.c 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_device_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)
mwah π this cutie page comes from ./drivers/iommu and is dated October 2026 β bye bestie, go register that IOMMU π«Άβ¨.
π¦ 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