iommu_devic...fault_domain(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

iommu_device_unuse_default_domain β€” bestie, this is how a device driver stops doing DMA through the kernel DMA API. Like, it's handing in its little hall pass and walking away from the default domain. No cap.


✨ SYNOPSIS ✨

void iommu_device_unuse_default_domain (struct device *dev );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the device. That's it, that's the whole argument. The device in question. The main character, if you will. 🫢

🌸 DESCRIPTION 🌸

Okay so picture this: the device driver is done. It no longer wants to do DMA through the kernel DMA API anymore. It's over, it's not me, it's you, etc. πŸ’”

So you call this function and it's like officially breaking up with the default domain handling. The way that it makes it tidy is iconic.

🚨 real talk though: this must be called after iommu_device_use_default_domain. Like, you have to actually use the thing before you can un-use it. Order matters, bestie. Don't come in here trying to un-use something you never used, that's not the vibe and it's not gonna slay.

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/iommu/iommu.c β€” and honestly the whole friend group is here, say hi to everybody:


and that's the whole page, bestie ✨ it lives in ./drivers/iommu and the version you're looking at is dated October 2026 β€” genuinely obsessed, see u in the next manpage πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from