iommu_put_msi_cookie(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the Kernel API Manual ✨ this one's short and sweet and it's literally about cleaning up after yourself, which is so main character of you.


🌸 NAME 🌸

iommu_put_msi_cookie β€” release a domain's MSI mapping resources πŸŽ€

like, you grabbed the cookie earlier, now put it back. that's it. that's the vibe check. πŸ’…


✨ SYNOPSIS ✨

void iommu_put_msi_cookie (struct iommu_domain *domain );

no return value, ngl β€” it's a void function, it just does the thing and leaves. iconique. πŸ¦‹


🫢 ARGUMENTS 🫢

  • domain β€” the IOMMU domain that you previously prepped with iommu_get_msi_cookie. yes, the same one. the one you already had. don't come in here with a random domain, bestie, that's not the assignment 😭

πŸ”₯ SEE ALSO πŸ”₯

the whole friend group, fr fr β€” this all lives in the kernel file ./drivers/iommu/dma-iommu.c:

go read them, iykyk πŸ‘‘


ngl the get/put symmetry here is giving "you made the mess, you clean it up" and honestly? we respect it. pair this with iommu_get_msi_cookie or it's lowkey just you releasing something you never grabbed πŸ™ˆ

and that's the whole page, bestie, you ate that πŸ’œ this lil slice of the Kernel API Manual came from ./drivers/iommu and it's dated October 2026 β€” so go forth, release those MSI mapping resources, and slay πŸŒˆπŸ’–πŸŽ€

πŸ“¦ where this page comes from