STRUCT IOMMU_FAULT_PARAM(9)
πΈ NAME πΈ
struct iommu_fault_param(9) β straight from the Kernel API Manual, bestie β and it is literally the per-device IOMMU fault data struct. Thatβs the whole vibe: per-device IOMMU fault data, no cap. π
β¨ SYNOPSIS β¨
Hereβs the full fit, exactly as itβs giving:
struct iommu_fault_param {
struct mutex lock;
refcount_t users;
struct rcu_head rcu;
struct device *dev;
struct iopf_queue *queue;
struct list_head queue_list;
struct list_head partial;
struct list_head faults;
};
π«Ά Members π«Ά
Okay so every single member is doing main-character work, and we are not skipping any:
lockβ protects the pending faults list, periodt.usersβ user counter to manage the lifetime of the data.rcuβ rcu head forkfree_rcu.devβ the device that owns this param.queueβ IOPF queue.queue_listβ index intoqueue->devices.partialβ faults that are part of a Page Request Group for which the last request hasnβt been submitted yet.faultsβ holds the pending faults which need response.
π SEE ALSO π
Kernel file ./include/linux/iommu.h β and the whole linked-list bestie squad is right here:
struct iommu_fault_page_request(9)struct iommu_fault(9)enum iommu_page_response_code(9)struct iommu_page_response(9)struct iopf_queue(9)struct iommu_resv_region(9)struct iommu_iotlb_gather(9)struct iommu_dirty_bitmap(9)struct iommu_dirty_ops(9)struct iommu_user_data(9)struct iommu_user_data_array(9)__iommu_copy_struct_from_user(9)iommu_copy_struct_from_user(9)__iommu_copy_struct_from_user_array(9)iommu_copy_struct_from_user_array(9)iommu_copy_struct_from_full_user_array(9)__iommu_copy_struct_to_user(9)iommu_copy_struct_to_user(9)struct iommu_ops(9)struct iommu_domain_ops(9)struct iommu_device(9)struct dev_iommu(9)iommu_iotlb_gather_is_disjoint(9)iommu_iotlb_gather_add_range(9)iommu_iotlb_gather_add_page(9)struct iommu_fwspec(9)struct iommu_sva(9)iommu_map_sgtable(9)
Signed, sealed, and slayed from ./include/linux, October 2026, on the struct iommu_fault_param(9) page β mwah! π
π¦ 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