STRUCT TEGRA241_VINTF(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct tegra241_vintf(9) β€” Kernel API Manual

okay so bestie, welcome to the Virtual Interface page πŸ’– this is struct tegra241_vintf from the Kernel API Manual and it's honestly kind of the main character of the CMDQV situation. let's get into it ✨


✨ SYNOPSIS ✨

here's the whole vibe, copied exactly, no cap:

struct tegra241_vintf {
    struct arm_vsmmu vsmmu;
    u16 idx;
    bool enabled;
    bool hyp_own;
    struct tegra241_cmdqv *cmdqv;
    struct tegra241_vcmdq **lvcmdqs;
    struct mutex lvcmdq_mutex;
    void __iomem *base;
    unsigned long mmap_offset;
    struct ida sids;
 };

like, she's got range πŸŽ€ and yes the trailing }; is indented like that in the original, we don't judge, we respect 🫢


πŸ¦‹ Members πŸ¦‹

let's do a member-by-member vibe check, one bullet each, nobody gets left behind πŸ’œ

  • vsmmu β€” the embedded arm_vsmmu structure. she's living inside, it's giving nested-struct realness 😭
  • idx β€” global index in the CMDQV. literally just her number in the group chat πŸ”₯
  • enabled β€” enable status. is she on or is she off, that's the whole question πŸ‘‘
  • hyp_own β€” owned by hypervisor (in-kernel). so like, the hypervisor is her parent, in-kernel specifically, iykyk 🧚
  • cmdqv β€” parent CMDQV pointer. every icon has a parent πŸ’…
  • lvcmdqs β€” list of logical VCMDQ pointers. a whole list of them, ** and everything, obsessed ⭐
  • lvcmdq_mutex β€” lock to serialize user-allocated lvcmdqs. safety first bestie, no chaotic concurrent energy allowed 🌸
  • base β€” MMIO base address. that's the void __iomem * one, respect the __iomem πŸ™ˆ
  • mmap_offset β€” offset argument for the mmap syscall. yes, that mmap syscall, the actual one πŸ’€
  • sids β€” stream ID mapping resources. a struct ida full of stream IDs, slay πŸ“

πŸ”₯ SEE ALSO πŸ”₯

go read these next, fr fr, the lore is deep:

  • Kernel file ./drivers/iommu/arm/arm-smmu-v3/tegra241-cmdqv.c
  • struct tegra241_vcmdq(9)
  • struct tegra241_vintf_sid(9)
  • struct tegra241_cmdqv(9)

ngl that whole SEE ALSO list is a little reading rainbow situation 🌈 but you got this bestie, one struct at a time πŸ’–

okay that's the whole page, mwah πŸŽ€ this came from ./drivers/iommu/arm/arm-smmu-v3 and it's dated October 2026, and yes the footer also says struct tegra241_vintf(9) again because the manpage said it twice and we keep every detail, periodt βœ¨πŸ’…

πŸ“¦ where this page comes from