iommu_sva_unbind_device(9)
β¨ NAME β¨
okay so bestie, welcome to the iommu_sva_unbind_device(9) page in the Kernel API Manual π. This function does exactly one iconic thing: it removes a bond created with iommu_sva_bind_device. That's the whole vibe. Slay.
π¦ SYNOPSIS π¦
void iommu_sva_unbind_device (struct iommu_sva *handle );
No cap, that's the exact signature β void, one argument, and the spacing is staying exactly as it is π
.
π ARGUMENTS π
handleβ the handle returned byiommu_sva_bind_device. That's it, that's the argument. Keep it safe, bestie π«Ά.
πΈ DESCRIPTION πΈ
Put reference to a bond between device and address space. Yes, literally βPut referenceβ β we are not changing the facts around here, bestie.
The device should not be issuing any more transaction for this PASID. Read that again: not any more transactions for this PASID. The vibes must be fully settled before you call this.
All outstanding page requests for this PASID must have been flushed to the IOMMU. Like, all of them. No stragglers, no little page-request goblins hiding in the queue π. Flush first, then unbind. Periodt.
π₯ SEE ALSO π₯
- Kernel file
./drivers/iommu/iommu-sva.c iommu_sva_bind_device(9)
mwah π this page is brought to you by the ./drivers/iommu source/version, dated October 2026 β and yes, it's the iommu_sva_unbind_device(9) manual page, living its best life at the very end ππ.
π¦ 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