STRUCT MSM_IOMMU_DEV(9)

📦 version 7.3.1, in nixpkgs unstable

NAME 💖

okay so bestie, this is the struct msm_iommu_dev(9) page from the Kernel API Manual — and it’s about a single IOMMU hardware instance. No cap. 💅

The NAME section spills the member tea all in one breath:

  • ncb — Number of context banks present on this IOMMU HW instance
  • dev — IOMMU device
  • irq — Interrupt number
  • clk — The bus clock for this IOMMU hardware instance
  • pclk — The clock for the IOMMU bus interconnect
  • dev_node — list head in qcom_iommu_device_list
  • dom_node — list head for domain
  • ctx_list — list of struct msm_iommu_ctx_dev
  • context_map — Bitmap to track allocated context banks

Also base and iommu are in the struct below — the original NAME text doesn’t give them their own prose blurb, so I’m not making one up. 🫶

SYNOPSIS ✨

Here’s the actual struct, copied exactly, because we do not play with code:

struct msm_iommu_dev {
    void __iomem *base;
    int ncb;
    struct device *dev;
    int irq;
    struct clk *clk;
    struct clk *pclk;
    struct list_head dev_node;
    struct list_head dom_node;
    struct list_head ctx_list;
    unsigned long context_map[BITS_TO_LONGS( IOMMU_MAX_CBS)];
    struct iommu_device iommu;
 };

Members 🎀

The original page has this heading and then… nothing under it. So this section is literally just the heading, bestie. Not me skipping it — that’s the whole vibe. 😭

SEE ALSO 🦋

  • Kernel file ./drivers/iommu/msm_iommu.h
  • struct msm_iommu_ctx_dev(9)

xoxo, your Unix bestie 💖 — that was struct msm_iommu_dev(9) from the Kernel API Manual, source ./drivers/iommu, dated October 2026. Slay. ✨

📦 where this page comes from