STRUCT IOMMU_VIOMMU_INVALIDATE_SELFTEST(9)
πΈ NAME
struct iommu_viommu_invalidate_selftest β the invalidation data for the Mock VIOMMU, a.k.a. IOMMU_VIOMMU_INVALIDATE_DATA_SELFTEST π
and yes bestie that whole long name is the vibe, we're not shortening it
β¨ SYNOPSIS
okay so here's the struct, look at her π
struct iommu_viommu_invalidate_selftest {
#define IOMMU_TEST_INVALIDATE_FLAG_ALL (1 << 0);
__u32 flags;
__u32 vdev_id;
__u32 cache_id;
};
π Members
flagsβ the invalidate flags π© like what kind of invalidation we're doing herecache_idβ the invalidate cache entry index π’ the lil number of the entry you're targeting
also vdev_id is right there in the struct, sitting between them, being mysterious π«Ά not gonna make up a backstory for it, it's just in there, read the struct
π DESCRIPTION
so listen β if IOMMU_TEST_INVALIDATE_ALL is set in flags, then cache_id will be ignored π literally not even looked at. setting it is giving "talking but nobody's listening" energy. periodt.
π¦ SEE ALSO
- Kernel file
./drivers/iommu/iommufd/iommufd_test.h struct iommu_hwpt_selftest(9)struct iommu_hwpt_invalidate_selftest(9)struct iommu_viommu_selftest(9)
go read them, they're iconic too, iykyk π
alright bestie that's the whole page, ily, go touch grass but like after you check the source π± the source is ./drivers/iommu/iommufd, this dropped in October 2026, and it's part of the Kernel API Manual β mwah, mwah, and one more mwah for luck π§π
π¦ 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