STRUCT IOMMU_FAULT_PARAM(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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 for kfree_rcu.
  • dev β€” the device that owns this param.
  • queue β€” IOPF queue.
  • queue_list β€” index into queue->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:


Signed, sealed, and slayed from ./include/linux, October 2026, on the struct iommu_fault_param(9) page β€” mwah! πŸ’–

πŸ“¦ where this page comes from