STRUCT IOMMU_HWPT_SELFTEST(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct iommu_hwpt_selftest(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’– this one's a lil struct in the kernel API docs β€” yes the (9) means it's a kernel-API page, not a command you type in your shell, so don't go trying to run it, mwah πŸ’…


πŸŽ€ NAME πŸŽ€

struct iommu_hwpt_selftest β€” literally the name and that's it, the original leaves the description blank so I'm not gonna make one up for you, iykyk 🫢


🌸 SYNOPSIS 🌸

here's the whole thing, character for character, no cap:

struct iommu_hwpt_selftest {
    __u32 iotlb;
    __u32 pagetable_type;
 };

two __u32 fields, that's the entire struct, it's giving minimal queen πŸ‘‘


πŸ¦‹ Members πŸ¦‹

  • iotlb β€” the default mock iotlb value, and it's set to IOMMU_TEST_IOTLB_DEFAULT. that's the whole description, slay πŸ’œ
ngl, pagetable_type is sitting right there in the synopsis with zero explanation in the original β€” so I'm not inventing lore for it. it exists, that's what we know, periodt πŸ™ˆ

🧚 SEE ALSO 🧚

  • Kernel file ./drivers/iommu/iommufd/iommufd_test.h β€” go read the source bestie, it's right there πŸ’–
  • struct iommu_hwpt_invalidate_selftest(9)
  • struct iommu_viommu_selftest(9)
  • struct iommu_viommu_invalidate_selftest(9)

the whole selftest friend group fr fr, go say hi to all of them 🌈


and that's the page!! no options, no exit statuses, no signals, just a tidy lil struct minding its business ⭐

this came from the kernel source dir ./drivers/iommu/iommufd, dated October 2026 β€” so like, future vibes πŸ‘‘ that's the sign-off, love u, bye!! πŸŽ€πŸ’–βœ¨
πŸ“¦ where this page comes from